Struts

  • submit to reddit
Struts 1 tutorials hosted on Vaannila

Struts Examples

Example Source Source + Lib Struts Hello World Example Download Download Struts Login Application...

0 replies - 19533 views - 06/15/12 by Meyyappan Muthuraman in Articles

Using WildCards in ActionMapping Tutorial

In this tutorial you will learn see how to reduce the number of action mappings by using wildcard characters. Here is an example of struts configuration...

0 replies - 4112 views - 06/15/12 by Meyyappan Muthuraman in Articles

Struts File Upload Tutorial

In this tutorial we will see how to allow the user to upload a file using Struts. In order to allow the user to upload a file, we need to set the encoding...

2 replies - 20504 views - 06/15/12 by Meyyappan Muthuraman in Articles

Multiple Struts Configuration Files Tutorial

Your struts-config.xml file is large and it is hard to maintain am I right? Not anymore you can easily break it into multiple xml files like this. ...

0 replies - 12581 views - 06/15/12 by Meyyappan Muthuraman in Articles

Displaytag TableDecorator Tutorial

A "decorator" is a design pattern where one object provides the functionality to decorate an other object. Its a better to have all the...

0 replies - 15530 views - 06/15/12 by Meyyappan Muthuraman in Articles

Pagination and Sorting using Display tag Tutorial

Display tag library is a open source suite which can be used for displaying tables. The dispaly tag library also helps in paging , sorting , grouping and...

1 replies - 21552 views - 06/15/12 by Meyyappan Muthuraman in Articles

Export to Excel, PDF, CSV and XML using Display tag

Using display tag library, we can export the data grid as excel, pdf, csv and xml. In the following example we will see how to dispaly data using display...

0 replies - 18326 views - 06/15/12 by Meyyappan Muthuraman in Articles

Struts Export WorkBook to Excel Tutorial

In this example we will see how to export a WorkBook to Excel. ExcelCreator class is used to create the HSSFWorkbook. The ExcelCreator class contains the...

0 replies - 6351 views - 06/15/12 by Meyyappan Muthuraman in Articles

Struts Tiles Tutorial

Tiles is used to create reusable presentation components. With Tiles, we first define a base layout with different sections after that we define which jsp...

0 replies - 30320 views - 06/15/12 by Meyyappan Muthuraman in Articles

Struts Export JSP to Excel Tutorial

<%@page contentType="text/html" pageEncoding="UTF-8"%> <%@taglib uri="/WEB-INF/struts-logic.tld"...

0 replies - 12779 views - 06/15/12 by Meyyappan Muthuraman in Articles

Internationalizing Struts Application Using Browser Settings Tutorial

Internationalization also known as I18N is used for displaying content specific to the locale based on their languages, currencies and formatting...

0 replies - 8334 views - 06/15/12 by Meyyappan Muthuraman in Articles

Internationalizing Struts Application From JSP Page Tutorial

Internationalization also known as I18N is used for displaying content specific to the locale based on their languages, currencies and formatting...

0 replies - 8775 views - 06/15/12 by Meyyappan Muthuraman in Articles

Struts Custom Validation Example

In this example we will see how to do custom validation in struts. To perform custom validation we extend the UserForm from...

0 replies - 14460 views - 06/15/12 by Meyyappan Muthuraman in Articles

Date and Email Validation Tutorial

In this example we will see how to do date validation and email validation in struts using validator framework. Our userForm is of type...

0 replies - 12587 views - 06/15/12 by Meyyappan Muthuraman in Articles

Struts Mask Validation Rule Example

In this example you will see how to use the mask rule to restrict the user input. Here the userForm has two fields, one for the user name and the other...

0 replies - 11304 views - 06/15/12 by Meyyappan Muthuraman in Articles