This week's giveaway is in the EJB and other Java EE Technologies forum.
We're giving away four copies of EJB 3 in Action and have Debu Panda, Reza Rahman, Ryan Cuprak, and Michael Remijan on-line!
See this thread for details.
The moose likes Tomcat and the fly likes Need help Configuring Tomcat 4.0.4 on Linux Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Products » Tomcat
Bookmark "Need help Configuring Tomcat 4.0.4 on Linux" Watch "Need help Configuring Tomcat 4.0.4 on Linux" New topic
Author

Need help Configuring Tomcat 4.0.4 on Linux

Randall Stevens
Ranch Hand

Joined: Jul 01, 2003
Posts: 65
I want to configure Tomcat so that my application runs in a directory other than 'examples'.
This is the directory structure that I want to use:
/etc/jakarta-tomcat-4.0.4/webapps/myapps
in the myapps directory, I want to place index.html
I want to configure my server so that a call to http://localhost:8080 will return the index page.
Also, I have servlets that run on the server and would like to have them in the WEB-INF/classes directory located in myapps directory.
The servlets need to be able to redirect a request to user/index.html which is located in myapps directory.
My directory structure looks like the following:
/etc/jakarta-tomcat-4.0.4/webapps/myapps -default index.html location
/etc/jakarta-tomcat-4.0.4/webapps/myapps/WEB-INF/classes -servlet location
/etc/jakarta-tomcat-4.0.4/webapps/myapps/user -user specific index.html location.
Somebody please help!
If you respond to me with additional questions, please check back for my responses and reply back.
Randall
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Need help Configuring Tomcat 4.0.4 on Linux
 
Similar Threads
How do you deploy a WAR file on Tomcat?
How to run a servlet using Tomcat?
Problem getting Servlets to work correctly with Tomcat
Running Servlet
Need help with Tomcat 4.0.4 on RedHat Linux