java.lang.Object | +--javax.servlet.GenericServlet | +--javax.servlet.http.HttpServlet | +--examples.servlets.HelloWorldServlet
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig
Here is the build.xml file.
To pull it up, go to:
www.setgetweb.com:7001/examplesWebApp/HelloWorldServlet
prompt> cd $SAMPLES_HOME/server/examples/src/examples/servlets
prompt> ant HelloWorldServlet
http://www.setgetweb.com:7001/examplesWebApp/HelloWorldServlet
For more information on servlets see Programming WebLogic HTTP Servlets.
Copyright (c) 1999-2003 by BEA Systems, Inc. All Rights Reserved.
Constructor Summary
|
void |
javax.servlet.http.HttpServletResponse)">service (javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
A very simple implementation of the service method, which outputs the contents of a static html page |
Methods inherited from class javax.servlet.http.HttpServlet |
doDelete, doGet, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service |
Methods inherited from class javax.servlet.GenericServlet |
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log, log |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
public HelloWorldServlet()
public void service(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res) throws java.io.IOException
A very simple implementation of the service method, which outputs the contents of a static html page
service in class javax.servlet.http.HttpServlet
java.io.IOException