• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html:cancel

 
Yogendra Joshi
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi friends ,

I have a small starter application which takes input from user as username and password and if it not entered gives validation error. Works fine uptil here...

Now the problem is , i also have a html:cancel button on the same page and if the user clicks that button , it would go on a page defined in struts-config.xml which is happening too... But it is happening ONLY if validate="false" is done for the said action mapping. The moment its done true , It gives an ServletException.

Please help me with this.

Thanks and regards

Yogendra N Joshi.
 
Merrill Higginson
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Please provide the exact text of the message you're getting along with the first few lines of the stack trace. You can find this in the System Out log.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic