tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kurt R. Hoehn" <hoeh...@etechstudios.com>
Subject Re: JServ Port
Date Thu, 16 Nov 2000 04:54:20 GMT
http://www.mySiteName.com/myWebApp/servlet/testapackage.SomePackageClass

You can also  modify the web.xml under the WEB-INF so you dont have to
prefix the package

Kurt

----- Original Message -----
From: <JTBldrCO@aol.com>
To: <tomcat-user@jakarta.apache.org>
Cc: <JTBldrCO@aol.com>
Sent: Wednesday, November 15, 2000 8:39 PM
Subject: JServ Port


> I am porting a web app from JServ to Tomcat on Linux.  I have having
trouble
> configuring servlets that reside in my own packages.  My test cases can
> access .class files in:
>
> /usr/local/jakarta-tomcat/webapps/myWebApp/WEB-INF/classes
>
> I can access for example "SnoopServlet.class" in that subdir with an
address
> like:
>
> http://www.mySiteName.com/myWebApp/servlet/SnoopServlet
>
> Now suppose I have a class, SomePackageClass, declared to be in package
> testapackage within its .java code file.  Its compiled form is in the
> following location and file:
>
>
/usr/local/jakarta-tomcat/webapps/myWebApp/WEB-INF/classes/testapackage/Some
Pa
>
> ckageClass.class
>
> Now, I would like to (but cannot seem to) access it with:
>
> http://www.mySiteName.com/myWebApp/servlet/testapackage/SomePackageClass
>
> What configuration steps must I take?  Or, how can I access it from that
> location?
>
> Thanks,
> John Thompson
> Boulder, Colorado, USA
> JTBldrCO@aol.com
>
>
>


Mime
View raw message