Meaningless Drivel is fun!
The moose likes Struts and the fly likes configuring struts with tomcat 6.0 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "configuring struts with tomcat 6.0" Watch "configuring struts with tomcat 6.0" New topic

configuring struts with tomcat 6.0

Krishna Acharya
Ranch Hand

Joined: Jun 05, 2007
Posts: 34
Hi there!
i am using the apache tomcat webserver of version 6.0 and struts 1.3.8 jar files(full distribution downloaded from have jdk 1.5 installed in my machine. i have a root folder named "simplest" inside the webapp folder. inside which, i have a jsp page homepage.jsp.
The homepage.jsp runs smoothly when i give the url: http://localhost:8080/simplest/homepage.jsp but it doesnot run when i give the url withoug homepage.jsp i.e. http://localhost:8080/simplest/
the error is like:
type: status report
message: /simplest/
description: The required resource(/simplest/) is not avialable.
What might be the problem?
I will be pleased for you if i can get the answers...
Please help me.if you need the files that i am using then email me at then i will send all. Bye....
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
In order to have a JSP be loaded automatically when a user specifies only the web context path, you need to include it in the "welcome file" list in your web.xml file. Example:

Consultant, Sima Solutions
I agree. Here's the link:
subject: configuring struts with tomcat 6.0
It's not a secret anymore!