• Post Reply Bookmark Topic Watch Topic
  • New Topic

Getting JSessionID using JSTL

 
Craig Dixon
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I need (for reasons that aren't really that important) to get my hands on the JSessionID value from a JSP. I found the following line of code that works great:



The simple question is, can I do this using JSTL? I know it doesn't matter functionally, but stylistically, I'd just like to know. Thanks.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
With EL:
 
Craig Dixon
Greenhorn
Posts: 19
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sweet! Thanks a bunch.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!