• Post Reply Bookmark Topic Watch Topic
  • New Topic

Deploying compiled JSPs  RSS feed

 
Felix Ulrich
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'd like to deploy some JSPs as compiled classes, so that I can turn off JSP compilation on the production server. I am developing with Tomcat (3.2) and deploying on JRun 3.1.
1. Which is the compiled class corresponding to my JSP? (my guess is (XXX/tomcat/work/localhost8080%2F_index_BLAHBLAH.java)
2. How do I deploy it? Should I call the class something special? where do I put it? Any other settings?
Thanks for your help,
Felix.
 
Madhav Lakkapragada
Ranch Hand
Posts: 5040
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

what worries me is that you are developing them in Tomcat
and want to deploy the compiled classes in JRun (Did I get
you right, if not ignore the rest).
I would expect that each server has its own way of generating
the servlet code from your JSP's. When I say generating, it also
means that the file names follow a particular format and the server know that format.
So IMHO, if you are developing the servlet classes in Tomcat and
deploying them in JRun, I wouldn't expect them run.
While I haven't tried this, I am not sure if Sun specifies the
generated file name conventions in the JSP specs.
My $ 0.02....
- satya
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!