File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Struts and the fly likes Struts2 Form + Div display error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts2 Form + Div display error" Watch "Struts2 Form + Div display error" New topic

Struts2 Form + Div display error

Riley Thomas

Joined: Aug 08, 2009
Posts: 13

The code snippet below is behaving as expected (hooray!) except that the display of the "County" dropdown is not where it's supposed to be. The submit action does capture the value, however. Any thoughts? Thanks!
Joe Ess

Joined: Oct 29, 2001
Posts: 9168

Have you tried to view the source of the rendered HTML? Form tags get wrapped in table tags (see here so that may be messing up your layout.

[How To Ask Questions On JavaRanch]
I agree. Here's the link:
subject: Struts2 Form + Div display error
It's not a secret anymore!