Yes, please submit a patch. 2.4 is NOT mandatory. thanks, dims
On 9/23/05, Young, Wayne <[EMAIL PROTECTED]> wrote: > I'm seeing this error under BEA 8.1 SP3. > > java.lang.NoSuchMethodError: > javax.servlet.http.HttpServletResponse.setCharacterEncoding(Ljava/lang/S > tring;)V > at > org.apache.axis2.transport.http.ServletBasedOutTransportInfo.setCharacte > rEncoding(ServletBasedOutTransportInfo.java:33) > at > org.apache.axis2.transport.http.CommonsHTTPTransportSender.invoke(Common > sHTTPTransportSender.java:134) > at > org.apache.axis2.engine.AxisEngine.sendFault(AxisEngine.java:178) > at > org.apache.axis2.transport.http.AxisServlet.doPost(AxisServlet.java:211) > > HttpServletResponse.setCharacterEncoding(String string) wasn't added > until servlet 2.4. Is this a bug or is 2.4 a requirement now? This code > seems to have been modified in the last couple of weeks. > > http://marc.theaimsgroup.com/?l=axis-dev&w=2&r=1&s=setCharacterEncoding& > q=b > > We could use the more portable setContentType() and include the charset > there. I will be happy to fix this and submit a patch if there is > concensus that 2.4 isn't mandatory. If it is required, I am done with > AXIS2 for now. :( > > Thanks. > > Wayne > [EMAIL PROTECTED] > > -- Davanum Srinivas : http://wso2.com/ - Oxygenating The Web Service Platform
