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
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");
}