how to redirect from prepare() method in struts 2

2009-01-24 Thread sagsai
Hello friends, I have very little experience in struts 2 I have this typical requirement where I feel that I have to redirect form the prepare() method when the user is not logged in (by checking whether some session entries present or not). Actually I am trying to avoid repetitive session

Re: how to redirect from prepare() method in struts 2

2009-01-24 Thread sagsai
significantly on code duplication. Dave sagsai wrote: Hello friends, I have very little experience in struts 2 I have this typical requirement where I feel that I have to redirect form the prepare() method when the user is not logged in (by checking whether some session entries present

Re: how to redirect from prepare() method in struts 2

2009-01-24 Thread sagsai
Thank you again, You saved me a lot of pain :-) newton.dave wrote: sagsai wrote: Thank you Dave, feel like have to spend some time reading some books (which I really hate to do) on struts like struts 2 in action :-( The Struts 2 documentation wiki covers an awful lot of the frameworks