dcsimg
404 page not found
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   mukesh_verma
Posted On:   Monday, November 1, 2004 04:09 AM

			

I post user credential from html to servlet then redirecting to another html page after creating session if user is authenticated by
HttpSession session=request.getSession(true);



I 'm getting error 404 but browser showing correct file path in address bar with appended jsessionid and when i hit back button and agian submit then it is working fine


i couldn't figur out why it is appending jsessionid?


cookies is enabled in my browser then why it is using URLrewriting


Re: 404 page not found

Posted By:   kimura_lassie  
Posted On:   Saturday, November 6, 2004 09:06 AM

First, do something on the web.xml. Do you have the followng for mapping your servlet?


servlet_name
servlet_name



servlet_name
/servlet/servlet_name


Attn: The '/' before the servlet/servlet_name in the url pattern matters.

Secondly, check the file name for the form action
Like .

Thirdly, check the location for all the files in the web application. Make sure the Java class put properly in the WEB-INF/classes folder.

About | Sitemap | Contact