aspose file tools*
The moose likes Struts and the fly likes html:cancel Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:cancel" Watch "html:cancel" New topic
Author

html:cancel

Yogendra Joshi
Ranch Hand

Joined: Apr 04, 2006
Posts: 213
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.


Meri Zindagi Hain Tab Tak.. Jab Tak Tera Sahara.... Har Taraf Tu Hi Tu Hain SAI Tera Hi Hain Nazara.....
Merrill Higginson
Ranch Hand

Joined: Feb 15, 2005
Posts: 4864
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.


Merrill
Consultant, Sima Solutions
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: html:cancel