I am new in struts2 and want to develop a program which inserts records into database. I have faced a problem while using UI Tags of struts2. Here is my code block in jsp:
In the above code block, I would like to align printerMark, markCheckbox and markTextField on the same row. On Eclipse screen, these are aligned. However, on browser, each UI component is placed on new row which can be found in the attachment.
Is there a way to align these components on the same row?
Use simple theme of Struts. The default XHTML theme adds formatting information of its own. If you set the theme property of s:form tag, then all the s:select, s:textfield and s:checkbox in the form tag will be rendered without any formatting...