Because of my lack of knowledge of programming in java i gave up on trying to make the servlet work. I guess to do this you would have to incorporate a buffered reader and http connection somehow and read the file this way. For now the web page that calls the servlet uploads the file to the server where the servlet resides before calling it. This solution isn't ideal because the upload is done via ftp and requires me to allow extra permissions on the server that runs the servlet (network/file) but it works.
if anyone comes up with a servlet that does what i discussed in previous msgs in this thread... post it :) Thanks for the help -Adam -----Original Message----- From: Adam Shelley [mailto:[EMAIL PROTECTED] Sent: March 21, 2003 2:36 PM To: [EMAIL PROTECTED] Subject: RE: url to xml/xsl file in servlet Okay, What I'm trying to do was simply modify the existing FopServlet.java file to accept a url as paramater so that the xml source file and xsl file are read from the remote server via http and not from the local file system. I thought from what i read about the prepackaged java libraries that there would be a simple way to use a prebuilt java class function to change the File(xmlParam) where xmlParam would = something like c:\path\to\xmldata.xml to something like URL(xmlParam) where xmlParam would = http://url.to/xmldata.xml i seem to be wrong tho. Like i stated, java is foreign to me. Thanks tho :( -Adam --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
