HAHA,

my attempt at understanding java has failed miserably.  I added

import java.net.URL

and made the modifications i mentioned and ant yells at me when i try to run
it.  says something about a depreciated api.  woe is me.

-Adam

-----Original Message-----
From: Adam Shelley [mailto:[EMAIL PROTECTED]
Sent: March 21, 2003 10:58 AM
To: [EMAIL PROTECTED]
Subject: RE: url to xml/xsl file in servlet


Hello,

can anyone verify if this will work:

changing the servlet from

XSLTInputHandler(new URL(xmlParam), new URL(xslParam));

instead of

XSLTInputHandler(new FILE(xmlParam), new FILE(xslParam));

I don't know anything about java but in my searches i have found this type
of 'input stream' (?) used.  I just have a big problem where I have a web
page that calls the servlet (that resides on another server) and it needs to
be able to pass the XML data into the servlet.  In the faq they have an
example of using a 'transformerfactory' to input the actual XML string into
the servlet but this would require that all xml data be smaller the the http
POST/GET limitations.  I was hoping to be able to modify the servlet in such
a way that it will load the data from a temp url located on another server.

If anyone has done such a modification and wants to pass on how they did it,
howto to do it, that would be super appreciated.

-Adam



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to