I did something like this, because I had my own classes I would create
that were used by Servlets, but not exclusively. All I did was specify
the path in my system CLASSPATH environment variable. As long as that was
specified in the environment that Orion started in, it seemed to work just
fine.
-Alex
On Fri, 17 Nov 2000 16:07:22 +0100, J.T. Wenting wrote:
> I think he means the classpath not for servlets but for external resources
> like beans.
> The default place for this is /orion/lib and <web-app>/WEB-INF/classes, but
> is it possible to set other locations and if so, how to do it?
>
> Jeroen T. Wenting
> [EMAIL PROTECTED]
>
> Murphy was wrong, things that can't go wrong will anyway
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Sven van 't
> > Veer
> > Sent: Friday, November 17, 2000 14:29
> > To: Orion-Interest
> > Subject: Re: help...servlet claspath
> >
> >
> >
> >
> > Edmund Cheung wrote:
> > >
> > > Hi,
> > >
> > > In weblogic, I defined the servlet classpath in the weblogic
> > properties file
> > > as follow;
> > >
> > > weblogic.httpd.servlet.classpath=D:/weblogic/myserver/servletclasses
> > >
> > weblogic.httpd.register.UserManagerController=servlet.UserManagerC
> > ontroller
> > >
> > > In my jsp, I call thsi servlet name
> > > <form method="post" action="/UserManagerController">
> > >
> > > In Orion, I defined the following in web.xml but where should
> > I define the
> > > classpath for servlet ?
> > >
> > > <servlet>
> > > <servlet-name>UserManagerController</servlet-name>
> > > <description>User manager controller</description>
> > > <servlet-class>servlet.UserManagerController</servlet-class>
> > > ......
> > > </servlet>
> > >
> > > Thanks & reagrds,
> > >
> > > Edmund
> > Actually you don't have to do anything in Orion. Just putting the
> > classfile for the servlen in
> > orion/applications/your_app/your_app-web/WEB-INF/classes
> > makes the servlet available to Orion by calling:
> > http://localhost/servlet/YourServlet
> >
> > sven
> >
> > --
> > ==================================================================
> > ====================
> > Sven E. van 't Veer
> > http://www.cachoeiro.net
> > Java Developer
> > [EMAIL PROTECTED]
> > ==================================================================
> > ====================
> >
>
>