This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
Dear All. What are all the advantages of using the struts html tags like the following. Instead we can use the plan html tags <html:text property="text1" size="5"/> <html:checkbox property="myCheckBox"/> ect.
Can any body let me know why do we use �logic� tag in struts
1. auto populating field values from form beans; otherwise, you'll have to do painful form values populating manually. this is especially important in failed validations. 2. indexed properties support (can be done w/ plain, but urgh..) 3. support for LookupDispatchAction. 4. additional tags like html ptions helps with commonly used form elements tremendously.
i made this rookie mistake of using plain HTML form tags 2 years ago. the good thing is someone else is paying dearly for it right now
-/a<br />certified slacker...yes, my last name is 'do' - <a href="http://www.luckycouple.com" target="_blank" rel="nofollow">luckycouple.com</a>
I hve used html text tag for initializing the text values dynamically i.e through expr eg:<%= varname %> without any problems.
Joined: May 31, 2004
Simple ones like that are fine.
It's when you start doing things like passing Java arguements to JS functions in the "onchange" method (or others like it) and having calculations within the tag where it starts to get a little screwy.