tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mark Senefsky <msenef...@yahoo.com>
Subject Re: Newbie Contexts
Date Sun, 10 Jun 2001 16:49:28 GMT
Thanks for the help...

What I'd really like to do is be able to run jsp's and servlets through my
root web directory without having to add the files to examples/*. For
example: http://www.mydomain.com/cart.jsp instead of:
http://www.mydomain.com/examples/jsp/cart.jsp

How is this accomplished?
Can I establish a context that points to a directory outside the tomcat
directory?

Thanks,
Mark

> From: Krishna Kant T <krishnakant@compulsesys.com>
> Organization: ComPulse Systems
> Reply-To: tomcat-user@jakarta.apache.org
> Date: Mon, 10 Jun 2002 17:43:17 +0530
> To: tomcat-user@jakarta.apache.org
> Subject: Re: Newbie Contexts
> 
> hi there,
> 
> u can set up new contexts by adding new directories within webapps.
> each dir could be a context/app and could have dirs for jsp , images ,
> web-inf,
> etc.
> 
> ~krishnakant
> 
> Mark Senefsky wrote:
> 
>> Greetings all...
>> 
>> OK I think the solution to my previous email "Newbie Help (the sequel)" is
>> related to contexts. Currently the only context for my server points to the
>> examples directory.
>> 
>> How do I establish new Contexts?
>> 
>> Using Tomcat admin what goes in each of these inputs?
>> 
>> Path: (assume directory path?)
>> Document Base: (no clue.)
>> Context Name: (whatever I choose?)
>> 
>> Thanks,
>> Mark
>> 
>> _________________________________________________________
>> Do You Yahoo!?
>> Get your free @yahoo.com address at http://mail.yahoo.com


_________________________________________________________
Do You Yahoo!?
Get your free @yahoo.com address at http://mail.yahoo.com


Mime
View raw message