org.openmobileis.services.servlet
Class FileServlet

java.lang.Object
  extended byHttpServlet
      extended byorg.openmobileis.services.servlet.FileServlet

public class FileServlet
extends HttpServlet

Title: OpenMobileIS project source
Description: Load the URL specified file and send it. handle index.html if no file is specified. Does not allow directory listing.

Since:
JDK 1.1
Version:
1.0.
Author:
Philippe Delrieu
See Also:
Serialized Form

Constructor Summary
FileServlet()
           
 
Method Summary
 java.lang.String getServletInfo()
           
 void init()
           
 void service(HttpServletRequest req, HttpServletResponse res)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FileServlet

public FileServlet()
Method Detail

init

public void init()
          throws ServletException
Throws:
ServletException

getServletInfo

public java.lang.String getServletInfo()

service

public void service(HttpServletRequest req,
                    HttpServletResponse res)
             throws ServletException,
                    java.io.IOException
Throws:
ServletException
java.io.IOException


Copyright 2006 OpenMobileIS. All Rights Reserved.