Re: Access XML file inside the Java File

2010-08-04 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Chandra, On 8/4/2010 6:28 AM, Chandana Napagoda wrote: > I have Domain class it need to read file and need to return File object. > When I'm getting my file object. My domain class always try to access in Bin > ("D:\Share\apache-tomcat-6.0.20\bin\conn

RE: Access XML file inside the Java File

2010-08-04 Thread Caldarale, Charles R
> From: Chandana Napagoda [mailto:cnapag...@gmail.com] > Subject: Access XML file inside the Java File > > I have Domain class it need to read file and need to return > File object. Bad design. When running inside an app server, there's no guarantee that you have any acce

Access XML file inside the Java File

2010-08-04 Thread Chandana Napagoda
Hi All, I have Domain class it need to read file and need to return File object. When I'm getting my file object. My domain class always try to access in Bin ("D:\Share\apache-tomcat-6.0.20\bin\connections.xml") It it possible to access read file inside the War file? Thanks, Chandana