Hi Myles,

Some pros of using Stripes Forms that come to mind:

- with <s:form beanclass="com.myco.MyActionBean"> you see the fully-qualified
class name of the action bean, giving you a clear indication of where the
form will be submitted.

- input tags such as <s:text name="..."/> automatically repopulate themselves
with existing values, and also use the Stripes formatting mechanism.

- <s:select> not only automatically reselects previously selected values,
but also accepts nested <s:options-*> tags to easily generate options, also
with localization support if you need it.

- other tags such as <s:submit> also provide localization support.

- <s:form> lets you use @Wizard on an action bean to easily create wizard
forms.

- a good JSP editor will provide validation on the syntax and required
parameters.

The only cons that I can think of is if you encounter situations where
the Stripes tags somehow don't do what you need, or don't really provide
any added value. In those rare cases you can try using plain HTML forms.

Hope that helps.

Cheers,
Freddy
http://www.stripesbook.com

 
- Good Day to All!
- 
- I have a question.
- What is the difference if I use HTML Forms compared to Stripes Forms?
- Pros? Cons?
- 
- Thanks and Regards,
- Myles Kadusale



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Stripes-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/stripes-users

Reply via email to