Error 500 No Input Attribute For Mapping Path
This Site Careers Other all forums Forum: Struts Need help on struts prakash china Greenhorn Posts: 18 posted 9 years ago I am new to struts I am trying to map a action class with another action class having different form �.. The sample config is The error I am getting is HTTP Status 500 - No input attribute for mapping path /displayPendingApplicationAction Please let me know if im doing any mistale� [ November 27, 2006: Message edited by: Prakash.C ] -----
Regards,
Prakash.C Brent Sterling Ranch Hand Posts: 948 posted 9 years ago My guess is that you need to add validate="false" attributes to one or more of your actions. By default validation is true, so I suspect that validation is failing and you are getting this error because there is not an input attribute. - Brent prakash china Greenhorn Posts: 18 posted 9 years ago Thanks a lot Brent , when I set the attribute validation = �false� I am not getting that error�. But I want certain data�s to be transferred from one form bean to another form bean ( like serform to loginfor )� how can that be done � -Prakash -----
Regards,
Prakash.C Christian Nash Ranch Hand Posts: 107 posted 9 years ago Hi, loginForm.setValue(serForm.getvalue()); in your ApplicationApprovalAction class. [ November 28, 2006: Message edited by: Christian Nash ] - Christian archana vishwanath Ranch Hand Posts: 39 posted 9 years ago Check here for a similar example http://javafasttrack.com/FirstStrutsAppl.html Post Reply Bo
No input attribute for mapping path /Logon Date Fri, 22 Apr 2005 00:44:20 GMT Ah ah! It turns out that I should change parameter="/pages/Login.jsp"/> to input="/pages/Login.jsp"/> Thanks all for spotting that! Thong --- Michael Jouravlev wrote: > You have "validate" set to "true", thus Struts tries > to locate > error/input page and cannot find it, because "input" > attribute is not > defined. > > > "input" must be renamed to "error". > > > Michael. > > On 4/21/05, T. B. wrote: > > > > Hi all, > > > > I https://coderanch.com/t/55212/Struts/framework/struts am trying to deploy a simple struts on resin > 2.1.12 > > and got this error when accessing my port > > > > http:/myApp/Logon.do > > > > The error is: > > > > 500 No input attribute for mapping path /Logon > > > > The mappings in struts-config.xml are as followed: > > > > ..... > > http://mail-archives.apache.org/mod_mbox/struts-user/200504.mbox/%3C20050422004420.20958.qmail@web80104.mail.yahoo.com%3E > > > > > > > > > name="welcome" > > path="/Welcome.do"/> > > > name="logon" > > path="/Logon.do"/> > > > > > > > > > > > > > > > > > > > path="/Welcome" > > > > type="org.apache.struts.actions.ForwardAction" > > parameter="/pages/Welcome.jsp"/> > > > > > path="/Logon" > > type="logon.LogonAction" > > name="logonForm" > > scope="request" > > validate="true" > > parameter="/pages/Login.jsp"/> > > > > > > > > Thanks, > > > > Thong Bui > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: > user-unsubscribe@struts.apache.org > > For additional commands, e-mail: > user-help@struts.apache.org > > > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: > user-unsubscribe@struts.apache.org > For additional commands, e-mail: > user-help@struts.apache.org > > --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscribe@struts.apache.org For additional commands, e-mail: user-help@struts.apache.org Mime Unnamed text/plain (inline, None, 2486 bytes) View raw message
for spotting that!Thong--- Michael Jouravlev wrote:You http://grokbase.com/t/struts/user/054py9vm0m/500-no-input-attribute-for-mapping-path-logon have "validate" set to "true", thus Struts triesto locateerror/input page and cannot find it, because "input"attribute is notdefined."input" must be renamed to "error".Michael.On http://www.theserverside.com/news/thread.tss?thread_id=31795 4/21/05, T. B. wrote:Hi all,I am trying to deploy a simple struts on resin 2.1.12and got this error when accessing my porthttp:/myApp/Logon.doThe error is:500 No input attribute for mapping path /LogonThe mappings in struts-config.xml are as followed:.....Thanks,Thong Bui---------------------------------------------------------------------To unsubscribe, e-mail:user-unsubscribe@struts.apache.orgFor additional commands, e-mail:user-help@struts.apache.org---------------------------------------------------------------------To error 500 no unsubscribe, e-mail:user-unsubscribe@struts.apache.orgFor additional commands, e-mail:user-help@struts.apache.org---------------------------------------------------------------------To unsubscribe, e-mail: user-unsubscribe@struts.apache.orgFor additional commands, e-mail: user-help@struts.apache.org reply Tweet Search Discussions Search All Groups user 26 responses Oldest Nested Yen Hi, I have an action which save the data into the database, after the saving, I would like to forward to the listing page, where I have another action doing the listing. Should I repeat the same listing method (method list) in the save action itself..? Or, is there any better way? Thanks for advanced. rgds, Yen public ActionForward save(ActionMapping mapping, ActionForm form, HttpServletRequest request, HttpServletResponse response) { method save.. method list.. return Yen at Apr 22, 2005 at 2:36 am ⇧ Hi,I have an action which save the data into the database, after the saving, Iwould like to forward to the listing page, where I have another action doingthe
Java testing Databases Java development in cloud Java DevOps Modular code EJB specification Modular containers Modular troubleshooting Programming code App servers Modular tools Java in the cloud Java Web services WS* specs Architecture Java middleware Spring Hibernate Servlets JSP Java client platforms Framework JSF Web portals UI Enterprise Java development JSRs and APIs Languages JVM languages DSLs Java app deployment Java tools Java performance Java performance Cloud platforms JVM tuning Java HPC Web dev tools Development tools Open source strategy IDEs Java platforms Java testing Development hardware Mobile app dev Mobile development and deployment Mobile cloud apps Mobile platforms Mobile ALM Mobile app testing SEARCH this site and the web Site Index Home>Web tier: servlets, JSP, Web frameworks>problems on struts Email This Home Web tier: servlets, JSP, Web frameworks: problems on struts Get thread feed problems on struts (1 messages) Posted by: advancesun Posted on: February 11 2005 21:52 EST i am just learning struts, and have some problems.i got the msg:No input attribute for mapping path /registerActionThe server encountered an internal error (No input attribute for mapping path /registerAction) that prevented it from fulfilling this request.how to deal with it. i completed the form, action, and jsp using struts tags. i set a breakpoint in action, but it seemed that it didnot step into the action. Reply to this Threaded Messages (1) problems on struts by Yaroslav Gnatyuk on February 12 2005 04:06 EST problems on struts[ Go to top ] Posted by: Yaroslav Gnatyuk Posted on: February 12 2005 04:06 EST in response to advancesun You probably encounter this message when struts validates your form and got errors. The input attibute in struts-config should help. This attribute informs struts about where to go if form validation errors occurs.