• 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: 66154
146
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?
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!