Originally posted by N Chaurasia:
<c:set> using var can create new request-scoped attribute. My question is that does request-scoped attribute means that the scope of the reques is request and we cannot specify other scopes for the attribute. Please correct me if i am wrong
are you trying to say something like this:
<c:set var="cart" scope="request"
scope="session" />
where 2 scope inside the c:set ??
i dont think this can work. It can either :
<c:set var="cart" scope="request" />
OR
<c:set var="cart" scope="session" />
OR
<c:set var="cart" scope="page" />
OR
<c:set var="cart" scope="application" />
am i correct?