Win a copy of The Business Blockchain this week in the Cloud forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp filters

 
Vishnu Prakash
Ranch Hand
Posts: 1026
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is there anything called jsp filters. :roll:

I am confused. Any help is greatly appreciated.
[ September 12, 2005: Message edited by: vishnu prakash ]
 
B.Sathish
Ranch Hand
Posts: 372
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Vishnu,
A filter can also be applied to a JSP by specifying the path to the JSP in the url-pattern:

<filter-mapping>
<filter-name>XYZ</filter-name>
<url-pattern>/BeerApp/BeerTest.jsp</url-pattern>
</filter-mapping>

This would activate the filter when the client invokes the BeerTest.jsp. Filters can be applied to both JSPs and servlets.
 
Vishnu Prakash
Ranch Hand
Posts: 1026
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks for your immediate reply satish.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic