Precompile JSP *edited

To precompile a JSP page, access the page with a query string of ?jsp_precompile

http://hostname.com/mywebapp/mypage.jsp?jsp_precompile

The JSP page will not be executed. If the container supports precompilation, the JSP page will be compiled if necessary.

Here a JSP page that will scan the current directory (and subdirectories) to precompile all JSP found.

Read more…

Explore posts in the same categories: Programming, Java

Comment: