You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Mr Junior <jl...@gmail.com> on 2008/07/31 21:06:37 UTC

Tomcat Newbie

Hey all, i'm sort of new to Tomcat. I am trying to add a sub-folder to my
website. Basically, I already have HTTP://<website>/arsys. I want to add a
HTTP://<website>/dev. I found, in the conf/catalina that there was an
arsys.xml that stated the path as /arsys, and told the installation path to
the application.

I can copy this, rename the path to /dev, and keep the website link the
same, but then I don't have any control of the content of hte page. Going to
http://<website>/dev will just do the same thing that going to
http://<website>/arsys will do. I need to be able to drop in a different
index.htm file in the /dev directory of my website so that I can control
what content the users see. 

In IIS, I can create a folder to store this. I'm trying to figure out how to
do this in Tomcat, but am not having very much luck.

Any help is greatly appreciated!

Thanks.
-- 
View this message in context: http://www.nabble.com/Tomcat-Newbie-tp18761326p18761326.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat Newbie

Posted by David Smith <dn...@cornell.edu>.
Just create a folder named dev in tomcat's webapps directory and put 
your redirect page in there.  You won't need the xml file unless you are 
defining database pools and/or other resources.  If the redirect page is 
a jsp, you will have to go further, creating a WEB-INF folder in the dev 
folder and a web.xml file inside that.

--David

Mr Junior wrote:
> I need dev to have its own context root. The only file I will have in /dev
> will be a redirect to the arsys webapp, so i don't need a totally new
> webapp. I just need to be able to have an http://<server>/dev instead of
> http://<server>/arsys/dev.
>
> Thanks
>
>
>
> Alessandro Ferrucci-3 wrote:
>   
>> This sounds like you're simply trying to deploy another webapp with the
>> context root of /dev.  Am I mistaken?
>>
>> or do you want to put a folder inside the arsys webapp called dev, but
>> want
>> dev to have its own context root?
>>
>> Please explain in more detail.
>>
>> -- 
>> Signed,
>> Alessandro Ferrucci
>>
>> Does your webapps directory look like the following:
>>
>> On Thu, Jul 31, 2008 at 3:06 PM, Mr Junior <jl...@gmail.com> wrote:
>>
>>     
>>> Hey all, i'm sort of new to Tomcat. I am trying to add a sub-folder to my
>>> website. Basically, I already have HTTP://<website>/arsys. I want to add
>>> a
>>> HTTP://<website>/dev. I found, in the conf/catalina that there was an
>>> arsys.xml that stated the path as /arsys, and told the installation path
>>> to
>>> the application.
>>>
>>> I can copy this, rename the path to /dev, and keep the website link the
>>> same, but then I don't have any control of the content of hte page. Going
>>> to
>>> http://<website>/dev will just do the same thing that going to
>>> http://<website>/arsys will do. I need to be able to drop in a different
>>> index.htm file in the /dev directory of my website so that I can control
>>> what content the users see.
>>>
>>> In IIS, I can create a folder to store this. I'm trying to figure out how
>>> to
>>> do this in Tomcat, but am not having very much luck.
>>>
>>> Any help is greatly appreciated!
>>>
>>> Thanks.
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Tomcat-Newbie-tp18761326p18761326.html
>>> Sent from the Tomcat - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To start a new topic, e-mail: users@tomcat.apache.org
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>
>>>       
>>     
>
>   


-- 
David Smith
Programmer/Analyst
College of Agriculture and Life Sciences
Cornell University
B32 Morrison Hall
Ithaca, NY 14853
Phone: (607) 255-4521


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: [programmazione] Re: Tomcat Newbie

Posted by Luca Cicale <in...@alsoftware.it>.
If you can use the root application create a dev  directory into ROOT
or
create a new context named dev

Bye
Luca


--------------------------------------------------
From: "Mr Junior" <jl...@gmail.com>
Sent: Thursday, July 31, 2008 9:45 PM
To: <us...@tomcat.apache.org>
Subject: [programmazione] Re: Tomcat Newbie

