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
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
grep code 4 206
IE doesn't Invoke servlet in iframe 1 123
maven j2ee examles 2 64
maven webservice example issue 2 157
Facebook has became the #1 social media platform. People share many funny videos there, yet you don't know how to download them? Now you can download Videos from Facebook in just 3 simple steps.
In order to fulfill our mission of inspiring learning in the technology community, Experts Exchange is launching a Course of the Month program. Premium and Team Account members will have access to one course per month as a part of their membership, …
Finds all prime numbers in a range requested and places them in a public primes() array. I've demostrated a template size of 30 (2 * 3 * 5) but larger templates can be built such 210  (2 * 3 * 5 * 7) or 2310  (2 * 3 * 5 * 7 * 11). The larger templa…

733 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