Browsing projects by Tag(s)

Select a tag to browse associated projects and drill deeper into the tag cloud.

Showing page 1 of 2

Based on the popular and very useful mod_rewrite for apache, UrlRewriteFilter is a Java Web Filter for any J2EE compliant web application server (such as Resin, Orion or Tomcat), which allows you to rewrite URLs before they get to your code. It is a very powerful tool just like Apache's mod_rewrite.

4.75
   
  0 reviews  |  14 users  |  26,610 lines of code  |  2 current contributors  |  Analyzed 9 days ago
 
 

Taste is a flexible, fast collaborative filtering engine for Java. It has been merged into Apache's Mahout machine learning project since 2009. See http://mahout.apache.org

5.0
 
  0 reviews  |  3 users  |  11,554 lines of code  |  0 current contributors  |  Analyzed about 19 hours ago
 
 

Introduction Java EE Cache Filter provides a collection of common Servlet filters for Java web applications based on the Servlet 2.5 specification. It allows you to transparently set HTTP cache headers in order to enable browser caching. Why does cache matter? Web page designs are getting ... [More] richer and richer, which means more scripts, stylesheets, images, and Flash in the page. A first-time visitor to your page may have to make several HTTP requests, but by using the Expires header you make those components cacheable. This avoids unnecessary HTTP requests on subsequent page views. Browsers (and proxies) use a cache to reduce the number and size of HTTP requests, making web pages load faster. [Less]

0
 
  0 reviews  |  1 user  |  236 lines of code  |  0 current contributors  |  Analyzed 2 days ago
 
 

Commons Filters - SiteThe Commons Filters site is located at http://ludovic.bert.free.fr/projects/commons-filters. PresentationCommons filters is a suite of commonly used servlets filters which may be usefull for your web applications (such as PdfFilter, GZipFilter, XsltFilter, LogFilter ... [More] , HttpHeaderFilter, ...). LogFilter: The log filter is a servlet filter used to log client requests, it is usefull for debugging purpose. XsltFilter: The XSLT filter is a servlet filter used to perform an XSLT transformation. It is usefull to generate dynamic presentation. PdfFilter: The PDF filter is a servlet filter used to perform an XSL-FO transformation. It is usefull to generate inline PDF. GZipFilter: The GZIP filter is a servlet filter which looks in the HTTP headers if the client support the GZIP format, in this case the servlet filter compress the HTTP response. It is usefull for performance optimizations. HttpHeaderFilter: The HTTP header filter is a servlet filter which is able to set and/or change HTTP responses header values. A typical usage is for performance optimizations. [Less]

0
 
  0 reviews  |  0 users  |  1,206 lines of code  |  0 current contributors  |  Analyzed about 2 years ago
 
 

This library intends to be a simple and pragmatic way to measure time and memory consumption in Java Web Applications.

0
 
  0 reviews  |  0 users  |  401 lines of code  |  0 current contributors  |  Analyzed over 1 year ago
 
 

CompactFilter can help to remove CR, LF, TAB chars and strip the javascript single line comments, or html comments as well

0
 
  0 reviews  |  0 users  |  891 lines of code  |  0 current contributors  |  Analyzed about 2 years ago
 
 

To learn the tips and techniques to use VRD efficiently, visit Project Wiki! Vroom Request Dispatcher Vroom Request Dispatcher (VRD) is a light weight api to extend normal servlet based development to a different concept. The concept is somewhat similar to Python where urls are mapped to request ... [More] handlers. Using VRD, you map url patterns to java methods whether they are static or instance specific. If you use NetBeans IDE 6.5, you would like to download the NetBeans Plugin for VRD. Download it from the following location: http://vroom-request-dispatcher.googlecode.com/files/net-openkoncept-vroom-plugin.nbm The plugin enables Vroom Request Dispatcher and Vroom Web Framework (http://www.sf.net/projects/vroom) as Web Frameworks. Furthermore it adds a new category called Vroom in the New File wizard which contains templates for servlet for groovy, jruby, jython and javascript. Download Vroom-VRD-1.0.0-Bundled.zip from the following location. http://vroom-request-dispatcher.googlecode.com/files/Vroom-VRD-1.0.0-Bundled.zip The deps folder of the bundled zip contains all the required jar files. Which you download separately from the locations below: VRD Scripting Language Extension VRD Scripting Language Extension (VRD-SLE) is extension to regular VRD api to support scripting languages which can be used to write servlets. In this release following scripting languages available to write servlets: - JavaScript - Jython - Groovy - JRuby Download: Vroom-VRD-SLE-1.0.0.zip and Vroom-VRD-1.0.0 from Downloads tab. Vroom-VRD-1.0.0 is the pre-requisite and must be configured first. Additional Dependencies are: JavaScript - js.jar -> Rhino-1.7R1 ftp://ftp.mozilla.org/pub/mozilla.org/js/rhino1_7R1.zip Jython - jython.jar -> Jython-2.2.1 http://downloads.sourceforge.net/jython/jython_installer-2.2.1.jar Groovy - groovy-all-1.6-beta-2.jar -> Groovy-1.6-beta-2 http://dist.groovy.codehaus.org/distributions/groovy-binary-1.6-beta-2.zip JRuby - jruby.jar -> JRuby-1.1.5 http://dist.codehaus.org/jruby/jruby-bin-1.1.5.zip commons-logging-1.1.1.jar -> Apache Commons Logging 1.1.1 http://mirror.cc.columbia.edu/pub/software/apache/commons/logging/binaries/commons-logging-1.1.1-bin.zip bsf.jar -> BSF-2.4.0 http://jakarta.apache.org/site/downloads/[preferred]/jakarta/bsf/binaries/bsf-bin-2.4.0.zip Please take the print of the readme.txt file and use as a reference. For courtesy kindly send me your feedback at ijazfx@yahoo.com [Less]

