struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig McClanahan" <craig...@apache.org>
Subject Re: Struts-Faces action
Date Fri, 05 Jan 2007 18:21:22 GMT
On 1/5/07, Rodrigo Pereira <rodpereira.rj@gmail.com> wrote:
>
> Hi,
> I am new to JSF and Struts-Faces integration library. I am facing a
> problem
> but I did not find any documentation about this.
>
> That's the error I am getting:
>
> SEVERE: Servlet.service() for servlet jsp threw exception
> java.lang.IllegalArgumentException: Cannot find action '/login.do'
> configuration


The implication of this message is that there is no action named "/login" in
your Struts configuration files.  Do you have one?

Craig

    at org.apache.struts.faces.renderer.FormRenderer.encodeBegin(
> FormRenderer.java:115)
>     at javax.faces.component.UIComponentBase.encodeBegin(
> UIComponentBase.java:317)
>     at javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java
> :374)
>     at javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java
> :261)
>
> The action is there in my struts-config.xml as following:
>
>     <action attribute="formLogin" name="formLogin" path="/login"
> scope="request" type="com.strutsfaces.LoginAction" validate="false">
>       <forward name="success" path="/userLogin.faces"
> contextRelative="true"
> />
>       <forward name="failure" path="/formLogin.faces"
> contextRelative="true"
> />
>     </action>
>
> Does anybody can help me?
>
> Thanks,
> Rodrigo Pereira
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message