java.lang.Object
javax.servlet.GenericServlet
javax.servlet.http.HttpServlet
org.apache.derby.drda.NetServlet
- All Implemented Interfaces:
- Serializable,- Servlet,- ServletConfig
This servlet can be used to start Derby Network Server from a remote location.
    
These servlet configuration parameters are understood by this servlet.
- portNumber - Port number to use. The default is 1527.
- startNetworkServerOnInit - Starts the Derby Network Server at servlet initialization if 'true'.
- tracingDirectory - Directory for trace files
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionvoiddoGet(HttpServletRequest request, HttpServletResponse response) Get the form of NetServlet.voiddoPost(HttpServletRequest request, HttpServletResponse response) Get the form of NetServlet.voidinit(ServletConfig config) Initialize the servlet.Methods inherited from class javax.servlet.http.HttpServletserviceMethods inherited from class javax.servlet.GenericServletdestroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, log, log
- 
Constructor Details- 
NetServletpublic NetServlet()
 
- 
- 
Method Details- 
initInitialize the servlet. Configuration parameters:- portNumber - Port number
- host - Host name
- traceDirectory - location of trace directory
- startNetworkServerOnInit - start the server on initialization
 - Specified by:
- initin interface- Servlet
- Overrides:
- initin class- GenericServlet
- Throws:
- ServletException
 
- 
doGetpublic void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException Get the form of NetServlet. Provides buttons and forms to control the Network server.- Throws:
- ServletException
- IOException
 
- 
doPostpublic void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException Get the form of NetServlet. Provides a buttons and form to control the Network server- Throws:
- ServletException
- IOException
 
 
-