A
autogoor
I am using xml and xslt to transfer c:\mydir\a.xml to c:\mydir\a.java
with c:\mydir\a.xsl. My program works fine on my laptop. Then I copy
everything (java program, xml, xsl) to my desktop, but it throws an
exception saying
java.io.FileNotFoundException: file:\C:\mydir\a.java
I think the problem is the "file:\". I did a test. To verify this
I run my program on LPATOP as
myprogram c:\mydir\a.xml c:\mydir\a.xsl c:\mydir1\a.java.
Since I do not have a directory called "mydir1" on the laptop, it
throws a exception saying
java.io.FileNotFoundException: C:\mydir1\a.java
Ho can I got rid of the "file:\" on my desktop?
THanks,
with c:\mydir\a.xsl. My program works fine on my laptop. Then I copy
everything (java program, xml, xsl) to my desktop, but it throws an
exception saying
java.io.FileNotFoundException: file:\C:\mydir\a.java
I think the problem is the "file:\". I did a test. To verify this
I run my program on LPATOP as
myprogram c:\mydir\a.xml c:\mydir\a.xsl c:\mydir1\a.java.
Since I do not have a directory called "mydir1" on the laptop, it
throws a exception saying
java.io.FileNotFoundException: C:\mydir1\a.java
Ho can I got rid of the "file:\" on my desktop?
THanks,