This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
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
How to use Cancel button in DispatchAction
want to display text link for html:cancel instead of button
create a link for html:cancel instead of display button
LookupDispatchAction + html:cancel
Buttons in Struts