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, Jessie [ December 27, 2003: Message edited by: Jessica Doe ]
The above checks to see if the request attribute PCAT is present. If you leave off the scope, and just use the name it will search from page scope to aplication scope (inner most to outer most scope). What you wrote:
Would check to see if a request parameter called PCAT was present.