Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

How can i display error messages just above the text field in a jsp page??

 
sanjeev katthi
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
How can i display error messages just above the text field in a jsp page?? please reply me fast...
 
Karthik Rajendiran
Ranch Hand
Posts: 218
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello Friend,
You can use the <html:error> tag, with property attribute
the attribute value should match the corresponding text field name
 
sanjeev katthi
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks yar...
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Karthik,

The Struts (<HTML: ../>) tags are not a part of JSP.
Before recommending them as a solution to someone's problem, it's usually a good idea to make sure they're using Struts.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!