Setting WebLogic Server Specific ParametersIf there are any WebLogic Server specific parameters, they are registered in the weblogic.xml file, not the web.xml file. Listeners do not have any WebLogic Server specific settings, so you need not modify weblogic.xml. Execute the ProgramThe listener is implicitly invoked when the browser requests any of the servlets loaded in the WebLogic Server. Since listeners are a callback application for your servlets, providing behind-the-scenes functionality, you cannot show the output on the browser. Hence, you will look at the WebLogic Server's console to verify whether or not your listeners were invoked. The output on the server console should be similar to the screen shot in Figure 4.8. Figure 4.8. The server console with the system output showing the invocation of the listeners. |