Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6209855
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T06:03:33+00:00 2026-05-24T06:03:33+00:00

my application is using spring applicationContext.xml. i have a custom filter class ( CustomFilter

  • 0

my application is using spring applicationContext.xml. i have a custom filter class ( CustomFilter implements Filter) that i want to use in my application . Is the proper way to do this is to create a <bean... registration inside applicationContext.xml ? or simple just put inside web.xml ? i want to put inside applicationContext.xml. but i do not know how to specify “path” that will trigger this filter. example myapp/testcustomfilter will trigger this filter.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T06:03:34+00:00Added an answer on May 24, 2026 at 6:03 am

    FilterToBeanProxy class proxies request to spring managed beans. You have to define this filter in your web.xml and point targetBean parameter to your managed-bean. Also check out the FilterChainProxy to define a filter chain.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have a Hibernate/Spring application that have the following Spring beans: <bean id=transactionManager class=org.springframework.orm.hibernate3.HibernateTransactionManager
I have an plain simple java application that use spring 2.5.5 and hiberate 3.3.1.GA.
I have this web application using Spring Web Flow framework. In my main page
I'm writing a web application using Spring/Hibernate that displays a report to a user,
Hey I am developing an desktop application using Spring and Hibernate, and I have
I am working on profiling a legacy application using Spring AOP and I want
I'm trying to put together a contract-first web application using Spring-WS. I want to
I am using jsf and spring together in web application. I have configured datasource
I have application that look like below without spring (prior) UI-> service --> javabean
In spring/junit you can load application context files using @ContextConfiguration such as @ContextConfiguration({classpath:a.xml, classpath:b.xml})

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.