Tomcat Users,

Where do I need to put files (in this case XML files) so that my servlets have access 
to them without worrying about paths? I've tried a few places but keep getting a 
nullPointerException.

I started this project in JBuilder and have had my XML files just inside the project 
folder and things have been working fine.  Now I'm trying to move it over to a tomcat 
install and have had troubles.  Any hints?

I'm able to write a simple text file but it shows up outside the tomcat install 
directory in C:\Documents and Settings\student\Start Menu\Programs\Apache Tomcat 4.0 
which I find baffling.  I tried putting my XML files in this directory but I still get 
the nullPointerException.

    I'm pretty new to tomcat so feel free to just refer to a handy URL to answer my 
question if one exists.  

Thanks,

James

Reply via email to