Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 81579 invoked from network); 12 May 2008 21:27:02 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 12 May 2008 21:27:02 -0000 Received: (qmail 75828 invoked by uid 500); 12 May 2008 21:26:51 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 75803 invoked by uid 500); 12 May 2008 21:26:51 -0000 Mailing-List: contact users-help@tomcat.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: "Tomcat Users List" Delivered-To: mailing list users@tomcat.apache.org Received: (qmail 75792 invoked by uid 99); 12 May 2008 21:26:51 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 May 2008 14:26:51 -0700 X-ASF-Spam-Status: No, hits=1.2 required=10.0 tests=SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [64.97.136.176] (HELO n082.sc1.he.tucows.com) (64.97.136.176) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 12 May 2008 21:26:04 +0000 Received: from sc1-out02.emaildefenseservice.com (64.97.139.2) by n082.sc1.he.tucows.com (7.2.069.1) id 4769FAD4013F20DA for users@tomcat.apache.org; Mon, 12 May 2008 21:26:18 +0000 X-SpamScore: 2 X-Spamcatcher-Summary: 2,0,0,ed3ff1e2adbd3f3f,27e50aa26017d076,markt@apache.org,-,RULES_HIT:355:379:599:601:854:945:988:989:1187:1260:1261:1277:1311:1313:1314:1345:1358:1359:1437:1515:1516:1518:1534:1540:1593:1594:1711:1730:1747:1766:1792:2379:2393:2559:2562:2828:3027:3352:3865:3866:3867:3868:3869:3870:3871:3872:3873:3874:5007:7652:7903,0,RBL:none,CacheIP:none,Bayesian:0.5,0.5,0.5,Netcheck:none,DomainCache:0,MSF:not bulk,SPF:fu,MSBL:none,DNSBL:none,TSO:0 X-Spamcatcher-Explanation: Received: from [192.168.0.100] (unknown [91.109.138.171]) (Authenticated sender: med.thomas) by sc1-out02.emaildefenseservice.com (Postfix) with ESMTP for ; Mon, 12 May 2008 21:26:17 +0000 (UTC) Message-ID: <4828B5ED.8060508@apache.org> Date: Mon, 12 May 2008 22:26:05 +0100 From: Mark Thomas User-Agent: Thunderbird 2.0.0.14 (Windows/20080421) MIME-Version: 1.0 To: Tomcat Users List Subject: Re: Missing Context error text References: <4828799C.9000300@doit.wisc.edu> In-Reply-To: <4828799C.9000300@doit.wisc.edu> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org Eric Dalquist wrote: > Is this behavior, writing to the underlying response object, dictated by > the spec? Is this required of Tomcat versus writing to the PrintWriter > provided by the response wrapper. Not that I can see in the spec. Also, my quick test shows that the DefaultServlet (which creates the missing resource message) calls getWriter() on the wrapped response object as expected. It is possible you are missing a wrapper somewhere? If not, if you create a new bug and attach the simplest test case that demonstrates the issue (two classes: a wrapper and a servlet should be enough) I'll take a closer look. BTW, if you don't like the message, using your own DefaultServlet (eg the Tomcat one less the few lines of code that write the message) would be a way around it. Mark --------------------------------------------------------------------- To start a new topic, e-mail: users@tomcat.apache.org To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org For additional commands, e-mail: users-help@tomcat.apache.org