Re: How to get jsp and servlet interaction.

From: Chris Riesbeck (criesbeck_at_yahoo.com)
Date: 09/23/04


Date: Wed, 22 Sep 2004 17:34:35 -0500

In article <5edaa9b1.0409221248.7356a6e3@posting.google.com>,
 jfbriere@myway.com (Jean-Fran?ois Bri?re) wrote:

> 'movieList' is an attribute of the request.
> You must do:
>
> <c:forEach var="movie" items="${requestScope.movieList}" varStatus="movieLoopCount">

Not necessary. JSTL's expression language automatically
searches all the scopes.

"For example, ${product} will look for the attribute named product,
searching the page, request, session, and application scopes and
will return its value."

http://java.sun.com/webservices/docs/1.0/tutorial/doc/JSTL4.html



Relevant Pages