• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Design question for Actions Struts 2

 
Ranch Hand
Posts: 367
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi!

I have 4 different sites that has the same model but different views and resource bundles. What is the best approach to solv this. I have 4 virtual hosts in tomcat that point to the same webapp and dynamic actions



In my action class I return next and set the getNextAction() to my Tiles definition. However I don't feel like this is the best approach. I takes away the Service to Worker pattern doesn't it?

I would like to have a good way of populating data using actions and forward to the right view. Anyone out there who has done the same or has any advise?
[ June 03, 2007: Message edited by: Mathias Nilsson ]
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic