You could add logic to the index.jsp that redirects to mainMenu. You could
do this with a scriplet or JSTL's <c:choose> tag. Or yes, you could map
mainMenu to an Action and do the logic there.

Matt

On Wed, Jun 10, 2009 at 12:28 AM, Thai Son Cung <
[email protected]> wrote:

> Give me some hint! Should I create a action for mainManu?
>
> *
> Best Regards, *
>
> *Tyson Cung*
> *Hello Technology Pte.** **Ltd.*
> 180 Cecil Street, #07-03, Bangkok Bank Building, Singapore 069546
> (*F* : +65 6534 7133 (*HP* : +65 93896675
> * [email protected]
>
> On Jun 10, 2009, at 1:59 PM, Matt Raible wrote:
>
> Yes.
>
> On Jun 9, 2009, at 9:32 PM, Thai Son Cung <[email protected]>
> wrote:
>
> Hi all,
> In login.jsp just redirect to mainMenu:
>
> <c:redirect url="/mainMenu.html"/>
>
> Can I change it to redirect to different page depend on the user's roles?
>
>  *Best Regards, *
>
> *Tyson Cung*
> *Hello Technology Pte.** **Ltd.*
> 180 Cecil Street, #07-03, Bangkok Bank Building, Singapore 069546
> (*F* : +65 6534 7133 (*HP* : +65 93896675
> *  <[email protected]>[email protected]
>
>
>

Reply via email to