Class WarUrlFinder


  • public class WarUrlFinder
    extends java.lang.Object
    Version:
    $Revision: 1 $
    • Constructor Summary

      Constructors 
      Constructor Description
      WarUrlFinder()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static java.net.URL findWebInfClassesPath​(javax.servlet.ServletContext servletContext)
      Find the URL pointing to "/WEB-INF/classes" This method may not work in conjunction with IteratorFactory if your servlet container does not extract the /WEB-INF/classes into a real file-based directory
      static java.net.URL findWebInfClassesPath​(javax.servlet.ServletContextEvent servletContextEvent)  
      static java.net.URL[] findWebInfLibClasspaths​(javax.servlet.ServletContext servletContext)  
      static java.net.URL[] findWebInfLibClasspaths​(javax.servlet.ServletContextEvent servletContextEvent)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • WarUrlFinder

        public WarUrlFinder()
    • Method Detail

      • findWebInfLibClasspaths

        public static java.net.URL[] findWebInfLibClasspaths​(javax.servlet.ServletContextEvent servletContextEvent)
      • findWebInfLibClasspaths

        public static java.net.URL[] findWebInfLibClasspaths​(javax.servlet.ServletContext servletContext)
      • findWebInfClassesPath

        public static java.net.URL findWebInfClassesPath​(javax.servlet.ServletContextEvent servletContextEvent)
      • findWebInfClassesPath

        public static java.net.URL findWebInfClassesPath​(javax.servlet.ServletContext servletContext)
        Find the URL pointing to "/WEB-INF/classes" This method may not work in conjunction with IteratorFactory if your servlet container does not extract the /WEB-INF/classes into a real file-based directory
        Parameters:
        servletContext -
        Returns:
        null if cannot determin /WEB-INF/classes