>
> I need dev to have its own context root. The only file I will have in /dev
> will be a redirect to the arsys webapp, so i don't need a totally new
> webapp. I just need to be able to have an http://<server>/dev instead of
> http://<server>/arsys/dev.
>
> Thanks
>
>
>
> Alessandro Ferrucci-3 wrote:
>>
>> This sounds like you're simply trying to deploy another webapp with the
>> context root of /dev.  Am I mistaken?
>>
>> or do you want to put a folder inside the arsys webapp called dev, but
>> want
>> dev to have its own context root?
>>
>> Please explain in more detail.
>>
>> -- 
>> Signed,
>> Alessandro Ferrucci
>>
>> Does your webapps directory look like the following:
>>
>> On Thu, Jul 31, 2008 at 3:06 PM, Mr Junior <jl...@gmail.com> wrote:
>>
>>>
>>> Hey all, i'm sort of new to Tomcat. I am trying to add a sub-folder to 
>>> my
>>> website. Basically, I already have HTTP://<website>/arsys. I want to add
>>> a
>>> HTTP://<website>/dev. I found, in the conf/catalina that there was an
>>> arsys.xml that stated the path as /arsys, and told the installation path
>>> to
>>> the application.
>>>
>>> I can copy this, rename the path to /dev, and keep the website link the
>>> same, but then I don't have any control of the content of hte page. 
>>> Going
>>> to
>>> http://<website>/dev will just do the same thing that going to
>>> http://<website>/arsys will do. I need to be able to drop in a different
>>> index.htm file in the /dev directory of my website so that I can control
>>> what content the users see.
>>>
>>> In IIS, I can create a folder to store this. I'm trying to figure out 
>>> how
>>> to
>>> do this in Tomcat, but am not having very much luck.
>>>
>>> Any help is greatly appreciated!
>>>
>>> Thanks.
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Tomcat-Newbie-tp18761326p18761326.html
>>> Sent from the Tomcat - User mailing list archive at Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To start a new topic, e-mail: users@tomcat.apache.org
>>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>>> For additional commands, e-mail: users-help@tomcat.apache.org
>>>
>>>
>>
>>
>
> -- 
> View this message in context: 
> http://www.nabble.com/Tomcat-Newbie-tp18761326p18762060.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
> 

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat Newbie

Posted by Mr Junior <jl...@gmail.com>.
I need dev to have its own context root. The only file I will have in /dev
will be a redirect to the arsys webapp, so i don't need a totally new
webapp. I just need to be able to have an http://<server>/dev instead of
http://<server>/arsys/dev.

Thanks



Alessandro Ferrucci-3 wrote:
> 
> This sounds like you're simply trying to deploy another webapp with the
> context root of /dev.  Am I mistaken?
> 
> or do you want to put a folder inside the arsys webapp called dev, but
> want
> dev to have its own context root?
> 
> Please explain in more detail.
> 
> -- 
> Signed,
> Alessandro Ferrucci
> 
> Does your webapps directory look like the following:
> 
> On Thu, Jul 31, 2008 at 3:06 PM, Mr Junior <jl...@gmail.com> wrote:
> 
>>
>> Hey all, i'm sort of new to Tomcat. I am trying to add a sub-folder to my
>> website. Basically, I already have HTTP://<website>/arsys. I want to add
>> a
>> HTTP://<website>/dev. I found, in the conf/catalina that there was an
>> arsys.xml that stated the path as /arsys, and told the installation path
>> to
>> the application.
>>
>> I can copy this, rename the path to /dev, and keep the website link the
>> same, but then I don't have any control of the content of hte page. Going
>> to
>> http://<website>/dev will just do the same thing that going to
>> http://<website>/arsys will do. I need to be able to drop in a different
>> index.htm file in the /dev directory of my website so that I can control
>> what content the users see.
>>
>> In IIS, I can create a folder to store this. I'm trying to figure out how
>> to
>> do this in Tomcat, but am not having very much luck.
>>
>> Any help is greatly appreciated!
>>
>> Thanks.
>> --
>> View this message in context:
>> http://www.nabble.com/Tomcat-Newbie-tp18761326p18761326.html
>> Sent from the Tomcat - User mailing list archive at Nabble.com.
>>
>>
>> ---------------------------------------------------------------------
>> To start a new topic, e-mail: users@tomcat.apache.org
>> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
>> For additional commands, e-mail: users-help@tomcat.apache.org
>>
>>
> 
> 

-- 
View this message in context: http://www.nabble.com/Tomcat-Newbie-tp18761326p18762060.html
Sent from the Tomcat - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Re: Tomcat Newbie

Posted by Alessandro Ferrucci <al...@gmail.com>.
This sounds like you're simply trying to deploy another webapp with the
context root of /dev.  Am I mistaken?

or do you want to put a folder inside the arsys webapp called dev, but want
dev to have its own context root?

Please explain in more detail.

-- 
Signed,
Alessandro Ferrucci

Does your webapps directory look like the following:

On Thu, Jul 31, 2008 at 3:06 PM, Mr Junior <jl...@gmail.com> wrote:

>
> Hey all, i'm sort of new to Tomcat. I am trying to add a sub-folder to my
> website. Basically, I already have HTTP://<website>/arsys. I want to add a
> HTTP://<website>/dev. I found, in the conf/catalina that there was an
> arsys.xml that stated the path as /arsys, and told the installation path to
> the application.
>
> I can copy this, rename the path to /dev, and keep the website link the
> same, but then I don't have any control of the content of hte page. Going
> to
> http://<website>/dev will just do the same thing that going to
> http://<website>/arsys will do. I need to be able to drop in a different
> index.htm file in the /dev directory of my website so that I can control
> what content the users see.
>
> In IIS, I can create a folder to store this. I'm trying to figure out how
> to
> do this in Tomcat, but am not having very much luck.
>
> Any help is greatly appreciated!
>
> Thanks.
> --
> View this message in context:
> http://www.nabble.com/Tomcat-Newbie-tp18761326p18761326.html
> Sent from the Tomcat - User mailing list archive at Nabble.com.
>
>
> ---------------------------------------------------------------------
> To start a new topic, e-mail: users@tomcat.apache.org
> To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: users-help@tomcat.apache.org
>
>