Hello, you can use FormView. With FormView you can set a state for a particulary HTML input (butto, text,...). State manage your render (hidden, visible, ,...) for your input. So it's not in your JSP taht you have your condition (logic:equal) but it's your Struts action which decide which input must be displayed,...
You can find FormView at http://formview.sourceforge.net/ Reagrds Angelo 2006/6/6, I HARIKRISHNA <[EMAIL PROTECTED]>:
put that contextdto in session I HARIKRISHNA <[EMAIL PROTECTED]> wrote: Create a contextDTO which holds the logged in user credentials like username etc Now in each jsp use logic:equal and decide whether to show or not Pankaj Gupta wrote: Hi, I wish to display some components like buttons and links conditionally meaning if the user is a basic operator, he should not see a submit button and a link on his page otherwise if a user is an advanced operator he should be allowed to see it. Can somebody please suggest how should I do it. regards, Pankaj --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------- Be a chatter box. Enjoy free PC-to-PC calls with Yahoo! Messenger with Voice. --------------------------------- New Yahoo! Messenger with Voice. Call regular phones from your PC and save big.