Hi Milan, If you're using Struts 1 you should be able to use the logic:present tag like this: <logic:present name = "NameOfVariableSavedInSession" scope = "session"> <tags to execute if the above is true.... </logic:present>
Hope this helps! /Ylva Milan Milanovic wrote: > > Hi, > > I need to test in jsp if some session variable is present, and based on > that to > show some struts view code or not. How can I do that ? > > -- > Thx, Milan > -- View this message in context: http://www.nabble.com/-S2--Testing-if-session-variable-is-present-tp18716278p18718079.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]