Win a copy of Svelte and Sapper in Action this week in the JavaScript forum!
  • 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 all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

configuring struts with tomcat 6.0

 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
  • 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
  • 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:
 
If you are using a wood chipper, you are doing it wrong. Even on this tiny ad:
the value of filler advertising in 2020
https://coderanch.com/t/730886/filler-advertising
    Bookmark Topic Watch Topic
  • New Topic