| Author |
Generating Xml file in run-time
|
Ashwin Sridhar
Ranch Hand
Joined: Jul 09, 2011
Posts: 272
|
|
HI,
I am generating the xml file at runtime and when i try to run the application, i find that xml file is not in the classpath. How to solve this issue.
The bean wiring is all working fine. I have this issue of xml file not being found in the classpath. Any suggestions
|
Ashwin Sridhar
SCJP | SCWCD | OCA
|
 |
Ashwin Sridhar
Ranch Hand
Joined: Jul 09, 2011
Posts: 272
|
|
When i read the XML from FileSystem, it is working fine.
But when i read from Classpath, it doesn't find the file in the classpath
|
 |
Ashwin Sridhar
Ranch Hand
Joined: Jul 09, 2011
Posts: 272
|
|
|
This was resolved by pointing the run-time Xml file directly to the build path.
|
 |
Rohit Mehta
Ranch Hand
Joined: Mar 11, 2005
Posts: 77
|
|
|
I was pondering upon generating the xml file at runtime for some time. Your code seems useful. Thanks.
|
 |
Ashwin Sridhar
Ranch Hand
Joined: Jul 09, 2011
Posts: 272
|
|
|
Thank you. I am happy it helped you out
|
 |
 |
|
|
subject: Generating Xml file in run-time
|
|
|