aspose file tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes upgrade tomcat jsp engine Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Reply Bookmark "upgrade tomcat jsp engine" Watch "upgrade tomcat jsp engine" New topic
Author

upgrade tomcat jsp engine

Sharmila Punde
Ranch Hand

Joined: Dec 26, 2007
Posts: 133
Dear All,
I have following type of configuration of the tomcat 5.5.28. Recently i have downloaded it.
Servlet Engine: 2.4
JSP Engine: 1.2
Application Server: Apache Tomcat/5.5.28

Now i want to upgrade only JSP engine, rest are fine with me.
How do i do that? Not getting proper info on web about how to upgrade only JSP engine.
Thanks in advance
Regards


Regards, Sharmila.
We will have a future if we save Nature!
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35247
    
    7
Tomcat 5.5 supports JSP 2.0, not 1.2. Where is this information coming from? Also see http://faq.javaranch.com/java/WhichVersionAmIRunningOn to find out this information.

(And no, it's not possible to upgrade the JSP engine independently of the rest of Tomcat.)


Android appsImageJ pluginsJava web charts
Sharmila Punde
Ranch Hand

Joined: Dec 26, 2007
Posts: 133
Thanks Dittmer,
Thanks for your help. I understood, it's not possible to upgrade the JSP engine independently of the rest of Tomcat. This question came to mind because of not having very clear concept of jsp engine and servlet engine. Also my tomcat was referring files of netbeans therefore it was showing jsp engine version as 1.2 . But i needed netbeans and tomcat both. Temporary i have removed netbeans and tomcat jsp engine is back to the 2.0 version. If i know exact location where to set classpath of the tomcat to make it refer jar files from specific path, my problem will be solved. I can see in TOMCAT_HOME/bin/catalina.sh like
CLASSPATH="$CLASSPATH""$CATALINA_HOME"/bin/bootstrap.jar

If i append new path to it as -

tomcat gives error at runtime. Can you please explain where and how to set classpath.
Thanks
Regards
manishsharma sharma
Greenhorn

Joined: Jun 17, 2005
Posts: 24

you can export classpath variable in your startup script if you are using linux environment.

Thanks
Manish
http://www.javatechtips.blogspot.com


Thanks, Manish
SCJP-100, SCMAD-91, SCWCD-89, http://javatechtips.blogspot.com/
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 35247
    
    7
Sharmila Punde wrote:CLASSPATH="$CLASSPATH""$CATALINA_HOME"/bin/bootstrap.jar "$CATALINA_HOME"/common/lib

Classpath entries are separated by colons, not by spaces.
Sharmila Punde
Ranch Hand

Joined: Dec 26, 2007
Posts: 133
Thanks Dittmer and manish,
Thanks for you kind help. Do not know exact reason, but things could not work out.
Temporary i could found some way. Will look at the thing again once i finish my current work.
Thank you very much.
Regards
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: upgrade tomcat jsp engine
 
Similar Threads
FORM auth-method problem
Tomcat Compatibility with Java
error in servlet compile
servlet/jsp updates in server
EL not working