JarURLConnection and 4.0.2 missing java.io.tmpdir ../temp

2002-02-19 Thread chris monster
Hi guys, this appears to have already been corrected subsequent to the 402 final (ie, the nightly tomcat build) - however, I thought it might be very worthwhile for others to know. the System Property java.io.tmpdir is set on Catalina startup to "../temp", however, no empty temp dir is included i

Re: ServletContext.getResource() never null?

2001-08-14 Thread chris monster
> > > > in testing several containers including Tomcat 3.1.1, i was unable to > > get a null ( where a test for null would have been, um, desirable ), nor > > did it appear that the presence or absence of a leading "/" made any > > difference. > > > > Sounds like a bug in 3.1.1. But it's unlikel

re: Re: ServletContext.getResource() never null?

2001-08-13 Thread chris monster
thanx guys! sorry, in the future i will try to exhaust later versions before i post... ;) > It also looks a totally different place -- inside /WEB-INF/classes or > inside JAR files under /WEB-INF/lib. true! however, my purpose was to create a singleton wrapper for access to resources by non-se

ServletContext.getResource() never null?

2001-08-13 Thread chris monster
in the api-docs for ServletContext.getResource( String path ), it is further specified that: "This method returns null if no resource is mapped to the pathname." and "The path must begin with a "/"..." are these stipulations in the servlet api-docs valid? in testing several containers incl