Filter « Request « JSP-Servlet Q&A





1. Modify request parameter with servlet filter    stackoverflow.com

An existing web application is running on Tomcat 4.1. There is an XSS issue with a page, but I can't modify the source. I've decided to write a servlet ...

2. Modify the filter chain - Or select servlet to respond to request using filter    stackoverflow.com

I am trying to use a filter to map requests. I am trying to do this for two reasons, firstly to dynamically generate URI's and have them mapped to the appropriate ...

3. Servlet request blocking    stackoverflow.com

I have a Filter which scans all the request going through my application. I want to block a request if it requests for a specific url. I can able to check ...

4. Servlet filter for ColdFusion SOAP web service works for WSDL, but fails on SOAP requests    stackoverflow.com

I'm trying to create a workaround for a terrible ColdFusion bug that results in my SOAP web service returning inconsistent results. What I want to do is replace "remote_api.tafkan" with ...

5. How can I register a servlet filter to catch all HTTP requests in an OSGi container?    stackoverflow.com

I've got an OSGi container that hosts several CXF web services at /services/service_a; /services/service_b etc along with a couple of web apps deployed as bundles. I'm trying to SSO enable ...

6. Servlet Filter for all requests    stackoverflow.com

I am wondering, how can I set in the web.xml a Filter that is called on every request?





10. servlet filter and request/resposnse wrapper    coderanch.com

When answering, I assumed (without even thinking about it!) that what Peter said was : 1. Using filters in web.xml, where the doFilter receives both request and response 2. Using wrappers like HttpServletXXXXXWrapper which can only be used for either response or request. I understand Bear's puzzlement, as number 2 is not a filter.

11. Servlet filter being invoked twice per request by Container.    coderanch.com

Hi, I am facing a peculiar problem in my web application. Whenever I click on a button in a jsp, the web container is invoking the servlet filter twice. The entire flow is thus, getting executed twice. The action to be performed is insert a row in a table in database. Due to the above problem, each time I submit a ...

12. Servlet filter to restrict GET request    coderanch.com

13. How to find the desktop id for current request from a servlet filter    zkoss.org

The request I'm interested in could for instance be a button click event request from the client. So I'm thinking that I can safely assume that there is a deskop associated with the request. My idea is that the information in the request must be enough to locate the desktop id since ZK is able to do further down the "request ...