Form Validation
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   seko_seko
Posted On:   Tuesday, May 28, 2002 01:37 PM

I am using struts 1.1 built in form validation framework ....I have make the necessary changes in the in config etc but when I tries to load the page it does not load it but give me following error any ideas [5/28/02 15:28:31:478 CDT] 6ff0b1e0 WebGroup X SRVE0026E: [Servlet Error]-[action]: com.ibm.servlet.engine.webapp.WebAppErrorReport: No input attribute for mapping path /findApplication at com.ibm.servlet.engine.webapp.WebAppDispatcherResponse.sendError(WebAppDispatcherResponse.java:85) at org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.java:932) at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:245) at org.apache.struts.action.ActionServlet.p   More>>

I am using struts 1.1 built in form validation framework ....I have make the necessary changes in the in config etc but when I tries to load the page it does not load it but give me following error any ideas

			

[5/28/02 15:28:31:478 CDT] 6ff0b1e0 WebGroup X SRVE0026E: [Servlet Error]-[action]: com.ibm.servlet.engine.webapp.WebAppErrorReport: No input attribute for mapping path /findApplication
at com.ibm.servlet.engine.webapp.WebAppDispatcherResponse.sendError(WebAppDispatcherResponse.java:85)
at org.apache.struts.action.RequestProcessor.processValidate(RequestProcessor.java:932)
at org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:245)
at org.apache.struts.action.ActionServlet.process(ActionServlet.java:1109)
at org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:452)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at com.ibm.servlet.engine.webapp.StrictServletInstance.doService(ServletManager.java:827)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet._service(StrictLifecycleServlet.java:167)
at com.ibm.servlet.engine.webapp.IdleServletState.service(StrictLifecycleServlet.java:297)
at com.ibm.servlet.engine.webapp.StrictLifecycleServlet.service(StrictLifecycleServlet.java:110)
at com.ibm.servlet.engine.webapp.ServletInstance.service(ServletManager.java:472)
at com.ibm.servlet.engine.webapp.ValidServletReferenceState.dispatch(ServletManager.java:1012)
at com.ibm.servlet.engine.webapp.ServletInstanceReference.dispatch(ServletManager.java:913)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:523)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:282)
at com.ibm.servlet.engine.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:112)
at com.ibm.servlet.engine.srt.WebAppInvoker.doForward(WebAppInvoker.java:91)
at com.ibm.servlet.engine.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:184)
at com.ibm.servlet.engine.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:67)
at com.ibm.servlet.engine.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:122)
at com.ibm.servlet.engine.oselistener.OSEListenerDispatcher.service(OSEListener.java:315)
at com.ibm.servlet.engine.http11.HttpConnection.handleRequest(HttpConnection.java:60)
at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:323)
at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:252)
at com.ibm.ws.util.CachedThread.run(ThreadPool.java:122)



Thanks a lot for help    <<Less

Re: Form Validation

Posted By:   Alberto_Poza  
Posted On:   Wednesday, May 29, 2002 12:46 AM

In struts-config.xml file, you must put the input parameter corresponding to the Action with the validate="true", with the jsp file you have to show when the validation fails.


Ej. input="/WEB-INF/myJSPfile.jsp



AlPoza.
About | Sitemap | Contact