Forums Register Login

404 Error

+Pie Number of slices to send: Send
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.
+Pie Number of slices to send: Send
The problem is in the JSP.

should be

No / should be present.

BTW have you also defined servlet in Web.xml ?
+Pie Number of slices to send: Send
Thanks tanveer.....
+Pie Number of slices to send: Send



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...
See where your hand is? Not there. It's next to this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com


reply
reply
This thread has been viewed 1117 times.
Similar Threads
Modified Code Barn Simple MVC not works
Display value of cookie into text box
error - HTTP Status 404 - /EmailList/
"Type mismatch: cannot convert from Cookie to String"
regarding servlet mapping
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 28, 2024 22:55:41.