How-to-achieve-url-maxtry-filter-in-apache-tomcat

2012-08-26 Thread rathinasamy....@snovabits.net
Hi everyone, Please give me some ideas to achieve maxtry concept. I want to destroy the url path after some amount of access. For eg., if I give maxtry = 2 for the run time generated url (http://localhost:8080/Club/dely/ios/item/42/23/cc.mp4), After the two times access of the above url for t

Re: problem with filters on Tomcat 7.0.16 and above

2012-08-26 Thread Ivan Polak
On 26 August 2012 23:05, Konstantin Kolinko wrote: > 2012/8/27 Ivan Polak : >> I have found, where is the problem. >> >> problem is in StandardContextValve.java in >> >> @Override >> public final void invoke(Request request, Response response) >> throws IOException, ServletException {

Re: problem with filters on Tomcat 7.0.16 and above

2012-08-26 Thread Konstantin Kolinko
2012/8/27 Ivan Polak : > I have found, where is the problem. > > problem is in StandardContextValve.java in > > @Override > public final void invoke(Request request, Response response) > throws IOException, ServletException { > > > > // Select the Wrapper to be used for this Reques

Re: problem with filters on Tomcat 7.0.16 and above

2012-08-26 Thread Ivan Polak
I have found, where is the problem. problem is in StandardContextValve.java in @Override public final void invoke(Request request, Response response) throws IOException, ServletException { // Select the Wrapper to be used for this Request Wrapper wrapper = request.getWr

Re: problem with filters on Tomcat 7.0.16 and above

2012-08-26 Thread Konstantin Kolinko
2012/8/26 Ivan Polak : > Hi, > > I have version 4.0.5 of UrlRewriteFilter, I built it from source code > from svn repository (jar file created by maven build script and > included to project). With version 4.0.3 is also the same problem (jar > file downloaded from UrlRewrite home page). > > I have

Re: problem with filters on Tomcat 7.0.16 and above

2012-08-26 Thread Ivan Polak
Hi, I have version 4.0.5 of UrlRewriteFilter, I built it from source code from svn repository (jar file created by maven build script and included to project). With version 4.0.3 is also the same problem (jar file downloaded from UrlRewrite home page). I have all rules for UrlRewriteFilter define

Re: problem with filters on Tomcat 7.0.16 and above

2012-08-26 Thread Konstantin Kolinko
2012/8/26 Ivan Polak : > thank you for your answer. > > "invitations" is served by a filter and translated from > http://localhost:8080/app/invitations/ to Spring MVC controller, in > urlrewrite filter configuration is: > > > > /invitations/(.*) > /invitations.html >