tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Christopher Go" <ch...@msmedia.com>
Subject Re: accessing directly servlets classes possible?
Date Fri, 28 Jul 2000 21:36:40 GMT
If the classpath is set to /absolutepath/servlets and you want to execute a
*packaged* class (i.e. they are under
/servlets/com/company/product1/xxx.class, you have to call the class as

http://localhost:portnumber:/test/servlets/com.company.product1.xxx



----- Original Message -----
From: "Markus Colombo" <markus.colombo@customercare.ch>
To: <tomcat-user@jakarta.apache.org>
Sent: Friday, July 28, 2000 4:20 AM
Subject: Re: accessing directly servlets classes possible?


> Hi
>
> If you type: http://localhost:portnumber:/test/servlets/xxx , the Servlet
> xxx.class is executed
>
> Regards
>
> Markus Colombo
>
> mike niemaz wrote:
>
> > Hi,
> >     Just for information, is it possible to directly access
> >     servlets classes from the browser?
> >     I mean by typing for ex:
> > http://localhost:portnumber:/test/servlets/xxx.class?
> >     Knowing that "servlets" is the "mounted" dir where tomcat is looking
> > for
> >     servlets classes inside the "test" context.
> >     I guess there might be some conf to be done in the tomcat.conf,
> > server.xml
> >     or even web.xml files ... donno how ;-(
> >
> >     Any idea?
> >
> > Thanx,
> >
> > --mike
>
>


Mime
View raw message