Hi everybody,
I have a problem in compiling the jsp files as well as servlets?
I don't know y this occurs.Let me list down the software installed in my system.
I have JRE,JRE1.4.2,JRE1.4.2_08
J2SDK1.4.2_08 and J2ee1.4
I want to upgrade my software to J2EE SDK 5.
I want to know whether we need to upgrade JDK and JRE before installing J2EE SDK 5.
And How to set the PATH and CLASSPATH ,JAVA_HOME and J2EE_HOME in Environment Variables.
I have to work with EJB,JSP,JDBC,RMI and Servlets. I think J2EE SDK 5 would be fine for the above mentioned applications. If you have any suggestions. Please do suggest me.
When i compile java file with Servlet coding, I am getting "the Servlet package is not available".
I am completely new to things like installations and Path settings.
Please do guide me and help me out.
[865 byte] By [
Tinku151a] at [2007-11-27 6:04:44]

# 1
Hi... you would have better luck posting in the Servlet or JSP forums, but I will tell you what I can on the limited knowledge I have of your system.
It is quite a difficult task to simply just upgrade the JDK version of your application across the board and expect things to work properly. There are many pieces to this puzzle and each piece generally requires its own specific version of Java to run properly. Your application server (Eg. JBoss) that hosts your EJB's generally requires its own set version, and to upgrade the underlying JRE of this would most likely require upgrading the version of your app server.
Your servlet container (Eg. Tomcat) most likely requires a different version of JRE to run properly as well and your servlet container would need upgraded as well.
Even if you tinker with the classpath and the path variables then your application server will likely fail on startup.
There is no easy solution for what you are trying to do.