• 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
  • Paul Clapham
  • Ron McLeod
  • Jeanne Boyarsky
  • Tim Cooke
Sheriffs:
  • Bear Bibeault
  • Henry Wong
  • Devaka Cooray
Saloon Keepers:
  • salvin francis
  • Tim Moores
  • Tim Holloway
  • Stephan van Hulst
  • Frits Walraven
Bartenders:
  • Jj Roberts
  • Carey Brown
  • Scott Selikoff

Question *.jsp name recognition under apache

 
Ranch Hand
Posts: 65
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
A while ago I followed the �bank� example under Sun�s j2eetutorial to create my own web application. Just as in that example I mapped my jsp pages to the controller servlet specifying the jsp pages name without the extension �jsp�.
<servlet-mapping>
<servlet-name>myContollerServlet</servlet-name>
<url-pattern>/myJSPPage</url-pattern>
</servlet-mapping>

This worked when I deployed and tested using resin stand alone. Last week I started setting up my application under apache/resin.
Then I started getting page not found errors every time one of the .jsp pages was invoked. Very late last night I noticed that if change the jsp page name from �myJSPPage� to �myJSPPage.jsp� then I the page is found.
Is this something apache specific with no way around it or can I put something in my descriptors to change this behavior?
Can someone please help me understand this fully as to why resin can handle the names that way and apache cannot.
Thanks in advance
[ May 08, 2003: Message edited by: Sam Walker ]
[ May 08, 2003: Message edited by: Sam Walker ]
 
hired gun
Posts: 250
MS IE Oracle Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I don't have any way to move this thread, but you probably want to look in the Apache category for an answer. I'm sure a moderator or greater will see this and move it later.
reply
    Bookmark Topic Watch Topic
  • New Topic