Tomcat resources

2008-12-09 Thread tomkitten
I would like a web application to read in some data from a text file (I tried using .class.getResourceAsStream). I am not sure how to write the context.xml file. Also would the solution be the same if I am using a hibernate.cfg.xml file to talk to my database? I should also say that my web

RE: Tomcat resources

2008-12-09 Thread tomkitten
Sorry if the question is unclear. How can I use a hibernate.cfg.xml (hibernate configuration) as resource in a war file? What needs to go into the Context.xml? Thanks Caldarale, Charles R wrote: From: Kees de Kooter [mailto:[EMAIL PROTECTED] Subject: Re: Tomcat resources Is this some