Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

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

 
Greenhorn
Posts: 13
Google Web Toolkit Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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







 
Sheriff
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Probably because you are using strange double quotations in your form. See this.
 
Ranch Hand
Posts: 2066
IntelliJ IDE Clojure Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One kind request : Use separate code tags for each code snaps! It'll be more readable!
 
Arvind Kurmi
Greenhorn
Posts: 13
Google Web Toolkit Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 14691
16
Eclipse IDE VI Editor Ubuntu
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you read my post ?
 
Abimaran Kugathasan
Ranch Hand
Posts: 2066
IntelliJ IDE Clojure Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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
Posts: 13
Google Web Toolkit Firefox Browser Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
yes i can thnks
 
Screaming fools! It's nothing more than a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic