View RSS Feed


Struts Tutorial

  1. Tag Library Introduction

    by , 07-07-2012 at 07:51 PM
    The programming language objects are created and accessed using action elements in Java Server Pages and the output stream is affected. There are 6 standard actions that are defined in the JSP specification and the JSP compliant implementation must provide these standards.
    The custom actions which are reusable modules are also supported by the JSP technology in addition with standard actions. The custom tag in a JSP page is used to invoke the customer action. The custom tags collection makes ...
  2. Type Conversion in Struts

    by , 07-07-2012 at 07:50 PM
    The protocol treats all the HTTP requests as a String. It may include Boolean, integers, dates, numbers, decimals and everything. According to HTTP protocol, everything is a string. As compared to this approach, the struts class supports the data types and it has properties.
    Different types of converters are used by the struts so that it can perform heavy lifting. For example, in your Action class you have a specific data type like integer; it will be automatically converted into integer ...
  3. Struts2 Localization and internationalization

    by , 07-07-2012 at 07:47 PM
    In order to make products and services compatiable with local cultures and languages, the internationalization process is used. Localization is a process that plans implement products and services and make them adaptable to specific culture and language. The internationalization process is also refered as localization enablement or translation. Internationalization is also abbreviated as i18n.

    It starts with i.
    It ends with n
    It contains 18 characters between ...
  4. Architecture of Struts 2

    by , 07-07-2012 at 07:46 PM
    Struts2 is a MVC/MVC2 framework from a high level view. The following 5 components provide the Struts2 Model View Controller Pattern.

    Value Stack

    In Struts2 the actions take the model role instead of controller so it is little different from the traditional Model view controller framework. But there is always a overlap between the two.

    Name:  1.jpg
Views: 3426
Size:  56.1 KB
  5. Disadvantages of Struts2

    by , 07-07-2012 at 07:44 PM
    Struts2 provides a lot of good features and functionalities but there also few disadvantages of Struts2 in specific environments and conditions. We will discuss the disadvantages of Struts2 in this topic.

    Bigger Learning Curve: In order to use Struts MVC framework, you must have expertise with JSP, Servlet API and the Struts framework.
    Poor Documentation: Struts2 offers limited online resources for learning as compared to standard JSP and Servlet API. Also the new user ...
  6. Struts 2 Introduction

    by , 07-07-2012 at 07:43 PM
    Struts2 is a mature and very popular MVC design pattern based web application framework. In Struts2, the complete architecture is rewritten as compared to Struts 1.
    The Struts framework provided the base for WebWork framework and basically it was designed to provide improved and better framework built on top of Struts so that developers can easily develop web applications.

    After a while, Struts community and WebWork framework developed Struts2 framewrok with combine efforts. ...