aspose file tools*
The moose likes Tomcat and the fly likes Servlets Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Servlets" Watch "Servlets" New topic
Author

Servlets

chandran jayanthi
Greenhorn

Joined: Jul 20, 2006
Posts: 1
I installed jakarta-tomcat-4.1.31 in the following directory
c:\j2sdk1.4.2_10\bin
But i am having truble in running the servlet program. I dont know where to save it ,how to run it and how to set the path for environment varibles?
can you please help me to run the servlet programs?
Anthony Karta
Ranch Hand

Joined: Aug 09, 2004
Posts: 342
please find appropriate forum before you post, and buy a book or cheaper way is spend sometimes to find good article online (I'm sure you have acccess to internet).

cheers


SCJP 5
Giovanni De Stefano
Greenhorn

Joined: Jul 18, 2006
Posts: 21
I dont know where to save it ,how to run it and how to set the path for environment varibles?


...you don't know where to post neither... :-D

Try buying HeadFirst JSP & Servlet, it will guide you step by step...


SCJP 1.4
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

Welcome to JavaRanch!

We have a forum especially for Tomcat. I'll move this thread there for you.


"We're kind of on the level of crossword puzzle writers... And no one ever goes to them and gives them an award." ~Joe Strummer
sscce.org
marc weber
Sheriff

Joined: Aug 31, 2004
Posts: 11343

First, I strongly recommend that you install Tomcat in its own directory instead of mixed in with the jdk bin files. (Aside from organizational nightmares, consider what happens when you install a Java upgrade. ) Do this now.

Second, use this Tomcat tutorial from coreservlets.com to help you install, configure, and run your first servlets.
[ July 22, 2006: Message edited by: marc weber ]
Naseem Khan
Ranch Hand

Joined: Apr 25, 2005
Posts: 809
Have you set JAVA_HOME and CATALINA_HOME?

Naseem


Asking Smart Questions FAQ - How To Put Your Code In Code Tags
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Servlets