This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
The moose likes Spring and the fly likes Help submitting forms via SpringMVC and RESTful Web Service Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Elasticsearch in Action this week in the Big Data forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Help submitting forms via SpringMVC and RESTful Web Service" Watch "Help submitting forms via SpringMVC and RESTful Web Service" New topic
Author

Help submitting forms via SpringMVC and RESTful Web Service

James Dekker
Ranch Hand

Joined: Dec 09, 2006
Posts: 219
Hello there,

I am created an online form using SpringMVC tag library (as a JSP file) and also a Controller (think Model View Controller pattern) as a RESTful Web Service.

When I deploy and invoke the web service by doing this in the browser:

http://localhost:8080/myapp/applications/new

Am able to view the SpringMVC based form (in Firefox) but when I enter in information and click on Submit, it displays the following:



The RESTful Web Service (Controller):



applications_new.jsp (Here's the view (which does launch when I invoke it)):



What could I be possibly be doing wrong?

Thank you for taking the time to read this...
 
I agree. Here's the link: http://kickstarter.com/rocket-mass-heater
 
subject: Help submitting forms via SpringMVC and RESTful Web Service