You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by John Pedersen <jo...@gmail.com> on 2008/02/17 08:28:27 UTC
running different versions of the same app
Hi,
I want to experiment on using different styles and layouts in my pages.
In order to get www.appName.com pointing at my app, I have had to put the
app into the ROOT folder of tomcat. Is there a way to have several different
versions of my app in Tomcat, and easily switch from one to the other?
Thanks,
John Pedersen
Re: running different versions of the same app
Posted by Pid <p...@pidster.com>.
John Pedersen wrote:
> 'how easy do you need development to be?'
>
> How easy can it get?
>
> Yes, I can switch the css easy enough, but the changes are more than just
> styles. And I want to test the app with real customers. I don't want them
> using subdirectories.
>
> What I would like is
> webapps/version1/ <http://www.appname.com/webapps/version1/> maps to ->
> www.appName.com
> webapps/version2/ <http://www.appname.com/version1webapps/version2/> maps
> to -> www.appName.com
> webapps/version3/ maps to ->
> <http://www.appname.com/version2webapps/version3/>www.appName.com<http://www.appname.com/version3>
>
> And that I could select which one goes live with a bit of xml.
>
there is an XML file you could edit, "server.xml".
/webapps1/ROOT
/webapps2/ROOT
/webapps3/ROOT
?
p
---------------------------------------------------------------------
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: running different versions of the same app
Posted by John Pedersen <jo...@gmail.com>.
'how easy do you need development to be?'
How easy can it get?
Yes, I can switch the css easy enough, but the changes are more than just
styles. And I want to test the app with real customers. I don't want them
using subdirectories.
What I would like is
webapps/version1/ <http://www.appname.com/webapps/version1/> maps to ->
www.appName.com
webapps/version2/ <http://www.appname.com/version1webapps/version2/> maps
to -> www.appName.com
webapps/version3/ maps to ->
<http://www.appname.com/version2webapps/version3/>www.appName.com<http://www.appname.com/version3>
And that I could select which one goes live with a bit of xml.
Re: running different versions of the same app
Posted by Pid <p...@pidster.com>.
John Pedersen wrote:
> Hi,
>
> I want to experiment on using different styles and layouts in my pages.
use a javascript CSS style switcher, or select a different CSS sheet
based on a URL parameter.
> In order to get www.appName.com pointing at my app, I have had to put the
> app into the ROOT folder of tomcat. Is there a way to have several different
> versions of my app in Tomcat, and easily switch from one to the other?
put the app into another folder, alongside the ROOT one.
webapps/ROOT/ maps to -> www.appName.com/
webapps/version1/ maps to -> www.appName.com/version1
webapps/version2/ maps to -> www.appName.com/version2
webapps/version3/ maps to -> www.appName.com/version3
how easy do you need development to be?
p
> Thanks,
>
> John Pedersen
>
---------------------------------------------------------------------
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