aspose file tools*
The moose likes Servlets and the fly likes accessing page from custom tags Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "accessing page from custom tags" Watch "accessing page from custom tags" New topic
Author

accessing page from custom tags

scottie zman
Ranch Hand

Joined: Aug 08, 2001
Posts: 40
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

Joined: Aug 08, 2001
Posts: 40
found it...
String varname= pageContext.getAttribute( "sessionVarName", PageContext.SESSION_SCOPE).toString();
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: accessing page from custom tags
 
Similar Threads
Formatting data for view
Problem with custom tags
Calling custom tags from html
Drop Down Menu if i selected countries it has to display States
Default value for body-content inside tld