In security.xml, the defaultTargetUrl is set to /. <property name="defaultTargetUrl" value="/"/>
/ = index.jsp which does a redirect to mainMenu.html. You can change this value to point to an Action/Controller/whatever and do some logic there to decide where the user is supposed to go to. You might want to change index.jsp to refer to that same action - or just modify it in index.jsp instead of in security.xml. Matt On 9/17/07, rbtechno <[EMAIL PROTECTED]> wrote: > > Hi, > > I am using appfuse struts application.I have two roles (say > admin,customer) in my application,If customer login to the application, > mainMeu page should come.But If admin login to the application,some other > page should be displayed (say adminMenu.jsp). > > At present appfuse app is displaying pages corresponding to role based > menu.But in my app ,i need to select the main page after login based on > role.Let me know is there any way to do it .. > > > Thanks > > > -Balaji > > > -- > View this message in context: > http://www.nabble.com/need-some-help-to-display-pages-based-on-acegi-role..-tf4464726s2369.html#a12730312 > Sent from the AppFuse - User mailing list archive at Nabble.com. > > --------------------------------------------------------------------- > To unsubscribe, e-mail: [EMAIL PROTECTED] > For additional commands, e-mail: [EMAIL PROTECTED] > > -- http://raibledesigns.com --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
