Pau,

basically you need to specify mappings for the generated servlets, so they
can be accessed by the same uri as JSPs would be. Then you also need the JSP
runtime in your classpath.
An exact way how to do this may be very dependent on your server. If your
server supports the servlet 2.2 specification, they you will be able to use
the Jasper (jakarta.apache.org) JspC command line compiler to insert the
appropriate mappings to your web.xml deployment descriptor. If not, then you
will need to use your server's proprietary mechanism for specifying servlet
mappings.

Then you will need to use the Jasper runtime with your server. You may run
into some issues here too, since Jasper is almost independent of Tomcat (for
which it was primarily written), but not quite.

Another way to accomplish this would be to port a JSP compiler (Jasper) for
use with your server.

Hope this helps
Petr

> -----Original Message-----
> From: Pau Garc�a [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, December 05, 2000 12:13 PM
> To: [EMAIL PROTECTED]
> Subject: JSP like Servlets
>
>
>    Hi,
>
>    We need to install our JSP project into a server wich only supports
> Servlets. I supose that is possible to call the Servlets
> generated from
> the JSP pages and Java Beans directly like a Servlet, placing them in
> the directory "servlets". Does anybody know how?
>
>    Thanks!
>
> Pau Garc�a
>
> ==============================================================
> =============
> To unsubscribe: mailto [EMAIL PROTECTED] with body:
> "signoff JSP-INTEREST".
> For digest: mailto [EMAIL PROTECTED] with body: "set
> JSP-INTEREST DIGEST".
> 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".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
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