Win a copy of Testing JavaScript Applications this week in the HTML Pages with CSS and JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

html:errors - do not want >ul< tags in HTML

Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello ,
I am using the errors tag to iterate over the errors - which I need to display
on UI

I am using the following code :

The output that I get is something like this :

I do not want the <ul> tags - since the UI is getting messed up

Can anyone please suggest a solution ?

Thanks in advance ,
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Check your <message-resources> file specified in struts-config.xml. You can set the way the messages are displayed using the following keys:


Ranch Hand
Posts: 124
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
just noticed one problem, if this copied directly from your live code?

>td class="BodyToolboxHeader" vlign="middle">

should be

<td class="BodyToolboxHeader" valign="middle">

wrong starting tag & misspelt valign!
[ October 31, 2005: Message edited by: A Harry ]
The knights of nee want a shrubbery. And a tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic