Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

accessing page from custom tags

 
scottie zman
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have some custom tags. How do I access the page they are used in: session variables, form inputs, etc... without using parameters and set commands?
thanks,
Zman
 
scottie zman
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
found it...
String varname= pageContext.getAttribute( "sessionVarName", PageContext.SESSION_SCOPE).toString();
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic