• 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

Jsp page problem

 
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a JSP page that takes in a query string called
"website2.jsp?UserName=angyuit".The jsp page is in the webserver,but calling that page returns a "404 File Not Found" error.But running that page without the query string redirects me to another page which shows something which was not on my JSP page.Can anyone give any clues?
 
Ranch Hand
Posts: 87
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Whenever I see a "file not found" error, I know I have to look for 2 things.
1) Is the path correct ? Sometimes, adding a slash (/) can do the trick.
2) Is the called servlet or JSP defined in the web.xml. If it is not, then there is no way for the web server to know where it should look.
 
reply
    Bookmark Topic Watch Topic
  • New Topic