OpenCMS - Static Export

View: New views
3 Messages — Rating Filter:   Alert me  

OpenCMS - Static Export

by Hegde, Asha :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

 

Dear Team,

 

I would like to know whether Jsp pages or any dynamic pages can be exported using static export option.

 

If yes then would request you to send the steps to do the same.

 

 

Thanks and regards,
Asha Hegde
Project Lead
TATA - AIG (ROS)

É 6142 3659

 

IMPORTANT NOTICE:
The information in this email (and any attachments) is confidential. If you are not the intended recipient, you must not use or disseminate the information. If you have received this email in error, please immediately notify me by "Reply" command and permanently delete the original and any copies or printouts thereof. Although this email and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by American International Group, Inc. or its subsidiaries or affiliates either jointly or severally, for any loss or damage arising in any way from its use.


_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev

Re: OpenCMS - Static Export

by Christian Steinert :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


 

Dear Team,

 

I would like to know whether Jsp pages or any dynamic pages can be exported
using static export option. 
  
Yes, the processed result of a dynamically generated page - i.e. the finished html, not the JSP source code - can be exported with static export
 

If yes then would request you to send the steps to do the same. 
  
just set the file system property "export" to "true" for your JSP. If static export is correctly configured then this resource will be exported. It might also be possible to set the "export" property to "true" for an entire folder, but I have not tried myself whether this also works or not.

I think in opencms-vfs.xml there are settings for different resource types, whether they are exported by default or not. The processing result of JSPs is not exported by default, but this can be overridden by the "export" property of individual files.



best regards
Christian
 

 

Thanks and regards,
Asha Hegde
Project Lead
TATA - AIG (ROS) 
* 6142 3659

 

IMPORTANT NOTICE: 
The information in this email (and any attachments) is confidential. If you are not the intended recipient, you must not use or disseminate the information. If you have received this email in error, please immediately notify me by "Reply" command and permanently delete the original and any copies or printouts thereof.  Although this email and any attachments are believed to be free of any virus or other defect that might affect any computer system into which it is received and opened, it is the responsibility of the recipient to ensure that it is virus free and no responsibility is accepted by American International Group, Inc. or its subsidiaries or affiliates either jointly or severally, for any loss or damage arising in any way from its use.

  

_______________________________________________ This mail is sent to you from the opencms-dev mailing list To change your list options, or to unsubscribe from the list, please visit http://lists.opencms.org/mailman/listinfo/opencms-dev



_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev

Re: OpenCMS - Static Export

by Achim Westermann :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Hi,

>> I would like to know whether Jsp pages or any dynamic pages can be exported
>> using static export option.
>>  
> Yes, the processed result of a dynamically generated page - i.e. the
> finished html, not the JSP source code - can be exported with static export

Also the <cms:export> tag may be used to have snippets (or the whole page) exported as unprocessed jsp source.

But if this is done to simply have OpenCms out of production... I experienced that the loss of the flex cache is bad for performance. And
that the appserver most often goes down (if it does) because of bad project code instead of OpenCms.

kind regards,

Achim


_______________________________________________
This mail is sent to you from the opencms-dev mailing list
To change your list options, or to unsubscribe from the list, please visit
http://lists.opencms.org/mailman/listinfo/opencms-dev