Hello Wendy,
I missed one point of your statement..
>> <logic:present name="${sessionScope.results}">
>Even if you're going to use an expression, the 'name' attribute should
>still
>evaluate to the _name_ of the bean, not the bean itself.
> http://struts.apache.org/userGuide/struts-logic.html#present
what do you mean? If I store the bean under the attribute name 'result',
why
the above EL is wrong?
>Then the <logic:present> tag would be:
> <%@ taglib uri="http://struts.apache.org/tags-logic-el"
prefix="logic"%>
> <logic:present name="results" scope="session">
>No EL required for that one. But do use the JSTL tags instead whenever
>possible. :)
I use EL to replace <logic:present name="<%= Constants.RESULT%>"/>
where Constants.RESULT has value 'results'
Where does the above declaration differ from the EL?
What does ${sessionScope.result} represent in this case?
can you show me a quick sample on a simple use of EL ?
if I store objects in session/request/applicationScope, why can't I use
struts-el with EL to retrieve them?
Thanx in advance for your time and regards
Marco mistroni
[BTW, in a Servlet 2.3 container, you do not need all those <taglib>
tags in
web.xml. If you use the correct URI, the tlds will be located in the
.jar
files in WEB-INF/lib.]
--
Wendy Smoak
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]