Win a copy of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) this week in the OCAJP forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Validation is not working with simple themes in struts 2

 
Susan John
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi

I have an application in struts2 and in that validation is not working when I use simple themes. If I remove simple themes the validation messages are getting displayed, but what I get is distorted page. So I'm forced to use simple themes.

Can anyone help me in sorting this problem?

Regards
Susan
 
J Srinivas rao
Greenhorn
Posts: 9
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
In simple theme you have to place <s:messgaes /> tag to display the validation error messages
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic