WebLogic Server 6.1 Code Examples, BEA Systems, Inc.

examples.iiop.wls2wls
Class InteropServlet

java.lang.Object
  |
  +--javax.servlet.GenericServlet
        |
        +--javax.servlet.http.HttpServlet
              |
              +--examples.iiop.wls2wls.InteropServlet
All Implemented Interfaces:
java.io.Serializable, javax.servlet.Servlet, javax.servlet.ServletConfig

public class InteropServlet
extends javax.servlet.http.HttpServlet

Call this servlet using an URL such as

http://localhost:/examplesWebApp/InteropServlet?hostname=&port=

Author:
Adapted by WebLogic, Inc.; adaptions copyright (c) 2001 by WebLogic, Inc. All Rights Reserved.

Constructor Summary
InteropServlet()
           
 
Method Summary
 void doGet(javax.servlet.http.HttpServletRequest req, javax.servlet.http.HttpServletResponse res)
          Finds the trader home on 6.1 server, creates the bean and calls methods on the bean's remote interfaces.
 void log(java.lang.String pStr)
           
 
Methods inherited from class javax.servlet.http.HttpServlet
, doDelete, doHead, doOptions, doPost, doPut, doTrace, getLastModified, service, service
 
Methods inherited from class javax.servlet.GenericServlet
destroy, getInitParameter, getInitParameterNames, getServletConfig, getServletContext, getServletInfo, getServletName, init, init, log
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

InteropServlet

public InteropServlet()
Method Detail

doGet

public void doGet(javax.servlet.http.HttpServletRequest req,
                  javax.servlet.http.HttpServletResponse res)
           throws javax.servlet.ServletException,
                  java.io.IOException
Finds the trader home on 6.1 server, creates the bean and calls methods on the bean's remote interfaces.
Overrides:
doGet in class javax.servlet.http.HttpServlet
Parameters:
req - HttpServletRequest
res - HttpServletResponse
Throws:
java.io.IOException - if there is an IO error

log

public void log(java.lang.String pStr)
Overrides:
log in class javax.servlet.GenericServlet

Documentation is available at
http://e-docs.bea.com/wls/docs61

Copyright © 2001 BEA Systems, Inc. All Rights Reserved.