aspose file tools*
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes 404 Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "404 Error" Watch "404 Error" New topic
Author

404 Error

Maan Suraj
Ranch Hand

Joined: Dec 20, 2007
Posts: 299
I tried to run a simple application, which adds cookies.

Please find the below code.

Request_params_cookies.jsp



Serv_cookie.java





and i have result cookies.jsp as well....


I have put my "Serv_cookie.class" file in Cookies/WEB-INF/classes directory.

Request_params_cookies.jsp is inside Cookies webapps

When i click submit on Request_params_cookies.jsp, i get below error....

HTTP Status 404 - /GG

--------------------------------------------------------------------------------

type Status report

message /GG

description The requested
resource (/GG) is not available.


Man Suraj
Someone says "Impossible is nothing". The man next him says "Let me see you licking your elbow tip!"
tanveer chowdry
Greenhorn

Joined: Jul 17, 2007
Posts: 21
The problem is in the JSP.

should be

No / should be present.

BTW have you also defined servlet in Web.xml ?


Regards,<br />tanveer<br /> <br />SCJP 1.4 (86%)<br />SCWCD 1.5 (98%)
Maan Suraj
Ranch Hand

Joined: Dec 20, 2007
Posts: 299
Thanks tanveer.....
Maan Suraj
Ranch Hand

Joined: Dec 20, 2007
Posts: 299



now iam able to retrieve the cookie value. How can i populate my text box the next time the page loads?
i want to know what do i need to write in value...
 
wood burning stoves
 
subject: 404 Error