0
 
  0 reviews  |  0 users  |  0 current contributors  |  Analyzed about 17 hours ago
 
 

本项目为J2ee项目开发提供有用的过滤器、Servlet、JavaBean等组件。

0
 
  0 reviews  |  0 users  |  0 current contributors  |  Analyzed 9 days ago
 
 

summaryThe filter wraps any response content into a js string (except json type responses, they will be left as they were), and send it back to client as a jsonp callback. Function name of the callback depends on a customizable request parameter; and a request without the parameter will simply jump over the filter. UserGuide

0
 
  0 reviews  |  0 users  |  676 lines of code  |  0 current contributors  |  Analyzed 15 minutes ago
 
 

If you known rails, you must love its developer-friendly features such as params attribute in controller, the log of each request and so on. Now, this project is trying to bring these features to JavaEE as possible as it can. And there is one and only one rule: non-aggressive. Any apps can ... [More] benefit from this project, regardless whether using any frameworks or not. Now there are two filters, bring two rails-like features: RailsLikeParamsFilter - create params in the request which contains the request params DebugFilter - log infos of each request to stdout You just need to config these filters in web.xml, nothing else.Let's go... RailsLikeParamsFilterif the request param is something like this:foo[]=xxx&foo[]=yyy&...we automatically convert it to List, and put it in HttpServletRequest, with name "foo"。 So you can take it back: List list = request.getAttribute("foo")if the request param is something like this:foo[aaa]=xxx&foo[bbb]=yyy&...we automatically convert it to Map, and put it in HttpServletRequest, with name "foo"。 So you can take it back: Map map = request.getAttribute("foo")Why is , because we can convert the value if possible Value StringJava Class Integer numbers like 123Integer Float numbers like 123.45Double true/falseBoolean yyyy-MM-dd or yyyy/MM/dd or yyyy.MM.dd (like 1984-01-25) Date start by "l_",devided by ',' like l_1,2,3,4,5 List (recursion, numbers are also converted) start by "m_",entris devided by ',' and key-value devided by ':' like m_age:1,male:true Map (recursion, numbers are also converted) After convertion, all these converted values are put in a Map, the key is remain the name of the orignal request name, and then put the map in the HttpServletRequest, with the name "params" For example, given URL: foo/bar.action?person[age]=25&person[male]=true&person[birthday]=1984-01-25&person[emails]=l_a@b.com,c@d.comIn your controller: Map params = request.getAttribute("params"); Map person = params.get("person"); System.out.println(person);Then you get {birthday=Wed Jan 25 00:00:00 CST 1984, emails=[a@b.com, c@d.com], age=25, male=true} Add the Flash ScopeLike RAILS' flash[:foo], now you can do similar thing in J2EE: In your controller: ((Map)request.getSession().getAttribute("FLASH_SCOPE")).put("foo",value); In your view(normally this is a redirect page): ${FLASH_SCOPE.foo} Done! The rest is handled by the filter Other bouns{queryString} => String of current request params, in request scope {root} => context path, in request scope {paramName} => String of each request params, in request scope if there is more than one param use the same name(like foo[] above), then they are splited in new params names like foo_0, foo_1, each for one value, and the orignal param's value is modified to "value0,value1,value2,..." . Configration is just like normal filters RailsLikeParamsFilter jacky.lanlan.song.web.RailsLikeParamsFilter add-flash-scope false RailsLikeParamsFilter /* DebugFilterThis is for debug purpose, just config it, and it can log lots of useful infomation to your stdout. Configration debug jacky.lanlan.song.web.DebugFilter showHeaders false showServletContextParams false debug /* There is one more init-param, exclude-url-pattern, take a regex String as value, it controlls which URLs the filter should not focus on, the default value is ".+(\.css|\.js|\.png|\.jpg|\.gif)$" That's all for version 0.1, other features will be added ASAP. [Less]

0
 
  0 reviews  |  0 users  |  0 current contributors  |  Analyzed 9 days ago
 
 
 
 

Creative Commons License Copyright © 2013 Black Duck Software, Inc. and its contributors, Some Rights Reserved. Unless otherwise marked, this work is licensed under a Creative Commons Attribution 3.0 Unported License . Ohloh ® and the Ohloh logo are trademarks of Black Duck Software, Inc. in the United States and/or other jurisdictions. All other trademarks are the property of their respective holders.