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.
I have a very simple form with two hidden fields. Because the form has hidden fields the html that is being rendered by struts is invalid. Is there a way or call to keep hidden fields out of the table that struts renders? I want to be able to keep all the validation that struts provides.
This is invalid html as the hidden fields are directly after the <table> element. I prefer to keep the hidden fields out of the table all together.
In your STRUTS form there is no table element specified. I am not sure how the table tags are generated. STRUTS to my understanding does not generate formatting elements.
Joined: Aug 27, 2010
Struts 18.104.22.168 is generating the table for the formatting as you can see from the code used in the JSP & what is actually rendered to the browser. My understanding is this is standard behavior. I just would like to know how to keep the hidden fields out of the table struts generates so I wont have non compliant html.