struts No input attribute for mapping path

Posted on 2004-03-24
Last Modified: 2012-05-04
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.

Question by:m_sharma98
LVL 92

Expert Comment

ID: 10665380
what r the errors?
LVL 14

Accepted Solution

kennethxu earned 50 total points
ID: 10668801

Expert Comment

ID: 10701085

Author Comment

ID: 10701237
Thanks kennethxu,
At last I also got it with the same problem.
Anyway thanx for your help.
LVL 14

Expert Comment

ID: 10701316
you are welcome, but is there any thing wrong leads to a C grade?

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
spring AOP 6 79
spring dependency injection using java config 2 81
Spring MVC - sending raw charset to backend 3 190
Suggestion on WebSite Template Sites 6 83
Microsoft Office Picture Manager was included in Office 2003, 2007, and 2010, but not in Office 2013. Users had hopes that it would be in Office 2016/Office 365, but it is not. Fortunately, the same zero-cost technique that works to install it with …
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
Windows 10 is mostly good. However the one thing that annoys me is how many clicks you have to do to dial a VPN connection. You have to go to settings from the start menu, (2 clicks), Network and Internet (1 click), Click VPN (another click) then fi…
Both in life and business – not all partnerships are created equal. As the demand for cloud services increases, so do the number of self-proclaimed cloud partners. Asking the right questions up front in the partnership, will enable both parties …

864 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

24 Experts available now in Live!

Get 1:1 Help Now