Brian M Smith wrote:please bare with me.
I'm looking to dynamically load different struts configuration files based on what URL is requested on Action Servlet start up. In other words for www.site1.com I would want to load /WEB-INF/site1-struts-config.xml, and for www.site2.com I would want to load /WEB-INF/site2-struts-config.xml.
Is this possible, and if so how would I go about doing this?
David Newton wrote:. . .(haven't used S1 in a half-decade now). . .
David Newton wrote:There's no reason common functionality can't be put into jars, and quite a bit can be done to split things up/pull things together during the build process.
Sagar Rohankar wrote:Frankly speaking, I haven't understood what you guys talking about. The SAP and multiple code base is never-heard thing to me. I'm simple developer with maintaing a single simple site
I gotta leran the web application complexity.
Brian M Smith wrote:What I'm trying to do is set up a development environment where I can try to share struts configuration files between multiple applications without having to create separate configuration files for every site.
David Newton wrote:Copy-paste == bad.
I threaten to remove the ctrl-V keys, menu options, etc. on all my developers.