struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shawn Catoe" <>
Subject RE: 1001st time this question gets asked
Date Fri, 19 Apr 2002 21:31:52 GMT
With the same set up, just the slashes added to the action's path attribute,
input attribute, and on the form tag attribute, I am getting the same error.
Anyone have any other thoughts on this?
Shawn Catoe

    <!-- Process a login. -->
    <action    path="/login"

<form action="/login.action" method="get" name="loginForm">

-----Original Message-----
From: arul []
Sent: Thursday, April 18, 2002 10:51 PM
To: Struts Users Mailing List;
Subject: Re: 1001st time this question gets asked

Hi Shawn

Hope this is might solve your problem.
    <action path="/accept" type="AcceptAction"
      name="acceptForm" scope="session"
      input="/accept.jsp" validate="true">
     <forward name="success" path="/accept.jsp" />

Why don't you add a slash in front!!!!

And you could as well say this "/accept"
in <form action="/accept"> too.....

Get Back


----- Original Message -----
From: Shawn Catoe <>
To: <>
Sent: Friday, April 19, 2002 9:01 AM
Subject: 1001st time this question gets asked

> I am sure that with the activity of this list, this has been asked before.
> I cannot find the answer that helps me in any resources that I use
> (,, etc).
> Problem:
> I am getting the following error when I submit my login form:
> 500 Internal Server Error No action instance for path /login could be
> created
> Attempts to solve:
> I have verified that the struts.jar is in the WEB-INF/lib directory.
> Verified all classes are present.
> Checked and rechecked my struts-config.xml file.
> Verified that all form tags have "blah.action" in the action attribute. (I
> am not using struts tags yet, one step at a time....)
> I have inserted a snippet from the struts-config.xml file below as well as
> my jsp form tag.
>     <forward   name="success" path="Index.jsp"/>
>     <form-bean name="loginForm" type="recipe.forms.LoginForm"/>
>     <!-- Process a login. -->
>     <action    path="login"
>                type="recipe.actions.LoginAction"
>                name="loginForm"
>                scope="request"
>                input="Index.jsp">
>     </action>
> --------------
> LoginForm.jsp
> <form action="login.action" method="get" name="loginForm">
> Someone please tell me what is going on......if you need more information,
> will get it to you ASAP.
> Thanks in advance,
> Shawn Catoe
> "I'm a kid whos got alot of problems and if I throw a brick maybe that
> will go and solve 'em"
> --
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

To unsubscribe, e-mail:   <>
For additional commands, e-mail: <>

View raw message