I compile struts-faces2 from cvs and i get next error when I try log in (I register, log off and try log in) :
HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:358) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) javax.servlet.http.HttpServlet.service(HttpServlet.java:856) com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322) com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:142) com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87) com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200) com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117) javax.faces.webapp.FacesServlet.service(FacesServlet.java:198) root cause java.lang.NullPointerException javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:676) javax.faces.component.UIViewRoot.encodeBegin(UIViewRoot.java:323) javax.faces.webapp.UIComponentTag.encodeBegin(UIComponentTag.java:574) javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:461) org.apache.jsp.logon_jsp._jspx_meth_s_errors_0(logon_jsp.java:131) org.apache.jsp.logon_jsp._jspService(logon_jsp.java:104) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:133) javax.servlet.http.HttpServlet.service(HttpServlet.java:856) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248) javax.servlet.http.HttpServlet.service(HttpServlet.java:856) com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:322) com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:142) com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:87) com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:200) com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:117) javax.faces.webapp.FacesServlet.service(FacesServlet.java:198) note The full stack trace of the root cause is available in the Apache Tomcat/5.0 logs On Wednesday 14 April 2004 04:07 pm, Matthias Wessendorf wrote: > Hi, > > did you look into struts-faces > there are two examples(one with tiles) > > the jsps are all with JSF-"Tags" > > and there is a <h:commandLink action="#{backingBean.method}" > ...>-Componentent, > the > public String method(){ > > } > call a struts-action (on ExternalContext.dispatch) > > i hope/guess you mean that. > > cheers, > > Matthias > > PS: three backingBeans are included in example2... > > > > -----Original Message----- > > From: Sharath Reddy [mailto:[EMAIL PROTECTED] > > Sent: Wednesday, April 14, 2004 2:43 PM > > To: [EMAIL PROTECTED] > > Subject: how to use JSF tree control in a Struts application? > > > > > > hello, > > > > i have an existing struts application, and i need to > > add a tree control. i thought i would take a look at > > JSF. however, the only concrete example i found for > > integrating struts and JSF: > > > http://www-106.ibm.com/developerworks/library/j-integrate/ > > deals only with a simple form. is it possible to use > the tree control? how do i distinguish between the > different kinds of clicks (node expanded vs. leaf > selected) in my struts action class? > > thanks! > > sharath > > > > > > > > > __________________________________ > Do you Yahoo!? > Yahoo! Tax Center - File online by April 15th > http://taxes.yahoo.com/filing.html > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]