You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Dmitri Colebatch <di...@ozemail.com.au> on 2001/06/18 16:04:43 UTC

Re: JSP mapping

Eitan,

Are you running standalone or with a web server?  Assuming you're
running standalone, and that there's not much else you're using tomcat
for, all you need to do is remove the "/"MyJspDirectory" from the
context path and it should work fine.

cheesr
dim

Eitan Ben Noach wrote:
> 
> HI,
> 
> I want to map JSPs called by browser at the http server root, like
> http://victoria.xx.yy/zz.jsp to be handled by JSP file that is located some
> were else then
> the default c:\jakarta-tomcat-3.2.3\webapps\root\zz.jsp, for example by
> c:\winnt\zz.jsp.
> 
> I've succeeded on configuring Tomcat to handle JSP files at the context path
> /MyJspDirectory to be handled by JSP files at the c:\winnt directory by
> changing the server.xml file by defining:
>   <Context path="/MyJspDirectory" docBase="c:/winnt" />
> 
> In that way the browser link http://victoria.xx.yy/MyJspDirectory/zz.jsp is
> handles by  c:\winnt\zz.jsp.
> How can I do the same for the link http://victoria.xx.yy/zz.jsp ?
> 
> It seems that it should be solved through the "ApJServMount" and  "Alias"
> directives as well as the server.xml ( and maybe web.xml ),
> but how?
> 
> Thanks
> -----------------------------
> Eitan Ben-Noach
> Proficiency, Ltd.
> 
> Tel: +972.2.548.0287
> Fax: +972.2.586.3871
> email: eitanb@proficiency.com
> 
> The Intelligence in Engineering Supply Chain Collaboration
> <http://www.proficiency.com/>
> 
> > ----- Original Message -----
> > From: <ja...@nameonthe.net>
> > To: <to...@jakarta.apache.org>
> > Sent: Monday, June 18, 2001 2:13 PM
> > Subject: Re: Vs: Vs: mod_webapp.so needed
> >
> >
> > > Give this a whirl:
> > >
> > > http://www.nameonthe.net/techcorn/tomcat/mod_webapp.so
> > >
> > > The next part is actually configuring it?!
> > >
> > > James
> > > >
> > > > why not....I canĀ“t lose anything...:)....thanks! and yes,
> > we are talking about RH.
> > > > Will you give me address where I can download it?
> > > >
> > > > -jari
> > > >
> > > > ----- Original Message -----
> > > > From: <ja...@nameonthe.net>
> > > > To: <to...@jakarta.apache.org>
> > > > Sent: Monday, June 18, 2001 1:46 PM
> > > > Subject: Re: Vs: mod_webapp.so needed
> > > >
> > > >
> > > > > I've got it compiled for Redhat 6.2, although that's a
> > 2.2 kernel and Linux 7.1 (I assumed we're talking Redhat) is
> > 2.4. If you want to give it a try I'll upload it to my server?
> > > > >
> > > > > James
> > > > > >
> > > > > > Sorry....Linux 7.1, Apache 1.3.19, Tomcat 4b5
> > > > > >
> > > > > >
> > > > > >
> > > > > > ----- Original Message -----
> > > > > > From: <ja...@nameonthe.net>
> > > > > > To: <to...@jakarta.apache.org>
> > > > > > Sent: Monday, June 18, 2001 12:54 PM
> > > > > > Subject: Re: mod_webapp.so needed
> > > > > >
> > > > > >
> > > > > > > It would help if you specified for which platform.
> > > > > > > >
> > > > > > > > Hi,
> > > > > > > >
> > > > > > > > Can somebody tell me where I can get
> > mod_webapp.so or perhaps send it to me? I need it asap.
> > > > > > > >
> > > > > > > > thanks
> > > > > > > >
> > > > > > > > -jari
> > > > > > > >
> > > > > > >
> > > > > > >
> > > > > >
> > > > >
> > > > >
> > > >
> > >
> > >
> >