| Author |
precompile jsp
|
jonathan Greens
Ranch Hand
Joined: Apr 07, 2004
Posts: 139
|
|
During deplooyment, I wish to precompile jsp for faster performance. But some of my jsps are meant to be statically included by other jsps, so those jsps alone will cause compilation problem. Is there a way to go around this problem? thank you
|
 |
Ben Souther
Sheriff
Joined: Dec 11, 2004
Posts: 13410
|
|
Yes, The standard way of dealing with this is to give the jsp fragment files a ".jspf" extension. Since the compilers only look for files with ".jsp" extensions, the fragments will be ignored except when being merged with the parent jsp.
|
Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
|
 |
karthikeyan Chockalingam
Ranch Hand
Joined: Sep 06, 2003
Posts: 259
|
|
|
In few servers, you can set the flag to compile at startup and also specify the compilation order. Which server are you using ?
|
http://www.skillassert.com
|
 |
jonathan Greens
Ranch Hand
Joined: Apr 07, 2004
Posts: 139
|
|
|
I am using websphere v6.
|
 |
 |
|
|
subject: precompile jsp
|
|
|