Stripes (framework)
title: "Stripes (framework)" type: doc version: 1 created: 2026-02-28 author: "Wikipedia contributors" status: active scope: public tags: ["java-enterprise-platform", "free-software-programmed-in-java", "web-frameworks", "articles-with-example-java-code", "software-using-the-apache-license"] topic_path: "technology/web" source: "https://en.wikipedia.org/wiki/Stripes_(framework)" license: "CC BY-SA 4.0" wikipedia_page_id: 0 wikipedia_revision_id: 0
::data[format=table title="Infobox software"]
| Field | Value |
|---|---|
| name | Stripes |
| logo | Stripes logo.png |
| logo alt | Stripes Logo |
| author | Tim Fennell |
| released | |
| latest release version | 1.6.0 |
| latest release date | |
| operating system | Cross-platform |
| platform | Java Virtual Machine |
| programming language | Java |
| genre | Web application framework |
| license | Apache License 2.0 |
| website | |
| :: |
| name = Stripes | logo = Stripes logo.png | logo alt = Stripes Logo | screenshot = | caption = | author = Tim Fennell | developer = | released = | latest release version = 1.6.0 | latest release date = | latest preview version = | latest preview date = | operating system = Cross-platform | platform = Java Virtual Machine | programming language = Java | genre = Web application framework | license = Apache License 2.0 | website = Stripes is an open source web application framework based on the model–view–controller (MVC) pattern. It aims to be a lighter weight framework than Struts by using Java technologies such as annotations and generics that were introduced in Java 1.5, to achieve "convention over configuration". This emphasizes the idea that a set of simple conventions used throughout the framework reduce configuration overhead. In practice, this means that Stripe applications barely need any configuration files, thus reducing development and maintenance work. It has been dormant since 2016.
Features
- Action based MVC framework
- No configuration files
- POJOs
- Annotations replace XML configuration files
- Flexible and simple parameter binding
- Search engine friendly URLs
- Runs in J2EE web container
- JUnit integration
- Easy internationalization
- Wizard support
- JSP layouts
- JSP or freemarker templates as View
- Spring integration
- JPA support
- AJAX support
- Fileupload support
- Compatible with Google App Engine
- Open-source
- Lightweight
Example
A Hello World Stripes application, with just two files: ; HelloAction.java ::code[lang=java] import net.sourceforge.stripes.action.ActionBean; import net.sourceforge.stripes.action.ActionBeanContext; import net.sourceforge.stripes.action.DefaultHandler; import net.sourceforge.stripes.action.ForwardResolution; import net.sourceforge.stripes.action.Resolution; import net.sourceforge.stripes.action.UrlBinding;
@UrlBinding("/hello-{name=}.html") public class HelloAction implements ActionBean { private ActionBeanContext context; private String name;
public ActionBeanContext getContext() {
return context;
}
public void setContext(ActionBeanContext context) {
this.context = context;
}
public void setName(String name) {
this.name = name;
}
public String getName() {
return name;
}
@DefaultHandler
public Resolution view() {
return new ForwardResolution(“/WEB-INF/HelloWorld.jsp”);
}
} ::
; HelloWorld.jsp ::code[lang=xml]
Hello ${actionBean.name}Try again
::
No additional configuration files needed.
Bibliography
- {{cite book | first1 = Frederic | last1 = Daoud | date = October 27, 2008 | title = Stripes: ...and Java Web Development Is Fun Again | publisher = Pragmatic Bookshelf | series = Pragmatic Programmers | edition = 1st | pages = 396 | isbn = 978-1-934356-21-0 | lccn = 2010537102 | url = http://www.pragprog.com/titles/fdstr/stripes | archive-url = https://web.archive.org/web/20160629091133/https://pragprog.com/titles/fdstr/stripes | archive-date = 2016-06-29
::callout[type=info title="Wikipedia Source"] This article was imported from Wikipedia and is available under the Creative Commons Attribution-ShareAlike 4.0 License. Content has been adapted to SurfDoc format. Original contributors can be found on the article history page. ::