Rajkumar Katudia wrote:
When struts renders the JSP the Labels are displayed in one place and the input in another place.
There's two options:
1. Use the "label" attribute of the form tag to declare the label. This will create table and row tags around the label-text field pairs
2. Use the "simple" template, which does not create any layout. That should work with your code above.
It's a struts property: struts.ui.theme. You can set it in the struts.properties file, or directly in your struts.xml file using a <constant name=.../> tag. The options are simple, xhtml (the default), css_xhtml and ajax.
You don't like waffles? Well, do you like this tiny ad?
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop