That's a design choice that is up to you.

Besides, I don't claim to be an expert with filters (actually, I don't claim
to be an expert at anything ;P

JM

> -----Original Message-----
> From: Mike Karl [mailto:[EMAIL PROTECTED]]
> Sent: Monday, May 13, 2002 7:08 PM
> To: Struts Users Mailing List
> Subject: RE: Multiple sites using one struts application.
>
>
> If I did something like this, would it then be appropriate to use a
> filter to set properties based on the url?
>
> thanks
> mike
>
>
> On Mon, 2002-05-13 at 15:03, James Mitchell wrote:
> >
> > One suggestion......
> >
> > Register a domain name, then setup to use virtual host.
> >
> > http://club1.mydomain.com/
> > http://club2.mydomain.com/
> > http://club3.mydomain.com/
> > http://club4.mydomain.com/
> > http://club5.mydomain.com/
> > http://club6.mydomain.com/
> >
> > Use same code base, but put all image references in a property file and
> > extend the img tag to write from the bundle, based on some kind of
> > ResourceManager (similar to how the i18n checks the headers for
> language)
> >
> > I hope this gives you some ideas, if not then just press DELETE.....;)
> >
> > JM
> >
> >
> >
> >
> > > -----Original Message-----
> > > From: Mike Karl [mailto:[EMAIL PROTECTED]]
> > > Sent: Monday, May 13, 2002 4:52 PM
> > > To: [EMAIL PROTECTED]
> > > Subject: Multiple sites using one struts application.
> > >
> > >
> > > Hello,
> > > I'm building a site for a group of clubs.  All the sites will have the
> > > same set of pages and actions.
> > >
> > > For instance:
> > >
> > > http://clubsites/club1/index.jsp
> > > http://clubsites/club2/index.jsp
> > > http://clubsites/club3/index.jsp
> > > http://anothersite/club4/index.jsp
> > >
> > > All of these sites would basically be the same in terms of layout and
> > > functionality except that the would have different images.  They may
> > > also connect to seperate database. How can I set up a site
> like this so
> > > that I can use the same pages for all of the clubs but pass different
> > > configurations so that I can render the pages with their own images.
> > >
> > > thanks
> > > mike
> > >
> > >
> > >
> > > --
> > > To unsubscribe, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > > For additional commands, e-mail:
> > > <mailto:[EMAIL PROTECTED]>
> > >
> > >
> >
> >
> > --
> > To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
> For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>
--
Mike Karl

Montana Connect
851 Bridger Dr.
Bozeman, MT 59715
(406) 556-1800

[EMAIL PROTECTED]

--
To unsubscribe, e-mail:
<mailto:[EMAIL PROTECTED]>
For additional commands, e-mail:
<mailto:[EMAIL PROTECTED]>



--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to