File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Soft Skills: The software developer's life manual this week in the Jobs Discussion forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tool for jsp compilation

 
Subrata Saha
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
If you're using Tomcat:
http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html#Web%20Application%20Compilation
 
Subrata Saha
Greenhorn
Posts: 19
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using JBoss integrated with Tomcat
 
graham king
Ranch Hand
Posts: 133
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Subrata Saha:
I am using JBoss integrated with Tomcat


same difference
 
Rusty Smythe
Ranch Hand
Posts: 93
Mac Objective C Ruby
  • 0
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic