Return-Path: Delivered-To: apmail-felix-dev-archive@www.apache.org Received: (qmail 36353 invoked from network); 23 Sep 2009 15:20:43 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 23 Sep 2009 15:20:43 -0000 Received: (qmail 66477 invoked by uid 500); 23 Sep 2009 15:20:42 -0000 Delivered-To: apmail-felix-dev-archive@felix.apache.org Received: (qmail 66404 invoked by uid 500); 23 Sep 2009 15:20:42 -0000 Mailing-List: contact dev-help@felix.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@felix.apache.org Delivered-To: mailing list dev@felix.apache.org Received: (qmail 66394 invoked by uid 99); 23 Sep 2009 15:20:42 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Sep 2009 15:20:42 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 23 Sep 2009 15:20:40 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 8B3A3234C4A7 for ; Wed, 23 Sep 2009 08:20:20 -0700 (PDT) Message-ID: <2076716409.1253719220569.JavaMail.jira@brutus> Date: Wed, 23 Sep 2009 08:20:20 -0700 (PDT) From: "Carsten Ziegeler (JIRA)" To: dev@felix.apache.org Subject: [jira] Created: (FELIX-1636) Html footer and header are always added to the response for a servlet plugin MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org Html footer and header are always added to the response for a servlet plugin ---------------------------------------------------------------------------- Key: FELIX-1636 URL: https://issues.apache.org/jira/browse/FELIX-1636 Project: Felix Issue Type: Bug Components: Web Console Affects Versions: webconsole-2.0.0 Reporter: Carsten Ziegeler Fix For: webconsole-2.0.0 If a plugin is registered as a plain servlet, the WebConsolePluginAdapter wraps this servlet and handle GET requests Regardless of the requested uri, the html header and footer is always added to the response which causes messed uprequests if the servlet wants to generate dynamic json (or other stuff). I guess the easiest way is to check the extension in the AbstractWebConsolePlugin#doGet() After the check for spoolResource a check of the extension could be made - if no extension or htm or html, put the footer or header around. For any other extension just invoke render. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.