• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

html:cancel

 
Ranch Hand
Posts: 213
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Ranch Hand
Posts: 4864
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic