• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

configuring struts with tomcat 6.0

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 khanepal@gmail.com then i will send all. Bye....
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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:
 
reply
    Bookmark Topic Watch Topic
  • New Topic