J F W

making web application programming easier is possible

HOW TO : WEBAPP

web.xml

Common with Struts 1.x

The sections for UTF-8, Compression, Axis, Scheduler and JFW tag library are the same for both Struts 1.x and Struts 2.x.

Struts 2.0.11.2

In our example we use the ".do" url pattern for Struts 1.x and the ".action" url pattern for Struts 2.x.
In order to change this behavior, the value of tag url-pattern must be changed.

Tiles 2.x

Here is the configuration for tiles:

What we defined in the previous code is the name and relative path of the configuration file.