Return-Path: Delivered-To: apmail-tomcat-users-archive@www.apache.org Received: (qmail 35434 invoked from network); 4 Jun 2006 13:02:10 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Jun 2006 13:02:10 -0000 Received: (qmail 79853 invoked by uid 500); 4 Jun 2006 13:01:58 -0000 Delivered-To: apmail-tomcat-users-archive@tomcat.apache.org Received: (qmail 79832 invoked by uid 500); 4 Jun 2006 13:01:58 -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 79819 invoked by uid 99); 4 Jun 2006 13:01:57 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Jun 2006 06:01:57 -0700 X-ASF-Spam-Status: No, hits=1.9 required=10.0 tests=DNS_FROM_RFC_ABUSE,DNS_FROM_RFC_POST,MSGID_FROM_MTA_HEADER,SPF_HELO_PASS,SPF_PASS X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: domain of mgainty@hotmail.com designates 65.54.174.90 as permitted sender) Received: from [65.54.174.90] (HELO hotmail.com) (65.54.174.90) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 04 Jun 2006 06:01:57 -0700 Received: from mail pickup service by hotmail.com with Microsoft SMTPSVC; Sun, 4 Jun 2006 06:01:36 -0700 Message-ID: Received: from 71.232.6.177 by BAY103-DAV18.phx.gbl with DAV; Sun, 04 Jun 2006 13:01:34 +0000 X-Originating-IP: [71.232.6.177] X-Originating-Email: [mgainty@hotmail.com] X-Sender: mgainty@hotmail.com Reply-To: "Martin Gainty" From: "Martin Gainty" To: "Tomcat Users List" References: <96ff86990606031523g7c8dea0y83e6484c65ea0337@mail.gmail.com> <4482B593.6070605@guxx.net> Subject: Re: ajax response from tomcat by including JSP from a servlet - fails silently when HTML is badly formed. Date: Sun, 4 Jun 2006 09:01:21 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=response Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2900.2869 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2869 X-OriginalArrivalTime: 04 Jun 2006 13:01:36.0865 (UTC) FILETIME=[033C7510:01C687D7] X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N Guido-- Thats certainly one way to accomplish the objective- But I found using the parsers from XERCES and scanning the examples a better way to handle understanding the element, attributes and content of each node to be a better way Take a look at http://xerces.apache.org/xerces-j/ HTH, Martin -- This email message and any files transmitted with it contain confidential information intended only for the person(s) to whom this email message is addressed. If you have received this email message in error, please notify the sender immediately by telephone or email and destroy the original message without making a copy. Thank you. ----- Original Message ----- From: "Guido Schoepp" To: "Tomcat Users List" Sent: Sunday, June 04, 2006 6:27 AM Subject: Re: ajax response from tomcat by including JSP from a servlet - fails silently when HTML is badly formed. > Have you ever tried to treat the HTML as CDATA? > > Like that: > out.print(" id=\"myresponse\"> > request.getRequestDispatcher("/jsp/MyJSP.jsp").include(request, > response); > > out.print("]]>"); > out.close(); > > This will not solve your logging problem, but maybe the root cause of your > troubles ;-) > > Guido > > > --------------------------------------------------------------------- > 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 > > --------------------------------------------------------------------- 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