Hi All, I'm trying to call a page through a dummy page. dummy page has no ActionForm class associated with it. Foll are the files which I'm using.
homeDummy.jsp <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html:html locale="true"> <HTML> <HEAD> <META name="GENERATOR" content="IBM WebSphere Studio"> <META http-equiv="Content-Style-Type" content="text/css"> <TITLE></TITLE> </HEAD> <BODY> <html:form action="/home.anj"> <html:submit property="newUser"> <bean:message key="user.submitBtn"/> </html:submit> </html:form> </BODY> </HTML> </html:html> homeDummyAction.java import javax.servlet.ServletException; import java.io.IOException; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpSession; import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.Action; import org.apache.struts.action.ActionError; import org.apache.struts.action.ActionErrors; import org.apache.struts.action.ActionForm; import org.apache.struts.action.ActionForward; import org.apache.struts.action.ActionMapping; import org.apache.struts.action.ActionServlet; import org.apache.struts.util.MessageResources; public class homeDummyAction extends Action { public ActionForward perform(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) throws IOException, ServletException { ActionForward uri=(mapping.findForward("success")); return uri; } } struts-config.xml <action path="/home" type="homeDummyAction" scope="request" input="homeDummy.jsp" > <forward name="success" path="AddUser.jsp" redirect="true" /> </action> It's giving me the foll error: X Servlet Error: Cannot retrieve definition for form bean null: javax.servlet.jsp.JspException: Cannot retrieve definition for form bean null If anybody can help out. thanx, -----------anjali Power your enterprise with custom solutions in eLearning and Knowledge Management from NIIT - Knowledge Solutions. For details visit our website http://www.ksb.niit.com ___________________NOTICE____________________________ This electronic mail transmission contains confidential information intended only for the person(s) named. Any use, distribution, copying or disclosure by any other person is strictly prohibited. If you received this transmission in error, please notify the sender by reply e-mail and then destroy the message. Opinions, conclusions, and other information in this message that do not relate to the official business of NIIT shall be understood to be neither given nor endorsed by NIIT When addressed to NIIT clients, any information contained in this e-mail is subject to the terms and conditions in the governing client contract. -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>