Two Laptop Bag*
The moose likes Servlets and the fly likes 404 error is coming after submiting the form how to resolve it Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "404 error is coming after submiting the form how to resolve it" Watch "404 error is coming after submiting the form how to resolve it" New topic
Author

404 error is coming after submiting the form how to resolve it

Arvind Kurmi
Greenhorn

Joined: Aug 30, 2010
Posts: 13

HTTP Status 404 - /Beer-v1/%E2%80%9DSelectBeer.do%E2%80%9D

type Status report

message /Beer-v1/%E2%80%9DSelectBeer.do%E2%80%9D

description The requested resource (/Beer-v1/%E2%80%9DSelectBeer.do%E2%80%9D) is not available.
Apache Tomcat/6.0.26








Regards,
Arvind kurmi
http://www.technotut.com http://www.tutspoint.com
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Probably because you are using strange double quotations in your form. See this.


[My Blog]
All roads lead to JavaRanch
Abimaran Kugathasan
Ranch Hand

Joined: Nov 04, 2009
Posts: 2066

One kind request : Use separate code tags for each code snaps! It'll be more readable!


|BSc in Electronic Eng| |SCJP 6.0 91%| |SCWCD 5 92%|
Arvind Kurmi
Greenhorn

Joined: Aug 30, 2010
Posts: 13

if i type this http://localhost:8084/Beer-v1/SelectBeer.do i get
Beer Selection Advice

Got beer color null
that's fine

but after clicking on submit button url goes like this
http://localhost:8084/Beer-v1/%E2%80%9DSelectBeer.do%E2%80%9D?%E2%80%9Dcolor%E2%80%9D=%E2%80%9Dlight%E2%80%9D

and error comes
HTTP Status 404 - /Beer-v1/%E2%80%9DSelectBeer.do%E2%80%9D

type Status report

message /Beer-v1/%E2%80%9DSelectBeer.do%E2%80%9D

description The requested resource (/Beer-v1/%E2%80%9DSelectBeer.do%E2%80%9D) is not available.
Apache Tomcat/6.0.26


Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Did you read my post ?
Abimaran Kugathasan
Ranch Hand

Joined: Nov 04, 2009
Posts: 2066

Arvind Kurmi wrote:
resource (/Beer-v1/%E2%80%9DSelectBeer.do%E2%80%9D) is not available.


Don't you identify the problem, which Christophe indicated? See the below codes:


Could you identify the difference with this two snaps?
Arvind Kurmi
Greenhorn

Joined: Aug 30, 2010
Posts: 13

yes i can thnks
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: 404 error is coming after submiting the form how to resolve it
 
Similar Threads
Servlet Doesn't appear to be working.
Headfirst ch3 Beerselect submit button not working
Resource not available
Cannot bring up a html page using tomcat 6.0
MVC tutorial Head First