Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Java > Struts / Application Config Data, Question.

Thread Tools

Struts / Application Config Data, Question.

James Good
Posts: n/a

I'm developing a Stuts app which needs to look different for several
subsidiary's of the company I work for . The change in look comes from
different CSS files for each company. I need to store (preferably in
an XML file, because that seems to be the way it's done in the Java
world) some configuration data telling the JSP's to write out the
location of the correct CSS. Is it bad practise to store application
specific data in the struts-config.xml? Or should I create my own XML
config file, and parse that myself? Or is it reasonable to store the
configuration in

Thanks for any ideas on this.

Reply With Quote

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
adding action mapping to struts-config file in struts ros Java 0 05-15-2007 10:51 AM
dll config and web.config and Label Expressions (binding label text to dll config settings) CSharpner ASP .Net 0 04-09-2007 09:00 PM
Windows Application App.config Files vs. web.config Nick Johnson ASP .Net Web Services 0 03-12-2007 07:21 PM
Is it safe to point to Internet for locating struts DTD files in struts TLDs and XML files? Katie Wright Java 8 01-07-2005 03:37 PM
Tomcat 5.028 Struts problem - struts-config.xml does not start with a "/" character Aleksandar Matijaca Java 2 09-19-2004 03:52 PM