wouldn't using <bean:write> instead of using the <%= %> part solve your
problem or am i trying to make this too simple???

-----Original Message-----
From: Khalid K. [mailto:[EMAIL PROTECTED]]
Sent: Friday, January 24, 2003 4:21 PM
To: [EMAIL PROTECTED]
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 ??????

example:

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

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! 

Khalid


--
To unsubscribe, e-mail:   <mailto:[EMAIL PROTECTED]>
For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>

Reply via email to