struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From muzammil shahbaz <>
Subject RE: logic:present tag problem
Date Fri, 26 Sep 2003 05:56:35 GMT
Under struts 1.0, try as follows:

<logic:present name="a" scope="session" >
do certain operation

<logic:present name="b" scope="session" >
do certain operation

However, the code can be optimized by using logic:OR tag, which is not
the part of this version.

		Sent:  Friday, September 26, 2003 10:30 AM
		Subject:  logic:present tag problem

			I have a query
			if(a || b )
				do certain operation
			a or b will be attributes present in the session
object, how can i use logic:present tag to perform this operation.


		This message contains privileged and confidential
information and is intended only for the individual named.If you are not
the intended recipient you should not
disseminate,distribute,store,print, copy or deliver this message.Please
notify the sender immediately by e-mail if you have received this e-mail
by mistake and delete this e-mail from your system.E-mail transmission
cannot be guaranteed to be secure or error-free as information could be
intercepted,corrupted,lost,destroyed,arrive late or incomplete or
contain viruses.The sender therefore does not accept liability for any
errors or omissions in the contents of this message which arise as a
result of e-mail transmission. If verification is required please
request a hard-copy version.

		To unsubscribe, e-mail:
		For additional commands, e-mail:

  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message