JSPException: ActionMappings or ActionFormBeans collection

2002-04-21 Thread Shawn Catoe

I am getting the following error:
javax.servlet.jsp.JspException: Cannot find ActionMappings or
ActionFormBeans collection
at org.apache.struts.taglib.html.FormTag.lookup(FormTag.java:773)
at org.apache.struts.taglib.html.FormTag.doStartTag(FormTag.java:481)
at /LoginForm.jsp._jspService(/LoginForm.jsp.java:69) (JSP page line 6)

I have the struts.jar in the WEB-INF/lib dir.  I have attached snippets from
my web.xml, LoginForm.jsp and struts-config.xml file to reference.

JSP
<%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %>
<%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %>




WEB.XML
  
action
org.apache.struts.action.ActionServlet

  config
  /WEB-INF/struts-config.xml


  debug
  0


  detail
  0


  validate
  true


  application
  ApplicationResources

2
  
  
  
action
*.action
  

STRUTS CONFIG
    




Any thoughts on this?

Shawn Catoe

"I'm a kid whos got alot of problems and if I throw a brick maybe that brick
will go and solve 'em"


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




RE: 1001st time this question gets asked

2002-04-19 Thread Shawn Catoe

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?
Thanks,
Shawn Catoe









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


Hi Shawn

Hope this is might solve your problem.

 
 

Why don't you add a slash in front

And you could as well say this "/accept"
in  too.

Get Back

Cheers
Arul

- Original Message -----
From: Shawn Catoe <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
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
> (theserverside.com, jguru.com, 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.
> STRUTS-CONFIG.XML
> 
> 
> 
> type="recipe.actions.LoginAction"
>name="loginForm"
>scope="request"
>input="Index.jsp">
> 
> --
> LoginForm.jsp
> 
>
> Someone please tell me what is going on..if you need more information,
I
> 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
brick
> will go and solve 'em"
>
>
> --
> To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>




1001st time this question gets asked

2002-04-18 Thread Shawn Catoe

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
(theserverside.com, jguru.com, 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.
STRUTS-CONFIG.XML





--
LoginForm.jsp


Someone please tell me what is going on..if you need more information, I
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 brick
will go and solve 'em"


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>