public class HelloActionBean implements ActionBean {
ActionBeanContext context;
public void setContext(ActionBeanContext context) {
this.context = context;
}
public ActionBeanContext getContext() {
return this.context;
}
String message;
public String getMessage() {
return message;
}
public void setMessage(String message) {
this.message = message;
}
@HandlesEvent("sayHello")
public Resolution greeting() {
// return new RedirectResolution("/greeting.jsp");
return new ForwardResolution("/jsp/greeting.jsp");
}
}
分享到:
相关推荐
stripes入门,Stripes是一个以让程序员的web开发简单而高效为准则来设计的基于动作的开源Java web框架。本文将介绍Stripes与其它如Struts之类基于动作的框架的区别和其提供的一些存在于Ruby on Rails之中的简单性。
在使用Struts 1,WebWork 和 Struts 2 等框架的时候,通常需要大量额外的 XML 配置,当一个项目达到一定规模的的时候,编写 Java 代码的同时还要维护大量的 XML 配置,这的确是件费神的事。Stripes 完全抛弃了这些...
用Struts 1,WebWork 和 Struts 2 等框架的时候,通常需要大量额外的 XML 配置,当一个项目达到 一定规模的的时候,编写 Java 代码的同时还要维护大量的 XML 配置,这的确是件费神的事。 Stripes 完全抛弃了这些框架...
Stripes是一种新的简易的web框架势,本篇介绍在Stripes中下载excel表格
Stripes视图框架demo 资源可用性毋庸置疑 下载的童鞋给点辛苦分不要介意
Make developing web applications in Java easy...Make the Stripes ramp up time for a new developer less than 30 minutes Make it really easy to extend Stripes, without making you configure every last thing
Stripes 快速入门 pdf 中文版 下载
stripes1.5.7+spring3.1.1+MyBatis3.1.1完整框架 本工程代码已完成了Oracle,MySQL,MSSQL2005三种数据库物理分页方言,并测试可用。 本代码集成了xheditor-1.2.1在线编辑器远程抓取图片功能。 集成了excel导入...
Stripes是一个以让程序员的web开发简单而高效为准则来设计的基于动作的开源Java web框架。
NULL 博文链接:https://jayung.iteye.com/blog/1882363
Stripes-core 文档了一个使用 Stripes Connect 连接到后端服务的组件的简单示例。 通过示例展示了件——有些是连接的,有些不是——如何协同工作以实现应用程序的一部分。 请注意,这有点过时,但仍然
Stripes是一种新的Web框架,比struts2更简单项式,Stripes使用Ajax
Stripes是一个Java Web框架,其目标是使Java中基于Servlet / JSP的Web开发尽可能简单,直观和简单。 条纹始终遵循以下原则: 约定优于配置(CoC) 极轻量级,几乎没有外部依赖项。 为开发人员提供快速,迭代的代码/...
NULL 博文链接:https://rainyear.iteye.com/blog/1539513
Wordpress Blue Stripes模板
Wordpress Neon Stripes模板
In this 100-page book, you will find that Stripes provides a very simple learning path, where you do not need to understand the entire framework in order to use it. The concept of this book is exactly...
这个是本人从官网下载下来的一个简单的网上宠物商店的小小项目,整合了spring、mybatis和stripes
stripes的maven插件,用它可以迅速帮你用maven构建一个stipes工程模版。