You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by e-denton Java Programmer <ja...@e-denton.com> on 2003/12/27 17:14:53 UTC

How test for attribute?

Hi,

I am trying to test for the presence of a request attribute called "PCAT".

This works:

if (request.getAttribute ("PCAT") != null)

This doesn't work:

<logic:present parameter="PCAT">
</logic:present>

What Struts logic tag would work?

 Thanks, 

Will

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org