This week's book giveaway is in the JDBC forum.
We're giving away four copies of Make it so: Java DB Connections & Transactions and have Marcho Behler on-line!
See this thread for details.
The moose likes Struts and the fly likes STruts Tag basic doubt Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Make it so: Java DB Connections & Transactions this week in the JDBC forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "STruts Tag basic doubt" Watch "STruts Tag basic doubt" New topic

STruts Tag basic doubt

Ramkumar Subburaj
Ranch Hand

Joined: Sep 07, 2007
Posts: 83

I am new to struts and starting with struts 2.1.8

For struts tag like textfield, the generated HTML seems to be some thing like

Is creating the rows and columns default behavior and can't it be modified.

There might be scenarios where i want to achieve UI using DIV's instead of tables.

SCJP 1.5, SCWCD 1.4.
Hanging between Web Services and EJB
Anbarasu Aladiyan
Ranch Hand

Joined: Jun 02, 2009
Posts: 182

Hi Ramkumar Subburaj,
By default struts2 uses 'xhtml' theme. And it can be modified by setting it in struts property file. like

David Newton

Joined: Sep 29, 2008
Posts: 12617

Or try the css_xhtml theme, although the last time I looked it was still missing some ids that'd be nice to have.
I agree. Here's the link:
subject: STruts Tag basic doubt
It's not a secret anymore!