troubleshooting Question

struts No input attribute for mapping path

Avatar of m_sharma98
m_sharma98 asked on
5 Comments1 Solution6672 ViewsLast Modified:
I have a struts application with logon form and struts-config.xml files
I have done exact mapping for form submit action but after submitting the form it is giving errors my code is below

<!-- login.jsp-->
  <html:form action="">
        <table border="0" cellspacing="1" cellpadding="1">
                <td><b>Login Info</b></td>
                  <bean:message key="prompt.login" />
                   <html:text property="login" />
                  <bean:message key="prompt.password" />
                   <html:password property="password" />
                  <bean:message key="index.login" />
<html:errors property="login"/>
<html:errors property="password"/>

<!- struts-config.xml-->

<form-bean name="loginForm" type="LoginForm"/>


            <action path="/login" type="LoginAction" name="loginForm" scope="request" parameter="/login.jsp"/>



Please help me to short out where I'm doing the mistake.

Join the community to see this answer!
Join our exclusive community to see this answer & millions of others.
Unlock 1 Answer and 5 Comments.
Join the Community
Learn from the best

Network and collaborate with thousands of CTOs, CISOs, and IT Pros rooting for you and your success.

Andrew Hancock - VMware vExpert
See if this solution works for you by signing up for a 7 day free trial.
Unlock 1 Answer and 5 Comments.
Try for 7 days

”The time we save is the biggest benefit of E-E to our team. What could take multiple guys 2 hours or more each to find is accessed in around 15 minutes on Experts Exchange.

-Mike Kapnisakis, Warner Bros