Hi,

I am using struts 1.1. There is seed version or out of box version of the application. There is requirement that
the application should be flexible enough to be customized for each client role. The roles are define in web.xml
For example when user is in Role "A" View should be like JSP "A.jsp" and when user is in the Role B view should be like JSP "B.jsp".
Model remains same more or less.
Currently we have this logic in the action class where role is checked and correct Action Forward is returned. But this approach
requires touching the action classes again when a new role is defined.
I was thinking if there is a better way of handling this logic so that I don't have to touch Action classes.
I was also trying to look into Tiles to handle this logic. But so far no success.


I will appreciate if anyone has better ideas to handle this requirement in struts environment.

Thanks

Rajesh S


--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to