Data Driven Struts/Tiles

W

WJ

I really like the framework of struts and tiles. I started getting the idea
of making the tiles definitions and action forward dynamicly load from a
database instead of from a series of XML files. The reason for this is to
apply personalization logic and such.

Before I start looking at the struts source code, is there a project that
has already done something like this? The goal is to have the action
forwards and tile definitions changable without restarting the server or
changing physical files (xml files).

Thanks!
 
S

Sudsy

WJ said:
I really like the framework of struts and tiles. I started getting the idea
of making the tiles definitions and action forward dynamicly load from a
database instead of from a series of XML files. The reason for this is to
apply personalization logic and such.

Before I start looking at the struts source code, is there a project that
has already done something like this? The goal is to have the action
forwards and tile definitions changable without restarting the server or
changing physical files (xml files).

Thanks!

From the javadocs for ActionServlet:
"rulesets - Comma-delimited list of fully qualified classnames of
additional org.apache.commons.digester.RuleSet instances that should
be added to the Digester that will be processing struts-config.xml
files. By default, only the RuleSet for the standard configuration
elements is loaded. (Since Struts 1.1)"

Digest that and then contemplate how straightforward it would be to
add rulesets retrieved from a database. Kewl, huh?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,766
Messages
2,569,569
Members
45,043
Latest member
CannalabsCBDReview

Latest Threads

Top