Hi,I have got another problem,exception was thrown when I click my cancel
button using <html:cancel/>
The excute method in the related action is following:
public ActionForward execute(
ActionMapping mapping,
ActionForm form,
HttpServletRequest request,
HttpServletResponse response) {
if (isCancelled(request)) {
return null;
}
TForm tForm = (TForm) form;
// TODO Auto-generated method stub
return null;
}
}
My simple jsp page is following:
<%@ page language="java"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean"
prefix="bean"%>
<%@ taglib uri="http://jakarta.apache.org/struts/tags-html"
prefix="html"%>
<html>
<head>
<title>JSP for tForm form</title>
</head>
<body>
<html:errors />
<html:form action="/t">
name : <html:text property="name"/><html:errors
property="name"/><br/>
<html:submit/><html:cancel/>
</html:form>
</body>
</html>
Anything wrong?
Any help or comment is appreciated.
--
Why Signature?