Not sure why you have this burning desire to know but JSTL works as such outside of struts

<%@ page isELIgnored="false" %>
<%
request.getSession().setAttribute("foo","foo");
%>
<html>

<body>

${foo}

</body>
</html>

Both struts and JSTL tags look through the available scopes and choose the one that appears higher up in the hierarchy.

page, request, session,application

Mark


On 25 Sep 2004, at 18:20, Chris wrote:

If you're using JSTL in struts all the object will be available without
drilling through the scopes.

How JSTL and Struts communicate each other? Could anybody please explain this *mysterious* thing detailly? I really want to know the black box behind JSP using JSTL

and Struts taglibs , but the servlet code compiled from
JSP is too hard to explore.

Regards.
Chris

----- Original Message -----
From: "Mark Lowe" <[EMAIL PROTECTED]>
To: "Struts Users Mailing List" <[EMAIL PROTECTED]>
Sent: Saturday, September 25, 2004 11:29 PM
Subject: Re: JSTL problem


If you're using JSTL in struts all the object will be available without
drilling through the scopes.


In straight JSTL you'd use sessionScope. But as you're using struts you
dont need to and you can decide what you want to scope to in you java
or configuration of the ActionServlet..


HTH Mark

On 25 Sep 2004, at 15:27, M. Onur Tokan wrote:



---------------------------------------------------------------------
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]



Reply via email to