Hi,

We currently employ the

<SERVLET code="com.package.Servlet">
</SERVLET>

calls right now, and have been replacing them with

<jsp:include page="/servlet/com.package.Servlet" />

calls.

The /servlet/ is mapped to where your class package starts, but other than
that, its pretty much the same. IF your using JSP 1.1, you can do the

<jsp:include page="/servlet/com.package.Servlet">
<jsp:param name="name" value="value" />
</jsp:include>

to include params like you can in the servlet. JSP 1.0 did not support the
<jsp:param..> tag.

Tomcat and Resin both support Servlet 2.2, JSP 1.1, so you should be good to
go there.


>-----Original Message-----
>From: A mailing list about Java Server Pages specification and reference
>[mailto:[EMAIL PROTECTED]]On Behalf Of Rich Carreiro
>Sent: Thursday, April 13, 2000 2:53 PM
>To: [EMAIL PROTECTED]
>Subject: JSP equivalent of JHTML <SERVLET></SERVLET>
>
>
>I am dealing with some JHTML pages (stuff parsed with the Sun-provided
>pageCompile
>servlet that shipped with JWS 1.1 and is still in JWS 2.0 but deprecated)
>that use
>the <SERVLET></SERVLET> tags to embed servlet output into a page.
>
>As far as I can tell from reading the JSP spec, these tags are not part of
>JSP, nor
>do I see an obvious equivalent.  Anyone know the canonical
>methodology to do
>this
>in JSP?  Thanks!
>
>Rich Carreiro                                   [EMAIL PROTECTED]
>Senior Software Engineer
>Centra Software
>
>===========================================================================
>To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
>JSP-INTEREST".
>Some relevant FAQs on JSP/Servlets can be found at:
>
> http://java.sun.com/products/jsp/faq.html
> http://www.esperanto.org.nz/jsp/jspfaq.html
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
> http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets
>

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to