Mike Cannon-Brookes wrote:

> Sure, just set up a virtual directory tag in the default-web-app to point to
> the directory you want on disk. Look at
> http://www.orionserver.com/docs/orion-web.xml.html (I think that's the right
> URL)
>
> Your alternative is to set up a whole new web-app by placing a WEB-INF
> directory w/ web.xml file in it, then binding the new web app to /myapp.
> (This is my preference for portability although it probably isn't as quick
> if you don't really know what you're doing)
>

We use Resin and Orion for Web Apps by putting our files into an EAR
structure(from J2EE). This lets us have 1 line of configuration in two files in
Orion and only one small section in the Resin config file. The resin config
needs to point to the web directory inside the EAR which is expanded. We make
no changes to the app from one system to the other.

Eric :-)

>
> Cheers,
> Mike
>
> > -----Original Message-----
> > From: [EMAIL PROTECTED]
> > [mailto:[EMAIL PROTECTED]]On Behalf Of Matthew Baird
> > Sent: Tuesday, 20 June 2000 10:15
> > To: Orion-Interest
> > Subject: simple(?) directory question
> >
> >
> > I've got an application I developed on a different app server (Resin), and
> > I've had it running on several offer servers, and in each case I
> > haven't had
> > to move .jsp's or class file paths. For development this great, speeds
> > things up immensely. Is there any way of using my current directory
> > structure within Orion? I've been over the documentation, however
> > I find it
> > cryptic in parts and I can't figure out a way to do this.
> >
> > I simply want to map /myapp/ to c:\myapp\
> >
> > is this possible in Orion? It used to be about 6 months ago when
> > I was using
> > an earlier version.
> >
> > thanks,
> > Matthew Baird
> >
> >


Reply via email to