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]

Reply via email to