1.2.4 Connecting to a WebLogic Server from a Client Browser
In addition to its other Java services, the WebLogic Server is a
fully functional HTTP server that supports Java HTTP servlets. In
general, each servlet must be registered with a virtual name in the
config.xml
file.
A servlet may be invoked directly, that is, may actually present
HTML to the browser, or may be invoked indirectly from an HTML form
when the user submits the form. When the WebLogic Server receives a
request containing the registered virtual name of a servlet, it
invokes the appropriate servlet's service()
method.
For more information on HTTP servlets, refer to the Programming
WebLogic HTTP Servlets guide.
The HTTP servlet's service()
method (which invokes either the servlet's doPost()
or doGet()
method, depending on the context) is invoked and passes an HttpServletRequest
object containing the HTTP data sent from the browser. In the example packages described in “Using the Example Packages”, the client's query data is used in a transaction call to Tuxedo, and the response is built into the new HTML page.
Parent topic: How Jolt for WebLogic Works