I'm new to Struts. I'm in my second week of using/learning Struts 1.2. Any framework, technology, pattern, or what-have-you has its weirdnesses.
Here's the first really weird thing that I've found in Struts: To give an identifier to an <html:form> tag you set the styleId attribute.
Here's some background: In an HTML page you can place a <form> tag. This allows you to get information from the user. The Struts method of placing a form in a page is the <html:form> tag shown above. In HTML, if you want to give the form an Id you would do something like this:
<form id="someId"> form stuff </form>
In Struts you would write:
<html:form styleId="someId"> form stuff </html:form>
So much for reasonable names.
February 22, 2007
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment