[opencms-dev] Static export of JSPs

Ivan Biddles ivanb at scientology.net
Thu Jan 16 23:56:50 CET 2003


Thanks, Alex.

One other question. What if only certain pages needed the JSPs to be
fully dynamic but the majority would be fine with the static output from
the JSPs.

Could I define the "export=false" on some folders but not on others even
though they access the same JSPs? Would that work?

Best wishes,
             Ivan

-----Original Message-----
From: owner-opencms-dev at www.opencms.org
[mailto:owner-opencms-dev at www.opencms.org] On Behalf Of Alexander
Kandzior
Sent: Thursday, January 16, 2003 14:08
To: opencms-dev at www.opencms.org
Subject: RE: [opencms-dev] Static export of JSPs

Ivan,

your assumtion is correct. Answer "a)" is what is done by the static
export. If you create a JSP, it is automatically set as "export=false".
In case you use a JSP subelement (like for Navigation etc.) you can set
"export=false" at a toplevel folder, in that case nothin in that folder
will be exported. 

Best Regards,
Alex.

Alexander Kandzior
Alkacon Software - The OpenCms Experts
http://www.alkacon.com

> -----Original Message-----
> From: owner-opencms-dev at www.opencms.org 
> [mailto:owner-opencms-dev at www.opencms.org] On Behalf Of Ivan Biddles
> Sent: Wednesday, January 15, 2003 7:39 PM
> To: opencms-dev at www.opencms.org
> Subject: [opencms-dev] Static export of JSPs
> 
> 
> Hi,
> 
> I see that "Static export for JSP pages and JSP based 
> templates added" in RC1.
> 
> Just to be sure that I understand, does that mean:
> 
> a. that the JSPs are executed during the publishing process 
> and their output is exported as straight HTML files to the 
> export folder
> 
>    OR
> 
> b. that the JSPs are exported to the file system, but such 
> that they can be executed with each request that comes in 
> (and thus possibly produce different output for each request).
> 
> It appears to me that (a) is the case unless I am doing 
> something wrong.
> 
> 
> Could someone please confirm or refute my assumption?
> 
> All my pages have JSPs in the frame template that change the 
> content of various sections of the page (border, left 
> navigation bar etc.) depending upon various run-time parameters.
> 
> Does this mean that I have to mark all of my content as 
> "export=false"?
> 
> I apologize for my confusion on this.
> 
> Best wishes, 
>                Ivan
> 
> 





More information about the opencms-dev mailing list