Tomcatでは
System.out.println(Log4jInitServlet.class.getResource("/")); System.out.println(Log4jInitServlet.class.getResource(".")); System.out.println(Log4jInitServlet.class.getResource("lib")); System.out.println(Log4jInitServlet.class.getResource("/../lib/"));
の結果は
file:/C:/Documents and Settings/xxxx/My Documents/IBM/wssd/workspace/xxxx/Web Content/WEB-INF/classes/ null null file:/C:/Documents and Settings/xxxx/My Documents/IBM/wssd/workspace/xxxx/Web Content/WEB-INF/lib/
WASでは(正確にはWSSD)
file:/C:/Program%20Files/IBM/WebSphere%20Studio/Site%20Developer/v5.1/runtimes/base_v5/properties/ file:/C:/Documents and Settings/m-kino/My Documents/IBM/wssd/workspace/FrameworkWebApplication/Web Content/WEB-INF/classes/kino/servlet/init/ null file:/C:/Program Files/IBM/WebSphere Studio/Site Developer/v5.1/runtimes/base_v5/java/lib/
おいっっ