I think that it's going to have even less of an impact if some of those forms are used more than once by the same user. You can do 301 permanent http redirect so the user agent won't hit the original URL with &s more than once for the same query at least.
Also, I don't think you need Tomcat source code :-) Try something like that: // check for URL mapping String rewrittenUrl = ejb.getUrlMapping(req.getRequestURI()); // (...) if (rewrittenUrl == null) { chain.doFilter(request, response); } else { filterConfig.getServletContext().getRequestDispatcher(rewrittenUrl).forward(request, response); return; } W dniu 2011-09-27 18:54, Newman, John W pisze: > Right, I'd strongly prefer one billion requests for a simple task opposed to > trusting anything from a client. In real life the two requests probably > isn't a killer.. i'll have to try it out. > > > > -----Original Message----- > From: Grzegorz Krugły [mailto:g...@karko.net] > Sent: Tuesday, September 27, 2011 12:49 PM > To: Stripes Users List > Subject: Re: [Stripes-users] Cleaning up / shrinking / obfuscating query > string parameters? > > It's not possible to bypass the "two requests per one" part if you want the > URL mangling done server-side. If there's only going to be a single request, > everything must be done on the client-side. So you'd have to trust their > clock when timestamping, etc. Not nice at all. > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security threats, > fraudulent activity and more. Splunk takes this data and makes sense of it. > Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Stripes-users mailing list > Stripes-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/stripes-users > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure contains a > definitive record of customers, application performance, security > threats, fraudulent activity and more. Splunk takes this data and makes > sense of it. Business sense. IT sense. Common sense. > http://p.sf.net/sfu/splunk-d2dcopy1 > _______________________________________________ > Stripes-users mailing list > Stripes-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/stripes-users > ------------------------------------------------------------------------------ All the data continuously generated in your IT infrastructure contains a definitive record of customers, application performance, security threats, fraudulent activity and more. Splunk takes this data and makes sense of it. Business sense. IT sense. Common sense. http://p.sf.net/sfu/splunk-d2dcopy1 _______________________________________________ Stripes-users mailing list Stripes-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/stripes-users