Hello, I am getting these errors reported by my server in the server.log file when I start the server:
| Parse Error at line 55 column 25: Element type "aciton" must be declared. | org.xml.sax.SAXParseException: Element type "aciton" must be declared. | at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source).... | | 2006-06-28 11:39:48,275 INFO [STDOUT] 11:39:48,275 ERROR [Digester] Parse Fatal Error at line 58 column 5: The element type "aciton" must be terminated by the matching end-tag "</aciton>". | org.xml.sax.SAXParseException: The element type "aciton" must be terminated by the matching end-tag "</aciton>". | at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(Unknown Source)... | Any idea what this might be, I do have the struts-config file correct with all actions closed: | <form-beans> | <form-bean name="employeeForm" type="coreservlets.form.EmployeeForm"/> | <form-bean name="loginForm" type="coreservlets.form.LoginForm"/> | | </form-beans> | | <action-mappings> | | <action | path="/employeeSetUp" | name="employeeForm" | type="coreservlets.action.EmployeeAction" | scope="request" | parameter="dispatch"> | <forward name="success" path="/forms/employeeForm.jsp"/> | </action> | | <aciton path="/loginProcess" | name="loginForm" | type="coreservlets.action.LoginAction" | scope="request" | parameter="dispatch"> | <forward name="failure" path="/forms/loginForm.jsp"/> | <forward name="success" path="/display/activeProfiles.jsp"/> | </action> | | <action | path="/employeeProcess" | name="employeeForm" | type="coreservlets.action.EmployeeAction" | scope="request" | parameter="dispatch"> | <forward name="failure" path="/forms/employeeForm.jsp"/> | <forward name="success" path="/display/employees.jsp"/> | </action> | | | <action | path="/activeProfiles" | type="coreservlets.action.ProfileAction" | parameter="dispatch"> | <forward name="success" path="/display/activeProfiles.jsp"/> | </action> | | | </action-mappings> | The only thing I can think is in my action class I am not overriding the execute method just using my own: | public ActionForward checkLogin(ActionMapping mapping, | ActionForm form, | HttpServletRequest request, | HttpServletResponse response) | throws Exception{ | dsn = (DataSource)servlet.getServletContext().getAttribute("security"); | logger.debug("checkLogin"); | LoginForm loginForm = (LoginForm)form; | | if (validateLogin(request, loginForm)) { | Login login = new Login(); | BeanUtils.copyProperties(login, loginForm); | //now run a query | checkLogDbase(request, loginForm); | | return mapping.findForward(Constants.SUCCESS); | } else { | return mapping.findForward(Constants.FAILURE); | } | | } | Any help, advice or hints would be appreciated. Thanks for reading. cheers Martin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953938#3953938 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953938 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user