Re: Struts-Faces action
Hi all, I solved my problem, I changed my action from /login.do to just /login and it worked. :-) Now I am facing another problem... :-( I am getting all my ActionForm attributes as null. Does anybody can help me? Do I need to use the value attribute of h:inputText tag as #{ ActionForm.attribute} ? If so, I am already using. Thanks, Rodrigo Pereira
Struts-Faces action
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 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
Re: Struts-Faces action
On 1/5/07, Rodrigo Pereira [EMAIL PROTECTED] 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
Re: Struts-Faces action
Yes, I have one 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 Thanks, Rodrigo Pereira On 1/5/07, Craig McClanahan [EMAIL PROTECTED] wrote: On 1/5/07, Rodrigo Pereira [EMAIL PROTECTED] 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