• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Struts to handle page template ?

 
Edward Chen
Ranch Hand
Posts: 798
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.

Any suggestion ?

Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic