[xsl] mozilla document function does not work when given a redirect code (301 or 302)

Subject: [xsl] mozilla document function does not work when given a redirect code (301 or 302)
From: Robert Koberg <rob@xxxxxxxxxx>
Date: Tue, 18 Apr 2006 06:35:21 -0400
Hi,

There is an open bug in mozilla's bug tracker where the document function will not work if you are redirecting a request. In my case I have a manager webapp (using java and tomcat) that monitors and/or filters XML files that are called into a client side XSL transformation using the document function. I was doing a simple response.sendRedirect which was sending a 302 code (so it seems transformix/mozilla is not finding the XML). I have worked around this by using a RequestDispatcher and forwarding the request. I would prefer to do the simple redirect as I now have to get the context of a child webapp and forward to it.

In case anyone is interested in voting on this bug, go here:

https://bugzilla.mozilla.org/show_bug.cgi?id=334179

best,
-Rob

Current Thread