This week's book giveaway is in the OCAJP forum. We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line! See this thread for details.
I have a Struts appliction to be extended. The new app will handle the user personalized page. User have a choice to a page template, the choice value will be saved into database. Then when findfowarding, server will render the page user wants.
Yes, we could do this way, for each page template, I design a tile-definition and struts-action-mapping. It is a strightforward, but very tedious.
Is there a better solution ?
The key point is, in which class the Struts will handle like this
If we could modify that class and let that class accept a runtime value, everything will be done perfectly.