Class sun.server.http.SSIncludeHandler
All Packages  Class Hierarchy  This Package  Previous  Next  Index

Class sun.server.http.SSIncludeHandler

java.lang.Object
   |
   +----sun.server.http.SSIncludeHandler

public class SSIncludeHandler
extends Object
The class which parses the .shtml file and invokes the embedded servlets with the parameters referenced in the html. The html syntax for the tag is
<servlet code=Foo.class param1=val1 param2=val2>
<param name=param3 value=val3>
.
.
</servlet>
In this example the file up to the servlet tag would be sent to the client unmodified. The class foo would be instantiated and service would be called on it with the File's input stream the client as the OutputStream and a hashtable with code, param1, and param2 as the parameter.

Method Index

 o service(HttpServletRequest, InputStream, ServletResponse)
Method which parses the file and invokes the Servlets.
 o service(HttpServletRequest, ServletResponse)
Method which parses the file and invokes the Servlets.

Methods

 o service
  public void service(HttpServletRequest req,
                      ServletResponse res) throws IOException
Method which parses the file and invokes the Servlets. Errors are written to the errorLog.
 o service
  public void service(HttpServletRequest req,
                      InputStream input,
                      ServletResponse res) throws IOException
Method which parses the file and invokes the Servlets. Errors are written to the errorLog.

All Packages  Class Hierarchy  This Package  Previous  Next  Index