It's not a secret anymore!
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

Tool for jsp compilation

Subrata Saha

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
Christophe Verré

Joined: Nov 24, 2005
Posts: 14688

If you're using Tomcat:

[My Blog]
All roads lead to JavaRanch
Subrata Saha

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

- Mevenide plugin
- 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
I agree. Here's the link:
subject: Tool for jsp compilation
It's not a secret anymore!