• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Cannot retrieve definition for form bean RegisterationForm on action /ShowWelcomePage

 
Greenhorn
Posts: 21
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
struts-config.xml is -



<global-forwards>
<forward name="welcome" path="/Welcome.jsp"/>
</global-forwards>

<action-mappings>
<action path="/ShowWelcomePage"
parameter="/Welcome.jsp"
type="org.apache.struts.actions.ForwardAction" />

<action path="/ShowWelcomePage"
type="Struts.pack.FormAction"
name="RegisterationForm"
scope="request"
validate="true"
input="/Welcome.jsp">
<forward name="success" path="/Success.jsp" />
</action>

</action-mappings>

AND Welcome.jsp is as follows -

<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>

<html:html xhtml="true">
<body>
<div align="center">

<h2><bean:message key="prompt.formpage.title"/></h2>

<html:errors/>

<html:form action="/ShowWelcomePage" method="GET">

<bean:message key="prompt.customer.login_name"/>:
<html:text property="loginName" size="16" maxlength="16"/>



<bean:message key="prompt.customer.password"/>:
<html:password property="password" size="16" maxlength="16"/>



<bean:message key="prompt.customer.email"/>:
<html:password property="email" size="16" maxlength="16"/>




<html:submit property="step">
<bean:message key="button.save"/>
</html:submit>
 

<html:cancel property="step">
<bean:message key="button.cancel"/>
</html:cancel>

</div>
</html:form>
</body>
</html:html>

please solve the error - "Cannot retrieve definition for form bean RegisterationForm on action /ShowWelcomePage"

 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic