Meaningless Drivel is fun!
The moose likes JSP and the fly likes Jsp page problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "Jsp page problem" Watch "Jsp page problem" New topic

Jsp page problem

Gibson Tang

Joined: Aug 05, 2004
Posts: 10
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?
Gert Cuppens
Ranch Hand

Joined: Jul 13, 2003
Posts: 87
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.
I agree. Here's the link:
subject: Jsp page problem
jQuery in Action, 3rd edition