Search...
FAQs
Subscribe
Pie
FAQs
Recent topics
Flagged topics
Hot topics
Best topics
Search...
Search within Struts
Search Coderanch
Advance search
Google search
Register / Login
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
Forum:
Struts
javax.servlet.jsp.JspException: Cannot find bean: "registerForm" in scope: "session"
billapavi kumar
Greenhorn
Posts: 4
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
[code=java <?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE struts-config PUBLIC "-//Apache Software Foundation//DTD Struts Configuration 1.2//EN" "http://struts.apache.org/dtds/struts-config_1_2.dtd"> <struts-config> <data-sources /> <form-beans > <form-bean name="registerForm" type="org.exp.form.RegisterForm"> </form-bean> </form-beans> <global-exceptions /> <global-forwards /> <action-mappings > <action attribute="ExpendRegForm" input="/reg.jsp" name="registerForm" path="/register" scope="session" parameter="" type="org.exp.res.action.RegisterAction"> <set-property property="cancellable" value="true" /> <forward name="success" path="/WEB-INF/pages/succes.jsp" /> </action> </action-mappings> <message-resources parameter="org.exp.res.ApplicationResources" /> </struts-config> ]
[/code]
billapavi kumar
Greenhorn
Posts: 4
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
<%@ page language="java" pageEncoding="ISO-8859-1"%> <%@ taglib uri="http://struts.apache.org/tags-bean" prefix="bean" %> <%@ taglib uri="http://struts.apache.org/tags-html" prefix="html" %> <%@ taglib uri="http://struts.apache.org/tags-logic" prefix="logic" %> <%@ taglib uri="http://struts.apache.org/tags-tiles" prefix="tiles" %> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html:html lang="true"> <head> <html:base /> <title>MyJsp.jsp</title> <meta http-equiv="pragma" content="no-cache"> <meta http-equiv="cache-control" content="no-cache"> <meta http-equiv="expires" content="0"> <meta http-equiv="keywords" content="keyword1,keyword2,keyword3"> <meta http-equiv="description" content="This is my page"> <!-- <link rel="stylesheet" type="text/css" href="styles.css"> --> </head> <body> <html:form action="/register" method="post"> Username: <html:text property="userName"/><html:errors property="userError"/><html:errors property="userError1"/><br/><br/> Password: <html:password property="password"/><br/> <br/> Conform password <html:password property="cpassword"/> <html:errors property="ucp"/><br/> <html:errors property="ucp"/><br/> phone no: <html:text property="phno"/> <html:errors property="nfee"/><br/><br> <html:submit>submit</html:submit> <html:reset>reset</html:reset> </html:form> </body> </html:html>
Prajakta Acharya
Ranch Hand
Posts: 138
I like...
posted 10 years ago
1
Number of slices to send:
Optional 'thank-you' note:
Send
Does it work for request scope if scope is not specified?
Just checking if there are any classpath issues...
Regards,
Prajakta
billapavi kumar
Greenhorn
Posts: 4
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
im using my eclipse how these class path issus will come
Prajakta Acharya
Ranch Hand
Posts: 138
I like...
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
If at all it is not resolved yet, can you post your actionform (registerForm) and action class code here?
Regards,
Prajakta
billapavi kumar
Greenhorn
Posts: 4
posted 10 years ago
Number of slices to send:
Optional 'thank-you' note:
Send
i have removed
attribute="ExpendRegForm"
and
<set-property in my code
reply
reply
Bookmark Topic
Watch Topic
New Topic
Boost this thread!
Similar Threads
Struts ValidationFrameWork
org.apache.jasper.JasperException: javax.servlet.ServletException: javax.servlet.jsp.JspException:
"The path of an ForwardConfig cannot be null" error in Second run
Give me explanation about following struts config file
unable to declare plugin inside struts-config.xml
More...