File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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.. :-)
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: html:cancel button throwing exception
 
Similar Threads
create a link for html:cancel instead of display button
LookupDispatchAction + html:cancel
Buttons in Struts
want to display text link for html:cancel instead of button
How to use Cancel button in DispatchAction