servlet-filters
Filters and Caching techniques in Servlets
How can we display some message saying that \'Site is down and will be up in specifi开发者_运维知识库c time\' using filters and caching techniques in servlets.That is impossible. You need to bring ano[详细]
2023-03-14 08:08 分类:问答handling exception messages in jsf
i have a servlet filter which controls if my web application is started normally; public void doFilter(ServletRequest aReq, ServletResponse aResponse, FilterChain aChain) throws IOException, 开发者_开[详细]
2023-03-13 19:29 分类:问答jsp filter, get page name
I want to create a jsp login filter. The filter should: intercept requests to any page; verify whether the request is part of a logged-session[详细]
2023-03-12 07:17 分类:问答Overriding getWriter(), server returns error 503 (weird?)
Hi I am following the code from this link: Capture and log the response body However the server return error 503 which is really weird?[详细]
2023-03-11 05:24 分类:问答Static ThreadLocal variable in a WebApp - Are there any Security/Performance issues?
I am researching and experimenting with a ThreadLocal variable in my Java Web Application.I am using the ThreadLocal variable to store a username (collected from the session) before a request, and the[详细]
2023-03-10 11:59 分类:问答Am i doing the Servlet-Filter correctly?
Good day! I am trying to disable access on pages that are not part of successful login. I stored the login username in a session so that i could determine if the session is null or not.[详细]
2023-03-10 04:18 分类:问答Programmatically control login with Servlet 3.0
I\'ve tested the default security containers in Glassfish 3.0.1 and come to the conclusion that I won\'t spend any more time on that. Instead I want to control the verification myself. But I need some[详细]
2023-03-09 23:33 分类:问答How to protect pdf file with Tomcat filters?
HI, I am currently running a tomcat instance with struts 1 and I would like tomcat to detect when pdf files are requested in the URL (For example of a link: http://www.***.com/files/action=download&a[详细]
2023-03-08 23:16 分类:问答Will it be a good practice to extend the Struts Framework's FilterDispatcher?
I am trying to use Hibernate with Struts. Will it be a good pratice if I extend the FilterDispac开发者_如何学Pythonther for calling Hibernate Utility classes?[详细]
2023-03-08 21:36 分类:问答Filter with access to request parameter in JSF / facelets leads to wrong encoding
I\'m facing the following problem / bug (for the use case: I added a log4j filter since it makes nice logging available, see here for details) 开发者_高级运维[详细]
2023-03-07 01:52 分类:问答