File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
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
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: 215
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://aspose.com/file-tools
 
subject: Help submitting forms via SpringMVC and RESTful Web Service