Ole- You could setup the Action execute method to return mapping.findForward to different JSPs based upon the Hostname that is embedded within Request object InetAddress.getByName(request.getRemoteAddr()).getHostName() see http://www.coreservlets.com/Apache-Struts-Tutorial/Struts-Actions.html#Ex2-Step4 Does this help? Martin ----- Original Message ----- From: "Hildebrandt, Ole" <[EMAIL PROTECTED]> To: "Struts Users Mailing List" <[EMAIL PROTECTED]> Sent: Wednesday, June 02, 2004 10:15 AM Subject: AW: Modules by Server-Host
> > Hi Martin, > > > Ole- > > > > The module can use either an absolute path or relative to > > server root using > > the loadfile tag > > > > Here is the documentation > > http://httpd.apache.org/docs-2.0/mod/mod_so.html#loadfile > > > > Is this what you are looking for? > > THanks for replying. I have several hosts using the same webapplication, but > each host may use different ActionMappings. So i would like to have one > Struts-module for each HTTP-Host. Is this possible? > > Thanks > > Ole > > > > > Martin Gainty > > > > (cell) 617-852-7822 > > (e) [EMAIL PROTECTED] (http)www.laconiadatasystems.com > > > > > > > > > > > > >From: "Hildebrandt, Ole" <[EMAIL PROTECTED]> > > > >Hi, > > > > > >Does anyone know if it is possible to use a different Module > > for each > > >HTTP-Server-Host? Or is it only possible by subdirectorys in webapp? > > > > > >Thanks > > > > > >Ole > > > > > > > > > > > >--------------------------------------------------------------------- > > >To unsubscribe, e-mail: [EMAIL PROTECTED] > > >For additional commands, e-mail: [EMAIL PROTECTED] > > > > > > > _________________________________________________________________ > > MSN Toolbar provides one-click access to Hotmail from any Web > > page - FREE > > download! > > http://toolbar.msn.click-> url.com/go/onm00200413ave/direct/01/ > > > > > > > > > > --------------------------------------------------------------------- > > To unsubscribe, e-mail: [EMAIL PROTECTED] > > For additional commands, e-mail: [EMAIL PROTECTED] > > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]