All Examples This Package
java.lang.Object | +----javax.servlet.GenericServlet | +----javax.servlet.http.HttpServlet | +----examples.servlets.PageEvent
To run this example, compile it and register the servlet with the initArg "imagefile" set to a local image file on your WebLogic Server host. Then start WebLogic. At a command-line prompt, start the WebLogic utility, eventsnoop, and register an interest in the page-related events with the following command:
$ java utils.eventsnoop t3://localhost:7001 HTTPWATCHwhere t3://localhost:7001 corresponds to the host and port of your running WebLogic Server. Then access the page. You'll see the resulting events in the command window.
WebLogic also has a builtin service that allows you to register an interest in HTTP events and have them logged in common log format to an HTTP log. For more info, read the WebLogic Administrators Guide document, Setting up WebLogic as an HTTP server.
public PageEvent()
public void service(HttpServletRequest req, HttpServletResponse res) throws IOException
public String getServletInfo()
All Examples This Package