Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Tool for jsp compilation

 
Subrata Saha
Greenhorn
Posts: 19
  • 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
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
 
Subrata Saha
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am using JBoss integrated with Tomcat
 
graham king
Ranch Hand
Posts: 133
  • 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
  • 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