File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Tomcat and the fly likes Tomcat Problem with JSP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Tomcat Problem with JSP" Watch "Tomcat Problem with JSP" New topic
Author

Tomcat Problem with JSP

Niyas Ahmed Sheikh
Ranch Hand

Joined: Jun 15, 2005
Posts: 129
Hi,

I am new to J2EE. I have learnt Java and as a next step I am going to learn JSP & Servlets. So I had bought the book Head First JSP & Servlet by Kathy & Bates.

To run the example coding, I want to install the Tomcat 5. I have alraedy installed JDK 1.3 and set the path for that while I have learnt the JAVA.

I have downloaded the binary 5.5.9(.exe) files from the Apache tomcat site. Whether 5.5.9 Deployer.zip, 5.5.9 Admin.zip,5.5.9 Embed.zip,5.5.9.zip and 5.5.9 compat.zip will be needed. Though I have downloaded that too.

My question is whether Tomcat 5.5.9 will run with JDK1.3 or we have to use JDK higher version such as JDK1.4.

After clicking the exe file of the Tomcat 5.5.9, what are the steps we have to follow, that is what are the classpath should be set. Please tell me what the paths should be placed at the autoexec.bat file.

Somebody have told set the JAVA_HOME & TOMCAT_HOME. Others told we have to set the CATALINA_HOME. Why we are using all this?

I am having my JDK1.3 at c:\jdk1.3
I am haing my Tomcat 5 at c:\Tomcat

Alos, I want to download the Servletr API and JSP API. But in the Apache Tomcat site, I can only able to view as a HTML page. There is no PDF Files for Servlet & JSP API to download. Please tell me where we can download those API Doc.

If possible, what are the other steps we have to take care for properly running the tomcat server.

Regards,
Niyas.
chsanthosh kumar
Ranch Hand

Joined: Jun 28, 2005
Posts: 56
You said that u r having jdk1.3 but it will not support for newer versions like(tomcat 5.5.9).Please look at the documentation first .
Please Install the jdk1.4 or 1.5 in u r system once it is installed please set the path and classpath for that.
After Installing the tomcat.No need to set any java_home or Tomcat_home or Catalina_home for the version (5.5.9).
Okay..

Let us start learning on that........
[ June 28, 2005: Message edited by: chsanthosh kumar ]

---------------------<br />SCJP(1.4)With 95%<br /> <br />Do it Right and Forget it!
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

Tomcat 5.5 requires JDK1.5.0 or higher.
It can be run with j2sdk1.4 if you install the compat packages.

It does not run on 1.3.

http://jakarta.apache.org/tomcat/tomcat-5.5-doc/RELEASE-NOTES.txt


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60752
    
  65

Moved to the Tomcat forum.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Tomcat Problem with JSP
 
Similar Threads
Loading a servlet using jdk1.4 in Tomcat
How Tomcat in Win2k/NT find JDK/JRE in non-existent directory???
Cannot find symbol
Failed to install Tomcat5 Service
Basic Doubts