aspose file tools*
The moose likes JSP and the fly likes Tool for jsp compilation Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Tool for jsp compilation" Watch "Tool for jsp compilation" New topic
Author

Tool for jsp compilation

Subrata Saha
Greenhorn

Joined: Jun 10, 2005
Posts: 19
Hi All,
My problem is ,when i deploy my application and for the first time i click on any jsp it takes time (as we know it get converted to servlet) , I want a solution so that after deploying i will run some tool which will compile the jsp so that it dont take that much time. any idea how can i achieve this??

-- Thanks in advance
subrata
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14688
    
  16

If you're using Tomcat:
http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html#Web%20Application%20Compilation


[My Blog]
All roads lead to JavaRanch
Subrata Saha
Greenhorn

Joined: Jun 10, 2005
Posts: 19
I am using JBoss integrated with Tomcat
graham king
Ranch Hand

Joined: Dec 30, 2004
Posts: 133
Originally posted by Subrata Saha:
I am using JBoss integrated with Tomcat


same difference


write, revise, re-write, revise, again...<br />write, revise, re-write, revise, again...
Rusty Smythe
Ranch Hand

Joined: Aug 09, 2006
Posts: 93

The system I use (which saves TONS of time not having to worry about mundane stuff) is

Eclipse
- Mevenide plugin
Maven
- Eclipse plugin
- Tomcat plugin

I sete the tomcat plugin to not compile the JSPs when I'm in development mode ( for faster deploy).

When I'm ready to go live, I set the tomcat plugin to compile ALL JSPs, add their classes to the web.xml and copy the class files to WEB-INF/classes.

Tomcat plugin
 
 
subject: Tool for jsp compilation