Class NetworkExplorer

  • All Implemented Interfaces:
    Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

    public class NetworkExplorer
    extends javax.servlet.http.HttpServlet
    This servlet may be used to "browse" the entire hierarchy of resources on an SMB network like one might with Network Neighborhood or Windows Explorer. The users credentials with be negotiated using NTLM SSP if the client is Microsoft Internet Explorer.
    See Also:
    Serialized Form
    • Constructor Detail

      • NetworkExplorer

        public NetworkExplorer()
    • Method Detail

      • init

        public void init()
                  throws javax.servlet.ServletException
        Overrides:
        init in class javax.servlet.GenericServlet
        Throws:
        javax.servlet.ServletException
      • doFile

        protected void doFile​(javax.servlet.http.HttpServletRequest req,
                              javax.servlet.http.HttpServletResponse resp,
                              SmbFile file)
                       throws IOException
        Throws:
        IOException
      • doDirectory

        protected void doDirectory​(javax.servlet.http.HttpServletRequest req,
                                   javax.servlet.http.HttpServletResponse resp,
                                   SmbFile dir)
                            throws IOException
        Throws:
        IOException
      • doGet

        public void doGet​(javax.servlet.http.HttpServletRequest req,
                          javax.servlet.http.HttpServletResponse resp)
                   throws IOException,
                          javax.servlet.ServletException
        Overrides:
        doGet in class javax.servlet.http.HttpServlet
        Throws:
        IOException
        javax.servlet.ServletException