struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "e-denton Java Programmer" <java-program...@e-denton.com>
Subject How test for attribute?
Date Sat, 27 Dec 2003 16:14:53 GMT
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


Mime
View raw message