摘要: In this tutorial, we show you how to save an image file into MongoDB, via GridFS API. The GridFS APIs are able to serve other binary files as well, li... 阅读全文
posted @ 2015-09-29 22:33 wuhn 阅读(620) 评论(1) 推荐(0) 编辑
摘要: As you learnt from the Struts 2 architecture, when you click on a hyperlink or submit an HTML form in a Struts 2 web application, the input is collect... 阅读全文
posted @ 2015-08-28 16:47 wuhn 阅读(396) 评论(0) 推荐(0) 编辑
摘要: From a high level, Struts2 is a pull-MVC (or MVC2) framework. The Model-View-Controller pattern in Struts2 is realized with following five core compon... 阅读全文
posted @ 2015-08-28 16:33 wuhn 阅读(415) 评论(0) 推荐(0) 编辑
摘要: Our first task is to get a minimal Struts 2 application running. This chapter will guide you on how to prepare a development environment to start your... 阅读全文
posted @ 2015-08-28 16:23 wuhn 阅读(290) 评论(0) 推荐(0) 编辑
摘要: Struts2 is popular and mature web application framework based on the MVC design pattern. Struts2 is not just the next version of Struts 1, but it is a... 阅读全文
posted @ 2015-08-28 16:14 wuhn 阅读(184) 评论(0) 推荐(0) 编辑
摘要: Model View Controller or MVC as it is popularly called, is a software design pattern for developing web applications. A Model View Controller pattern ... 阅读全文
posted @ 2015-08-28 16:08 wuhn 阅读(229) 评论(0) 推荐(0) 编辑
摘要: Apache Struts 2 is an elegant, extensible framework for creating enterprise-ready Java web applications. The framework is designed to streamline the f... 阅读全文
posted @ 2015-08-28 15:36 wuhn 阅读(232) 评论(0) 推荐(0) 编辑
摘要: The Struts `DynaActionForm` class is an interesting feature to let you create a form bean dynamically and declaratively. It enables you to create a “v... 阅读全文
posted @ 2015-08-28 15:34 wuhn 阅读(254) 评论(0) 推荐(0) 编辑
摘要: Struts `MappingDispatchAction` class is used to group similar functionality into a single action class, and execute the function depends on `parameter... 阅读全文
posted @ 2015-08-28 13:41 wuhn 阅读(314) 评论(0) 推荐(0) 编辑
摘要: The `DispatchActio`n class (`org.apache.struts.actions.DispatchAction`) provides a way to group all related functions into a single action class. It’s... 阅读全文
posted @ 2015-08-28 13:35 wuhn 阅读(241) 评论(0) 推荐(0) 编辑