Wendy Smoak wrote:

From: "Erik Weber" <[EMAIL PROTECTED]>

I see now that the problem appears to be that the c tag is assuming "org.foo.ATTRIBUTE" means org.getFoo(), etc. How can I tell the c tag that "org.foo.ATTRIBUTE" is the name of the request attribute, not "org"?


What is the JSTL equivalent of this logic tag?
<logic:present name="org.foo.ATTRIBUTE" scope="request">


Since you know it's in request scope, try this: ${requestScope["org.foo.ATTRIBUTE"]}


Dotted names become a problem when you want JSTL to do its usual "find this in any scope" process. But as long as you know where your attribute is (or that it's a request parameter) you can use the implicit objects.

Appendix A of JSTL in Action is available here: http://www.manning.com/catalog/view.php?book=bayern&item=chapters


Thanks Wendy! Just what I needed.

Erik



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



Reply via email to