I have one more question, not directly connected with this one. How can I ask user with popup windows if he want to proceed when he click to some link, without using Ajax and div tags ?
-- Thx, Milan Milan Milanovic wrote: > > Hi, > > it is S2, I wrote this in subject of this topis. > > Thanks, I'll try it. > > -- > Regards, Milan > > > felipe.lorenz wrote: >> >> Hummm.. Struts 1 or 2? >> >> This code is to S2. >> >> <s:if test="%{#session.your_variable != null}"> >> >> do something >> >> </s:if> >> >> I didnt test it, so im not sure about the code. >> >> But try it, and tell us. >> >> Felipe Lorenz >> >> On Tue, Jul 29, 2008 at 9:34 AM, Milan Milanovic >> <[EMAIL PROTECTED]>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-tp18716278p18716278.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] >>> >>> >> >> > > -- View this message in context: http://www.nabble.com/-S2--Testing-if-session-variable-is-present-tp18716278p18734149.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]