Thanks for the code reference. I looked at it and the message I highlighted is logged immediately after the call to processRequest() that does the actual forward. processRequest can return without doing anything and not throw an error in the case that request.getAttribute(ApplicationFilterFactory.DISPATCHER_TYPE_ATTR) is null. In Globals (where the constant originates), it is commented "Request dispatcher state". There's a method (matchDispatcher()) which enumerates some values based on FilterMap, like FORWARD,FORWARD_ERROR,INCLUDE_FORWARD,INCLUDE_ERROR_FORWARD,REQUEST_FORW ARD, etc. I would think that, when the code initiates a forward, that this would be set, but it seems that, in this case, it is not.
It seems to me, naively, that if the forward isn't going to be performed, that an error should be thrown, or at least a log message explaining what went wrong. Something else I discovered is that, if I do includes instead of forwards, I see the contents I'm looking for. Unfortunately, I'm using struts and thus am concerned that there are side-effects to changing the RequestProcessor to do includes instead of forwards. In any case, more help is appreciated. Thanks, Derek Richardson > -----Original Message----- > From: Shapira, Yoav [mailto:[EMAIL PROTECTED] > Sent: Friday, August 27, 2004 2:52 PM > To: Tomcat Users List > Subject: RE: Disabling the response for futher out > > > Hi, > Maybe something is close the response writer? Maybe > ImportResponseWrapper is doing that? Anyways, grep > http://cvs.apache.org/viewcvs.cgi/jakarta-tomcat-catalina/cata > lina/src/s > hare/org/apache/catalina/core/ApplicationDispatcher.java?rev=1 > .39&view=m > arkup for "Disabling the response" if you're interested in the code. > > > Yoav Shapira > Millennium Research Informatics > > > >-----Original Message----- > >From: Derek Richardson [mailto:[EMAIL PROTECTED] > >Sent: Friday, August 27, 2004 2:28 PM > >To: Tomcat Users List > >Subject: Disabling the response for futher out > > > >JDK 1.4.2 > >Tomcat 5.0.19 > > > >I'd be ecstatic if someone sheds some light on why I see this in my > log: > > > >2004-08-27 10:14:31,324 [http8080-Processor24] DEBUG > >org.apache.catalina.core.ApplicationDispatcher - Disabling the > response > >for futher output > > > >The context is: > > > >2004-08-27 10:14:31,262 [http8080-Processor24] DEBUG > >org.apache.struts.tiles.TilesRequestProcessor - > >processForwardConfig(/portlet/md/save.do, false) > >2004-08-27 10:14:31,262 [http8080-Processor24] DEBUG > >org.apache.struts.tiles.TilesRequestProcessor - > '/portlet/md/save.do' > >- processed as uri > >2004-08-27 10:14:31,277 [http8080-Processor24] DEBUG > >org.apache.struts.action.RequestProcessor - > >processForwardConfig(ForwardConfig[name=customize,path=/portl > et/md/save > . > >do,redirect=false,contextRelative=false]) > >2004-08-27 10:14:31,293 [http8080-Processor24] DEBUG > >org.apache.catalina.core.ApplicationDispatcher - > >servletPath=/portlet/md/save.do, pathInfo=null, queryString=null, > >name=null > >2004-08-27 10:14:31,309 [http8080-Processor24] DEBUG > >org.apache.catalina.core.ApplicationDispatcher - Path Based Forward > >2004-08-27 10:14:31,324 [http8080-Processor24] DEBUG > >org.apache.catalina.core.ApplicationDispatcher - Disabling the > response > >for futher output > >2004-08-27 10:14:31,324 [http8080-Processor24] DEBUG > >org.apache.catalina.core.ApplicationDispatcher - The Response is > >vehiculed using a wrapper: > >org.apache.taglibs.standard.tag.common.core.ImportSupport$Imp > ortRespons > e > >Wrapper > > > >I never see the output of /portlet/md/save.do. > > > >Thanks, > > > >Derek Richardson > > > >--------------------------------------------------------------------- > >To unsubscribe, e-mail: [EMAIL PROTECTED] > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > This e-mail, including any attachments, is a confidential > business communication, and may contain information that is > confidential, proprietary and/or privileged. This e-mail is > intended only for the individual(s) to whom it is addressed, > and may not be saved, copied, printed, disclosed or used by > anyone else. If you are not the(an) intended recipient, > please immediately delete this e-mail from your computer > system and notify the sender. Thank you. > > > --------------------------------------------------------------------- > 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]
