You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cocoon.apache.org by bu...@apache.org on 2005/07/29 16:01:43 UTC

DO NOT REPLY [Bug 29360] - [PATCH] precompile xsp's without starting URI

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=29360>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=29360





------- Additional Comments From durdina@asset.sk  2005-07-29 16:01 -------
Created an attachment (id=15819)
 --> (http://issues.apache.org/bugzilla/attachment.cgi?id=15819&action=view)
patch to patch 13682 that makes method precompile() public

Contains patch to patch 13682 that makes XSPCocoonWrapper method precompile()
public. It is needed when called directly from other classes without using
main(String[] args) method.

Also contains ServletContextListener that precompiles all XSP pages in web
application on startup before single click can be made to web application. To
achieve this you only need to add this simple block to your web.xml :-)

  <listener>
   
<listener-class>org.apache.cocoon.listener.XSPPrecompileListener</listener-class>

  </listener>

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.