Struts Tutorials, Tips & Tricks

Apache Struts is an open-source web application framework for developing Java EE web applications. It uses and extends the Java Servlet API to encourage developers to adopt a model-view-controller (MVC) architecture. It was originally created by Craig McClanahan and donated to the Apache Foundation in May, 2000.

Struts displaytag tutorial: Sort / Pagination data using displaytag in Struts

Struts displaytag tutorial: Sort / Pagination data using displaytag in Struts
Struts display tag library is an open source suite of custom tags that provide high-level web presentation patterns which will work in an MVC model. The library provides a significant amount of functionality while still being easy to use. Displaytag can handle column display, sorting, paging, cropping, grouping, exporting, smart linking and decoration of a table in a customizable XHTML style.In the following example ...

Tutorial: Creating DynaActionForm example in Struts

Tutorial: Creating DynaActionForm example in Struts
We learned in this tutorial about creating a basic web application in Struts, We had used Struts Frameworks ActionForm to manage the form data. Let us see how to use DynaActionForm to manage the form data.DynaActionForm is also called as Dynamic Form Bean. These are extensions of Form Beans that allow you to specify their ...

Creating & Parsing JSON data with Java Servlet/Struts/JSP

Creating & Parsing JSON data with Java Servlet/Struts/JSP
JSON (JavaScript Object Notation) is a lightweight computer data interchange format. It is a text-based, human-readable format for representing simple data structures and associative arrays (called objects). The JSON format is specified in RFC 4627 by Douglas Crockford. The official Internet media type for JSON is application/json.The JSON format is often used for transmitting structured data over a network connection in ...

Struts Validation Framework Tutorial with example.

Struts Validation Framework Tutorial with example.
Apache Struts has changed the way we develop a Web application. Since its inception as an MVC architecture, Struts has been extensively used in J2EE world to develop robust, extendable and effective web applications. Introduction to Struts Validation Framework One of the important features of Struts framework is Struts Validation framework that performs validation on ...

Struts DispatchAction Tutorial with Example in Eclipse.

Struts DispatchAction Tutorial with Example in Eclipse.
Are you bugged of creating separate action classes for some common set of functionality in your Struts application? Feeling pain in managing all those hundreds of Action classes in your project? Don't worry, cheers..!! DispatchAction is for you.DispatchAction is one of the Struts built-in action that provides a mechanism that facilitates having a set of related functionality in a single action instead of creating separate ...

Tutorial: Struts File Upload Example.

Let us see how we can implement file upload functionality using Apache Struts Framework. I assume you have basic knowledge about Struts and know the flow of a struts application. If you are new to struts, I suggest you to check this tutorial first: Struts Project in Eclipse.First let us download all the required JAR files to implement file upload functionality. For this we ...

Tutorial:Struts Spring framework example in Eclipse.

Tutorial:Struts Spring framework example in Eclipse.
Let us see how to add Spring support (Spring IOC) to a Struts application using Eclipse IDE. I will use the hello world struts project that we created in this tutorial as base reference and step by step we will add Spring support to it.In this tutorial we will use Spring IOC (Inversion Of Control) mechanism. There will be a business delegate class ...

Tutorial: Struts Tiles plugin example in Eclipse

Tutorial: Struts Tiles plugin example in Eclipse
In the previous tutorials about Creating Struts application in Eclipse, we saw step by step how we can create a Struts project. In this tutorial we will explore Tiles plugin in struts. Introduction of Tiles Plugin Nowadays, website are generally divided into pieces of reusable template that are being rendered among different web pages. For example a site containing header, footer, menu etc. This items remains ...

Tutorial: Creating Struts application in Eclipse

Tutorial: Creating Struts application in Eclipse
Note: If you looking for tutorial "Create Struts2 Application in Eclipse" Click here. In this tutorial we will create a hello world Struts application in Eclipse editor. We will implement a web application using Struts framework which will have a login screen. Once the user is authenticated, (s)he will be redirected to a welcome page.Let us start with our first struts based web application.First ...

Implementing Clean URL in Struts

The web application created by using Struts framework can be easily identified by the URL patterns. Mostly all the Struts application have *.do or *.action URL depending on the version of Struts being used and the best practices that are followed.These URLs are less  search engine friendly as they reveal very little about the content. Hence it can be useful to implement a web application ...
Tags:
Page 1 of 212