I ran into something that I never thought of before and it stumped me. I have a site done using servlets and JSPs. There is an auth mechanism that works well and is much liked. There is now the need
Do Servlet filters have any issues with detecting SSL requests? I have a filter that works okay with norm开发者_如何学Cal http request but it does not detect https request.
Does anyone know how to go about coding a servlet filter that will set cache headers on a response for a given file/content type?I\'ve got an app that 开发者_高级运维serves up a lot of images, and I\'
Any user that tries to access some secure resources on my webapp A needs to be authenticated with a webapp B. B has access to the user credentials password etc., I am wondering about the right way to
A web.xml of ours contains following excerpt.. <servlet> <servlet-name>testServlet</servlet-name>
I\'m trying to set up a site which allows users to create their own page - as a subdomain of the site, and so what I\'m currently trying to do is to have a filter which looks at the subdomain, and if
I\'m looking for a servlet filter library that helps me secure our web service against unauthorized usage and DDoS.
I downloaded working example of hibernate (with maven) and installed it on my tomcat, it worked. Then I created a new web project in MyEclipse, added hibernate support and
My webapp contains many entityManagerFactories (DBs). Each has its own unique name, such as entityManagerFactoryApp, entityManagerFactoryBusiness, entityManagerFactoryForum, etc.
What is the difference between a Servlet and Filter? What do you recommend to use for 开发者_StackOverflow中文版authorization to pages?Use a Filter when you want to filter and/or modify requests based