RSS RSS feed | Atom Atom feed | |

Struts 2 form tag action attribute function

What the books gloss over

Struts 2 is a complex framework that is hampered by poor documentation and books that don't provide enough details. Simple tasks can be accomplished many ways but it is not always obvious what they are. Even something as basic as creating a form tag to invoke an action can cause quite a bit of confusion.

Here are some examples of form tags and the HTML they generate.

<%-- Struts Tag --%> 


<%-- Generated HTML --%>
<%-- Struts Tag --%> <%-- Generated HTML --%> <%-- Struts Tag --%> <%-- Generated HTML --%>



Add a comment Send a TrackBack