HTML Forums

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2011 03:02 PM
In web quick start how do you setup the form action field to post the data. Does any1 have any examples of html forms and possible action options? I want to use a form to send email but just havent been able to get it to work no matter what I've tried.
Labels:
- Labels:
-
Archive
1 REPLY 1

Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2011 04:06 PM
There are a few forms in the sample site that may help answer the question. The simplest one is the search box that appears at the top of every page. That is routed to its own controller (the SearchFormController) which uses Spring magic to marshal the received parameters into an object of class Query which can then be operated on. You can read about this kind of thing in the Spring documentation. Since the sample site is built on the Spring MVC framework you can make use of any part of that framework to extend it.
