struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Karr, David" <>
Subject RE: <logic> tag and <%= %> HELP!
Date Fri, 24 Jan 2003 21:33:54 GMT
This might work better for you:

<logic:present name="details" scope="request">
    <bean:write name="details" property="value"/>

-----Original Message-----
From: Khalid K. [] 
Sent: Friday, January 24, 2003 1:21 PM
Subject: <logic> tag and <%= %> HELP! 

Regardless of the value of <logic:present> tag, the expression
<%=details.getValue()%>  gets evaluated.

Does <%= %>  take precedence over <logic:present> or any custom tag


<logic:present name="details" scope="request">
    <%=details.getValue() %>

the scriplet between the tag get executed regardless of outcome of the
logic tag. So, if details is NOT in request, form, I get an error:
"details does not exist..."  etc...

Any help would be appreciated! 


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

View raw message