• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

html:cancel button throwing exception

 
faraz irfan
Greenhorn
Posts: 1
Hibernate Java MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.. :-)
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic