aspose file tools*
The moose likes Struts and the fly likes html:cancel button throwing exception Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "html:cancel button throwing exception" Watch "html:cancel button throwing exception" New topic
Author

html:cancel button throwing exception

faraz irfan
Greenhorn

Joined: Mar 11, 2008
Posts: 1

hi friends
I am using <html:cancel> button in my application as follows
<html:cancel>
<bean:message key="button.cancel"/>
</html:cancel>

but when i press Cancel button on my jsp it gives me an error like:
The server encountered an internal error () that prevented it from fulfilling this request.

i have also used
if(isCancelled(request)){
System.out.println("Cancelled Operation performed");
return mapping.findForward("mainpage");
}
in my execute meathod in the action class.

kindly help me out..
thanks in advance.. :-)
 
 
subject: html:cancel button throwing exception