is this for all forms you submit`? did you take a look at the sample-application? it works fine for me, with struts1.1 and RI from sun (version 1.1)
Cheers, > -----Original Message----- > From: Josh Porter [mailto:[EMAIL PROTECTED] > Sent: Friday, June 25, 2004 9:03 PM > To: Struts Users Mailing List > Subject: Re: <s:form> tag in Struts-Faces > > > I get the following exception: > > javax.servlet.ServletException: java.lang.NullPointerException > at > javax.faces.webapp.FacesServlet.service(FacesServlet.java:209) .... > > with root cause listed as > > javax.faces.el.EvaluationException: java.lang.NullPointerException > at > com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:206) > at > com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:154) > at javax.faces.component.UIData.getValue(UIData.java:527) > at javax.faces.component.UIData.getDataModel(UIData.java:848) > at javax.faces.component.UIData.setRowIndex(UIData.java:379) > at javax.faces.component.UIData.iterate(UIData.java:890) .... > > Caused by: java.lang.NullPointerException > at > org.apache.struts.faces.application.PropertyResolverImpl.getVa > lue(PropertyResolverImpl.java:146) > at > com.sun.faces.el.impl.ArraySuffix.evaluate(ArraySuffix.java:167) > at > com.sun.faces.el.impl.ComplexValue.evaluate(ComplexValue.java:151) > at > com.sun.faces.el.impl.ExpressionEvaluatorImpl.evaluate(Express > ionEvaluatorImpl.java:243) > at > com.sun.faces.el.ValueBindingImpl.getValue(ValueBindingImpl.java:173) > ... 53 more > > > > Matthias Wessendorf wrote: > > >Do you get any exceptions on submitting a form? > > > >regards, > > > > > > > >>-----Original Message----- > >>From: Josh Porter [mailto:[EMAIL PROTECTED] > >>Sent: Thursday, June 24, 2004 11:37 PM > >>To: [EMAIL PROTECTED] > >>Subject: <s:form> tag in Struts-Faces > >> > >> > >>I am trying to develop a web application using Struts, Tiles, and > >>JavaServer Faces, connected by the Struts-Faces integration > >>library. I > >>can't seem to make the <s:form> tag work. > >> > >>The code I wrote looks like: > >><s:form action="/search"> > >> > >>The /search action is configured in struts-config.xml to > forward to a > >>search results tile. > >> > >>The code renders like this: > >> > >><form id="navbar:_id19" > >>action="/WebInterface/faces/start.jsp;jsessionid=B61380A7B5F73 > >>72ABE0CA4D8FF109123" method="post"> > >> > >>where start.jsp is the page the form is on. This happens with other > >>forms too; when the <s:form> tag is rendered, the action > attribute is > >>directed back on the current page. > >> > >>I read the following article, which proposed sort of a hack to solve > >>this problem: > >>--> http://www-106.ibm.com/developerworks/library/j-integrate/ > >>except this was written last September for an older version of > >>Struts-Faces, and some of the code it tells you to change is > >>different > >>now. I couldn't get this to work. > >> > >>How do I get around this problem? It seems like something > >>pretty basic, > >>so I apologize if this is something that's been well > covered already, > >>but I couldn't find information about it anywhere. > >> > >>-- Josh > >> > >> > > --------------------------------------------------------------------- > 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]