Re: Classloading questions

2006-05-01 Thread Michael Echerer
Christopher Piggott wrote: As an experiment, I placed a file in the webapp dir of a servlet (not in WEB-INF but in the directory above it) and attempted to read it using getResource(). What I found was that I could not locate the resource unless I used getServletContext().getResource().

Classloading questions

2006-04-30 Thread Christopher Piggott
As an experiment, I placed a file in the webapp dir of a servlet (not in WEB-INF but in the directory above it) and attempted to read it using getResource(). What I found was that I could not locate the resource unless I used getServletContext().getResource(). Reading through the Classloading