aspose file tools*
The moose likes JSP and the fly likes question about filter in tag? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "question about filter in tag?" Watch "question about filter in tag?" New topic
Author

question about filter in tag?

dragon ji
Ranch Hand

Joined: Oct 31, 2002
Posts: 110
I want get filter config in my tag class,but we only can get servlet config by pageContext.how I get filter config when I develop customize tag?
I use servlet spec 2.3,thanx


scjp 1.4<br />challenge haven't limit!
jyothsna kumari
Ranch Hand

Joined: Jul 21, 2003
Posts: 108
can u pls tell me what is filter config and servlet config.
thanks,
jyothsna
dragon ji
Ranch Hand

Joined: Oct 31, 2002
Posts: 110
in your web app's web.xml:

FilterConfig have content of node <filter>,and ServletConfig have <servlet>,
you can get it using method pageContext.getServletContext.getServletConfig.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: question about filter in tag?