You must use that as

/servlets/<servlet-classname>

Luv,
Saravanan
----- Original Message -----
From: Craig R. McClanahan <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Sunday, November 19, 2000 12:38 AM
Subject: Re: How to access servlets in Other Servlet Engine


> Raja Nagendra Kumar wrote:
>
> > Hi!
> >
> > I have made a webapplication that runs perfectly well in TomCat 3.1 but
if I
> > move the same thing to WebLogic it is failing to load sevlets.  It
appears to me
> > that servlet/ServletClassName is not valid here.
> >
> > Does the webapplication standards does not, specify that all the
servlets needs
> > to accesable  in the following format
> > http://host/sevletContext/servlet/xxx.xxx.ServletClassName
> >
>
> No, it does not.  The approach of supporting the "/servlet" mapping (often
called
> the invoker servlet) is very commonly, but it is not part of the
specification.
>
> >
> > Is this format specific to tomcat alone??
> >
>
> To find out what is in the standard, you'd be best off reading the Servlet
API
> Specification, version 2.2, which you can download at
> <http://java.sun.com/products/servlet/download.html>.  There, you will
find that a
> <servlet-mapping> element in your web.xml file is the standard mechanism
for
> assigning request URIs to servlets.  You can even make mappings that match
> "/servlet/xxx.xxx.ServletClassName" if you want to, but you'll need to
create such a
> mapping for each individual servlet that is included in your application.
>
> >
> > Regards,
> > Nagendra
> >
>
> Craig McClanahan
>
>
===========================================================================
> 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