Do you care what scope you get each variable from?  If not, just do:

  $(whateverA[whateverS]}

> -----Original Message-----
> From: Michael McGrady [mailto:[EMAIL PROTECTED] 
> 
> A dunce question today:
> 
> I have a map that is held in application scope which in turn holds 
> objects whose keys are held in session scope.  I want to 
> access the map 
> in application scope and the key from session scope and then get the 
> result from the map.  How do I do this with JSTL?  I know I 
> can set the 
> actual map to a variable with
> 
> <c:set var='appmap' value='${applicationScope.whateverA}'/>
> 
> And, I know I can get the session variable as follows:
> 
> <c:set var='keyname' value='${sessionScope.whateverS}'/>
> 
> Now, how do I use these two to get the value from the map?  
> Or is this 
> the wrong approach?
> 
> Thanks,
> 
> Michael McGrady
> 
> 
> ---------------------------------------------------------------------
> 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