Hi there! i am using the apache tomcat webserver of version 6.0 and struts 1.3.8 jar files(full distribution downloaded from http://struts.apache.org/download.cgi).i 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 email@example.com then i will send all. Bye....
posted 8 years ago
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: