-
Any chance that this patch will make it into 1.6.1 or 1.7 or whatever may be the next version - I find it highly useful being left handed as well....
2009-09-18 20:22:51 UTC in rdesktop
-
Well as you can see - I'm using Tomcat 5.5 and as such JSP 2.0 (from the tomcat site:)
Servlet/JSP Spec Apache Tomcat version
2.5/2.1 6.0.20
2.4/2.0 5.5.27
so my suggested code is fine as we only need to reset in case of an Ajax response and that piece of code works for me. Including later is not an option as I need a piece on form to be manageable...
2009-07-29 13:54:53 UTC in Ajax JSP Tag Library
-
A bit more information:
Tomcat 5.5.27
Struts 1.2.9
Using a tag will set the response.commited to true even with the flush="false" attribute, causing later on the IlegalStateException.
Shouldn't initParameters be more like:
public void initParameters() throws JspException {
if (isAjaxRequest() ) {
if(getHttpServletResponse().isCommitted()) {.
2009-07-29 11:07:38 UTC in Ajax JSP Tag Library
-
2009-07-27 17:01:28,328 ERROR [http-8180-Processor23] core.ApplicationDispatcher (ApplicationDispatcher.java:711) - Servlet.service() for servlet jsp threw exception
java.lang.IllegalStateException
at org.apache.catalina.connector.ResponseFacade.reset(ResponseFacade.java:308)
at org.apache.catalina.core.ApplicationHttpResponse.reset(ApplicationHttpResponse.java:119)
at...
2009-07-27 22:02:18 UTC in Ajax JSP Tag Library