RE: Why File.toURI() makes ServletContextListener jump contextDestroyed() directly?

2002-10-15 Thread Shapira, Yoav
Hi, >I found when I use method toURI( ) of class File in ServletContextListener, >it will jump contextDestroyed( ) directly. >Did I misuse? Yes. Exceptions in your contextInitialized() method can result in the container not initializing your context. In fact, the desired behavior IMHO in that

Why File.toURI() makes ServletContextListener jump contextDestroyed() directly?

2002-10-12 Thread mark
Hello: I found when I use method toURI( ) of class File in ServletContextListener, it will jump contextDestroyed( ) directly. Did I misuse? I use Tomcat 4.1. Ex¡G public class Test implements ServletContextListener { public Test( ) { System.out.println("Constructor"); }