Only 44 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

(Probably) Easy JSP / JSTL question  RSS feed

 
Mike Himstead
Ranch Hand
Posts: 178
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

what's the correct syntax for accessing the context from within a JSP using JSTL 1.0? There's an object stored in context which is currently accessed like:

List roles = ctx.getUser().getRoles();

How would I replace this evil scriplet with JSTL?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65824
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Mike Himstead:
what's the correct syntax for accessing the context from within a JSP using JSTL 1.0?

There are many contexts in JSP. Of which do you speak?
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!