you are absolutely correct. I have inserted a temporary workaround. thanks for responding.

best regards,
douglas reames


From: "Navjot Singh" <[EMAIL PROTECTED]>
Reply-To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Subject: RE: FileNotFoundException when creating FileInputStream
Date: Thu, 19 Jun 2003 20:29:56 +0530

hi,

May be you are trying to get HTTP file using File Stream,
that's why ;-)

navjot


|-----Original Message----- |From: douglas reames [mailto:[EMAIL PROTECTED] |Sent: Thursday, June 19, 2003 6:14 PM |To: [EMAIL PROTECTED] |Cc: [EMAIL PROTECTED] |Subject: FileNotFoundException when creating FileInputStream | | |When I attempt to open an XSL file to complete a transformation, I get the |exception FileNotFound. Steps: | | [1] Get file location from properties file without problem: | String myXsl = |getProperties().getProperty("fop.render.article"); | | String contents: |"http://localhost/artimus/pdf/renderPdf.xsl"; ( verified by logging ) | | [2] construct FileInputStream from string, and I get exception | FileInputStream in = new FileInputStream(myXsl); | | Err msg: java.io.FileNotFoundException: |http:\localhost\artimus\pdf\renderPdf.xsl | |Note from the message that FileInputStream appears to change the address. | |How do I force the constructor to accept the whole address? | |regards, |douglas reames |rms finance |919 929 3465 | |_________________________________________________________________ |MSN 8 helps eliminate e-mail viruses. Get 2 months FREE*. |http://join.msn.com/?page=features/virus | | |--------------------------------------------------------------------- |To unsubscribe, e-mail: [EMAIL PROTECTED] |For additional commands, e-mail: [EMAIL PROTECTED] | |


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


_________________________________________________________________
Protect your PC - get McAfee.com VirusScan Online http://clinic.mcafee.com/clinic/ibuy/campaign.asp?cid=3963



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



Reply via email to