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" <[EMAIL PROTECTED]>
To: "Tomcat Users List" <users@tomcat.apache.org>
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("<ajax-response><response type=\"object\"
id=\"myresponse\"><myresponsedata><![CDATA[");
request.getRequestDispatcher("/jsp/MyJSP.jsp").include(request,
response);
out.print("]]></myresponsedata></response></ajax-response>");
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]