aspose file tools
The moose likes Servlets and the fly likes jsps into servlets automatically Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply locked New topic
Author

jsps into servlets automatically

Awais Bajwa
Ranch Hand

Joined: Jan 16, 2001
Posts: 190
Hello All,
If anyone know how to make jsps precompiled .
I mean when a servlet engine starts it automatically compiles jsps into servlet and load the eventual servlet class files .
I have got this tag from web.xml in servlet 2.3 specs but not sure how to use this.

/********************************************/
The servlet element contains the declarative data of a
servlet. If a jsp-file is specified and the load-on-startup element is
present, then the JSP should be precompiled and loaded.
Used in: web-app
-->
<!ELEMENT servlet (icon?, servlet-name, display-name?, description?, (servlet-class | jsp-file), init-param*, load-on-startup?, run-as?, security-role-ref*)>
<!--
/********************************************/
Any help would be greate for me .
Awais Bajwa
Software Engineer
i2c Inc .
www.i2cinc.com
Jim Yingst
Wanderer
Sheriff

Joined: Jan 30, 2000
Posts: 18670
Please do not put duplicate posts in different forums. People who see the post in one forum may waste their time if they do not realize it has already been asnwered elsewhere. I'm closing this one; see the copy in JSP to follow up.


"I'm not back." - Bill Harding, Twister
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: jsps into servlets automatically
 
Similar Threads
How to precompile all JSPs at once in Tomcat
jsps precompiled into servlets
Jsp precompiled into servlets
Intialization Parameters for JSPs
implict object of jsp: "config"