Adding JMCR-Stable version
[Benchmarks_CSolver.git] / JMCR-Stable / mcr-test / WWW / User / Reference / w3c.jigsaw.servlet.ServletWrapper.html
diff --git a/JMCR-Stable/mcr-test/WWW/User/Reference/w3c.jigsaw.servlet.ServletWrapper.html b/JMCR-Stable/mcr-test/WWW/User/Reference/w3c.jigsaw.servlet.ServletWrapper.html
new file mode 100644 (file)
index 0000000..c09c9be
--- /dev/null
@@ -0,0 +1,114 @@
+<HTML>\r
+<HEAD>\r
+  <!-- Created by GNNpress -->\r
+  <TITLE>ServletWrapper reference manual</TITLE>\r
+<!-- Changed by: Anselm Baird-Smith,  4-Feb-1997 -->\r
+</HEAD>\r
+<BODY BGCOLOR="white">\r
+<A HREF="http://www.w3.org/pub/WWW/" TARGET="_top_">\r
+ <IMG SRC="/icons/WWW/w3c_home.gif"\r
+  ALT="W3C"\r
+  BORDER="0" WIDTH="72" HEIGHT="48"></A>\r
+<A HREF="http://www.w3.org/pub/WWW/Jigsaw/" TARGET="_top_">\r
+ <IMG SRC="/icons/jigsaw" ALT="Jigsaw" BORDER="0">\r
+</A>\r
+<HR>\r
+<A HREF="resources.html">All Resources</A>  \r
+<A HREF="filters.html">All filters </A>\r
+<HR>\r
+<H1>\r
+  ServletWrapper\r
+</H1>\r
+<P>\r
+This resource allows you to embed\r
+<A HREF="http://www.javasoft.com/products/Jeeves/" TARGET="_top">Servlets</A>\r
+in Jigsaw. The ServletWrapper resource works in conjunction with the\r
+<A HREF="w3c.jigsaw.servlet.ServletDirectory.html">ServletDirectory</A> resource,\r
+that acts as a <I>context</I> for &nbsp;a set of related servlets. You can\r
+install multiple servlet directory resources within the same <B>Jigsaw</B>\r
+process.\r
+<P>\r
+To install a servlet within <B>Jigsaw</B>, you need to install an instance\r
+of the ServletWrapper resource in the <B>Jigsaw</B> URL space, and then configure\r
+it and tell it what servlet class it should embed (by using the\r
+<A HREF="#servlet-class">servlet-class</A> parameter).\r
+<P>\r
+  <HR>\r
+<H2>\r
+  Inherits\r
+</H2>\r
+<P>\r
+The\r
+<A HREF="../api/w3c.jigsaw.servlet.ServletWrapper.html">ServletWrapper</A>\r
+class inherits from the following classes:\r
+<UL>\r
+  <LI>\r
+    <A HREF="w3c.jigsaw.resources.FilteredResource.html">FilteredResource</A>\r
+</UL>\r
+<P>\r
+  <HR>\r
+<H2>\r
+  Attributes description\r
+</H2>\r
+<P>\r
+The ServletWrapper defines the following attributes:\r
+<UL>\r
+  <LI>\r
+    <A HREF="#servlet-class">servlet-class</A>\r
+  <LI>\r
+    <A HREF="#servlet-parameters">servlet-parameters</A>\r
+</UL>\r
+<P>\r
+  <HR>\r
+<P>\r
+<CODE><A NAME="servlet-class">servlet-class</A></CODE>\r
+<DL>\r
+  <DT>\r
+    <I>semantics</I>\r
+  <DD>\r
+    The name of the main class for the servlet. That name should resolve to a\r
+    subclass of <CODE>java.servlet.Servlet</CODE>. The servlet wrapper will only\r
+    run the servlet when doable, it will otherwise (when the servlet class is\r
+    not instantiable, or some other servlet initialization error occurs) emit\r
+    an error message back to the client and report the problem in <B>Jigsaw</B>'s\r
+    main error log.\r
+  <DT>\r
+    <I>type</I>\r
+  <DD>\r
+    This attribute is a mandatory\r
+    <A HREF="../api/w3c.jigsaw.resources.StringAttribute.html">StringAttribute</A>\r
+  <DT>\r
+    <I>default value</I>\r
+  <DD>\r
+    This attribute has no default value, and is mandatory.\r
+</DL>\r
+<P>\r
+  <HR>\r
+<P>\r
+<CODE><A NAME="servlet-parameters">servlet-parameters</A></CODE>\r
+<DL>\r
+  <DT>\r
+    <I>semantics</I>\r
+  <DD>\r
+    This attribute lists the servlet initialization parameters. Each attribute\r
+    has a <I>name</I> and a <I>value</I>, both of them are instances of String.\r
+  <DT>\r
+    <I>type</I>\r
+  <DD>\r
+    This attribute is a\r
+    <A HREF="../api/w3c.jigsaw.resources.PropertiesAttribute.html">PropertiesAttribute</A>\r
+  <DT>\r
+    <I>default value</I>\r
+  <DD>\r
+    This attribute has no default value.\r
+</DL>\r
+<P>\r
+  <HR>\r
+<P>\r
+<I><A HREF="mailto:jigsaw@w3.org">Jigsaw Team</A><BR>\r
+</I>$Id: w3c.jigsaw.servlet.ServletWrapper.html,v 1.1 1996/12/27 14:59:59\r
+abaird Exp $\r
+<P>\r
+<P>\r
+<P>\r
+</BODY></HTML>\r