<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:blogger='http://schemas.google.com/blogger/2008' xmlns:georss='http://www.georss.org/georss' xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-2567683668155971275</id><updated>2026-05-12T08:40:25.790-07:00</updated><category term="Struts2 Tags"/><category term="Form Tag"/><category term="Struts UI tags"/><category term="Data Tag"/><category term="Struts 2"/><category term="struts2 example"/><category term="Control Tags"/><category term="strus2 tutorial"/><category term="Introduction to Struts 2 Framework"/><category term="struts2 video tutorial"/><category term="About Struts"/><category term="About Struts 2 FrameWork"/><category term="Date Tag"/><category term="Struts 2 FrameWork"/><category term="Action Tag"/><category term="Auto Completer tag"/><category term="Checkbox Tag"/><category term="Checkboxlist Tag"/><category term="Combobox"/><category term="Create Struts2 Project"/><category term="Datetimepicker"/><category term="Doubleselect Tag"/><category term="File Tag"/><category term="Struts 2 actions"/><category term="date time"/><category term="struts2 ActionSupport"/><category term="struts2 ModelDriven"/><category term="struts2 tutorial"/><category term="struts2 wildcards"/><category term="About Me"/><category term="Bean Tag"/><category term="Eclipse"/><category term="Generic Tag"/><category term="Include Tag"/><category term="Label Tag"/><category term="Merge Tag"/><category term="NetBeans"/><category term="Optgroup Tag"/><category term="Optiontransferselect"/><category term="Param Tag"/><category term="Password Tag"/><category term="Property Tag"/><category term="Radio Tag"/><category term="Set Tag"/><category term="Struts 2 Interceptors"/><category term="Submit Tag"/><category term="Subset Tag"/><category term="Text Tag"/><category term="Textfield Tag"/><category term="about Struts2"/><category term="append Tag"/><category term="combobox struts2 example"/><category term="generator Tag"/><category term="iterator Tag"/><category term="s:select"/><category term="s:textfield"/><category term="select Tag"/><category term="strut2 configuration"/><category term="struts 2 features"/><category term="struts 2 tutorial"/><category term="struts date tag"/><category term="struts2"/><category term="struts2 combobox"/><category term="struts2 features"/><category term="struts2 video example"/><title type='text'>Struts2 example || Free Struts2 Tutorial</title><subtitle type='html'>Archive of Struts 2 examples with tag, script. This is the best tutorial of struts 2 framework.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://struts2-example.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://struts2-example.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>kmlsarwar</name><uri>http://www.blogger.com/profile/02582018292045998018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>41</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-2567683668155971275.post-3260040981950828126</id><published>2015-01-05T22:08:00.000-08:00</published><updated>2015-01-05T22:08:32.702-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="About Struts"/><category scheme="http://www.blogger.com/atom/ns#" term="about Struts2"/><category scheme="http://www.blogger.com/atom/ns#" term="struts 2 features"/><category scheme="http://www.blogger.com/atom/ns#" term="struts 2 tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="struts2"/><category scheme="http://www.blogger.com/atom/ns#" term="struts2 features"/><category scheme="http://www.blogger.com/atom/ns#" term="struts2 tutorial"/><title type='text'>Struts 2 Features</title><summary type="text">The important features of struts 2 framework are as follows:


Configurable MVC components
POJO based actions
AJAX support
Integration support
Various Result Types
Various Tag support
Theme and Template support



1) Configurable MVC components
 In struts 2 framework, provide all the 
components (view components and action) information in struts.xml file. 
If we need to change any information, we</summary><link rel='replies' type='application/atom+xml' href='http://struts2-example.blogspot.com/feeds/3260040981950828126/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://struts2-example.blogspot.com/2015/01/struts-2-features.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/3260040981950828126'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/3260040981950828126'/><link rel='alternate' type='text/html' href='http://struts2-example.blogspot.com/2015/01/struts-2-features.html' title='Struts 2 Features'/><author><name>kmlsarwar</name><uri>http://www.blogger.com/profile/02582018292045998018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2567683668155971275.post-6503038358960906369</id><published>2012-08-13T03:02:00.000-07:00</published><updated>2013-08-14T00:09:33.422-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="About Struts"/><category scheme="http://www.blogger.com/atom/ns#" term="About Struts 2 FrameWork"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts 2"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts 2 FrameWork"/><title type='text'>About Struts 2 FrameWork</title><summary type="text">
A framework tries to automate the common tasks and provides a platform for the users to build applications quickly.

Struts 2 is based on the OpenSymphony Web Works Framework.

Struts 2 framework implements the Model-View-Controller (MVC) design pattern.

In Struts 2 the model, view and controller are implemented by the action, result and FilterDispatcher respectively.

The controller&#39;s job is </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/6503038358960906369'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/6503038358960906369'/><link rel='alternate' type='text/html' href='http://struts2-example.blogspot.com/2011/09/about-struts-2-framework.html' title='About Struts 2 FrameWork'/><author><name>kmlsarwar</name><uri>http://www.blogger.com/profile/02582018292045998018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhn8LANgicTkK8oz3OhHam0qn3v5Zg5o13dumKLPdeIF52yc_1_pV_34XBZSoZnOXsZozJryDoSyWAkzljVvj9Wzpovo2s_1Ko7-CwzAhynwDWIjS33S0UIAzpx56F-DSGyW5u8mdtZiBfz/s72-c/Interceptor1Pic1.gif" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2567683668155971275.post-314040874017621008</id><published>2012-02-12T00:17:00.000-08:00</published><updated>2012-02-12T02:23:06.159-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Action Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="Auto Completer tag"/><category scheme="http://www.blogger.com/atom/ns#" term="Checkbox Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="Checkboxlist Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="Combobox"/><category scheme="http://www.blogger.com/atom/ns#" term="Control Tags"/><category scheme="http://www.blogger.com/atom/ns#" term="Data Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="Date Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="date time"/><category scheme="http://www.blogger.com/atom/ns#" term="Datetimepicker"/><category scheme="http://www.blogger.com/atom/ns#" term="Doubleselect Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="File Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="Form Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="Generic Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts2 Tags"/><title type='text'>Struts Generic Tags</title><summary type="text">

The struts generic tags are used to control the execution flow when pages are rendered. Another use of struts generic tags are data extraction. Further Generic Tags are classified into Control Tags and Data Tags.


Control Tags: The Control Tags are used for flow control, such as if, else and iterate. Here are the list of Control Tags:
* if tag - Details
* elseIf tag - Details
* else tag - </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/314040874017621008'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/314040874017621008'/><link rel='alternate' type='text/html' href='http://struts2-example.blogspot.com/2011/07/struts-generic-tags.html' title='Struts Generic Tags'/><author><name>kmlsarwar</name><uri>http://www.blogger.com/profile/02582018292045998018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2567683668155971275.post-5798255837515755154</id><published>2012-01-29T20:18:00.000-08:00</published><updated>2012-01-29T20:46:37.120-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="About Struts 2 FrameWork"/><category scheme="http://www.blogger.com/atom/ns#" term="Introduction to Struts 2 Framework"/><category scheme="http://www.blogger.com/atom/ns#" term="strus2 tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="struts2 video tutorial"/><title type='text'>Struts2 Video Tutorial Part1</title><summary type="text">











Introduction to Struts 2 Framework


























</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/5798255837515755154'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/5798255837515755154'/><link rel='alternate' type='text/html' href='http://struts2-example.blogspot.com/2012/01/struts2-video-tutorial-part1.html' title='Struts2 Video Tutorial Part1'/><author><name>kmlsarwar</name><uri>http://www.blogger.com/profile/02582018292045998018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEix0B9zU6Iy1KOAw04n4gEVxpWdxNl-zgvoO_PWnuPwyEXEysoGGtgkjO14f7Q-7gBN_ZEmwzthsFg2dc9Dttvl-x4pMw1dMhHrkHs2A9Ge9XOSRPRnpKIjx4fV3bGqYlmz7akh-wDN1tU4/s72-c/framework-pic.jpg" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2567683668155971275.post-2908405276430341167</id><published>2012-01-28T20:20:00.000-08:00</published><updated>2012-01-29T20:46:48.379-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Introduction to Struts 2 Framework"/><category scheme="http://www.blogger.com/atom/ns#" term="strus2 tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="strut2 configuration"/><category scheme="http://www.blogger.com/atom/ns#" term="struts2 example"/><category scheme="http://www.blogger.com/atom/ns#" term="struts2 video example"/><category scheme="http://www.blogger.com/atom/ns#" term="struts2 video tutorial"/><title type='text'>Struts2 Video Tutorial Part2</title><summary type="text">





Struts 2 Simple Example and Configuration





</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/2908405276430341167'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/2908405276430341167'/><link rel='alternate' type='text/html' href='http://struts2-example.blogspot.com/2012/01/struts2-video-tutorial-part2.html' title='Struts2 Video Tutorial Part2'/><author><name>kmlsarwar</name><uri>http://www.blogger.com/profile/02582018292045998018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2567683668155971275.post-8485885593949102489</id><published>2012-01-27T20:21:00.000-08:00</published><updated>2012-01-29T20:46:57.665-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Introduction to Struts 2 Framework"/><category scheme="http://www.blogger.com/atom/ns#" term="strus2 tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts 2 actions"/><category scheme="http://www.blogger.com/atom/ns#" term="struts2 ActionSupport"/><category scheme="http://www.blogger.com/atom/ns#" term="struts2 ModelDriven"/><category scheme="http://www.blogger.com/atom/ns#" term="struts2 video tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="struts2 wildcards"/><title type='text'>Struts2 Video Tutorial Part3</title><summary type="text">





Struts 2 MVC Framework Session 3 | Struts 2 actions | ActionSupport | ModelDriven | wildcards &amp;nbsp;&amp;nbsp;





</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/8485885593949102489'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/8485885593949102489'/><link rel='alternate' type='text/html' href='http://struts2-example.blogspot.com/2012/01/struts2-video-tutorial-part3.html' title='Struts2 Video Tutorial Part3'/><author><name>kmlsarwar</name><uri>http://www.blogger.com/profile/02582018292045998018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2567683668155971275.post-1276399261294775377</id><published>2012-01-26T20:23:00.000-08:00</published><updated>2012-01-29T20:47:11.576-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Introduction to Struts 2 Framework"/><category scheme="http://www.blogger.com/atom/ns#" term="strus2 tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts 2 actions"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts 2 Interceptors"/><category scheme="http://www.blogger.com/atom/ns#" term="struts2 ActionSupport"/><category scheme="http://www.blogger.com/atom/ns#" term="struts2 ModelDriven"/><category scheme="http://www.blogger.com/atom/ns#" term="struts2 video tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="struts2 wildcards"/><title type='text'>Struts2 Video Tutorial Part4</title><summary type="text">





Struts 2 Interceptors | Struts 2 Framework Session 4 | Interceptors &amp;nbsp;&amp;nbsp;





</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/1276399261294775377'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/1276399261294775377'/><link rel='alternate' type='text/html' href='http://struts2-example.blogspot.com/2012/01/struts2-video-tutorial-part4.html' title='Struts2 Video Tutorial Part4'/><author><name>kmlsarwar</name><uri>http://www.blogger.com/profile/02582018292045998018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author></entry><entry><id>tag:blogger.com,1999:blog-2567683668155971275.post-5422721082301033427</id><published>2011-12-28T20:39:00.000-08:00</published><updated>2012-02-17T23:05:04.162-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Form Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="s:textfield"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts 2"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts 2 FrameWork"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts UI tags"/><category scheme="http://www.blogger.com/atom/ns#" term="struts2 example"/><category scheme="http://www.blogger.com/atom/ns#" term="Textfield Tag"/><title type='text'>Struts2 - Textfield Tag (Form Tags)</title><summary type="text">
In this section, we are going to describe the textfield tag. The textfield tag is a UI tag that is used to render an HTML input field of type text.

Add the following code snippet into the struts.xml file.

struts.xml
&amp;lt;action&amp;nbsp;name=&quot;submitTag&quot;&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;lt;result&amp;gt;/pages/uiTags/submitTag.jsp&amp;lt;/result&amp;gt;
&amp;lt;/action&amp;gt;


Create a jsp using the tag &amp;lt;s:textfield&amp;nbsp;&amp;gt;&amp;</summary><link rel='replies' type='application/atom+xml' href='http://struts2-example.blogspot.com/feeds/5422721082301033427/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://struts2-example.blogspot.com/2011/12/textfield-tag-example.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/5422721082301033427'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/5422721082301033427'/><link rel='alternate' type='text/html' href='http://struts2-example.blogspot.com/2011/12/textfield-tag-example.html' title='Struts2 - Textfield Tag (Form Tags)'/><author><name>kmlsarwar</name><uri>http://www.blogger.com/profile/02582018292045998018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEis8xxKC-a2EbIIX2i6B14NprekoGpz8J_O5gc0pGZcVb8Q58LszyDhVtfCifPbnj3XM8MTlIVyNR5wjkGhi_0EO2vHLKjXl-M_JaVLStNLGIV0iDnLPsvd2CmqTPfjQwMWnqjs8NoKzC6G/s72-c/textfieldTag.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2567683668155971275.post-4436964581383436694</id><published>2011-12-28T20:27:00.000-08:00</published><updated>2012-02-17T23:04:44.452-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Form Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts 2"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts UI tags"/><category scheme="http://www.blogger.com/atom/ns#" term="struts2 example"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts2 Tags"/><category scheme="http://www.blogger.com/atom/ns#" term="Submit Tag"/><title type='text'>Struts2 - Submit Tag (Form Tags)</title><summary type="text">
In this section, we are going to describe the submit tag. The submit tag is a UI tag that is used to render a submit button. The submit tag is used with the form tag to provide asynchronous form submissions. The submit can have three different types of rendering:

         


• input: renders as html &amp;lt;input&amp;nbsp;type=&quot;submit&quot;...&amp;gt;

• image: renders as html &amp;lt;input type=&quot;image&quot;...&amp;gt;

• </summary><link rel='replies' type='application/atom+xml' href='http://struts2-example.blogspot.com/feeds/4436964581383436694/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://struts2-example.blogspot.com/2011/12/submit-tag-example.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/4436964581383436694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/4436964581383436694'/><link rel='alternate' type='text/html' href='http://struts2-example.blogspot.com/2011/12/submit-tag-example.html' title='Struts2 - Submit Tag (Form Tags)'/><author><name>kmlsarwar</name><uri>http://www.blogger.com/profile/02582018292045998018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhuwwe-yULoEoopQ2E57EBNbK6KUYrjKcUnrIyHzp9hB8E7XCq3P41ZzfIhjanUumiXJXod67XMy6ywPjSqtSMgWkro8bj2V4nqFCrFYdFhajecYSoTLLo6bMRe8b6eE1tB7lNzArThYZMD/s72-c/submitTag.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2567683668155971275.post-6777578206950347740</id><published>2011-12-01T01:06:00.000-08:00</published><updated>2012-02-17T23:15:51.148-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Form Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="s:select"/><category scheme="http://www.blogger.com/atom/ns#" term="select Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts 2"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts UI tags"/><category scheme="http://www.blogger.com/atom/ns#" term="struts2 example"/><title type='text'>Struts2 - Select Tag (Form Tags)</title><summary type="text">
In this section, we are going to describe the select tag. The select tag is a UI tag that is used to render an HTML input tag of type select.
Add the following code snippet into the struts.xml file.

struts.xml
&amp;lt;action&amp;nbsp;name=&quot;selectTag&quot;&amp;nbsp;class=&quot;net.struts2.weekDay&quot;&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;result&amp;gt;/pages/uiTags/selectTag.jsp&amp;lt;/result&amp;gt;
&amp;lt;/action&amp;gt;


Create an action class </summary><link rel='replies' type='application/atom+xml' href='http://struts2-example.blogspot.com/feeds/6777578206950347740/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://struts2-example.blogspot.com/2011/12/select-tag-example.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/6777578206950347740'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/6777578206950347740'/><link rel='alternate' type='text/html' href='http://struts2-example.blogspot.com/2011/12/select-tag-example.html' title='Struts2 - Select Tag (Form Tags)'/><author><name>kmlsarwar</name><uri>http://www.blogger.com/profile/02582018292045998018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjnt6cVFsxsfpZBrOAXOvztjS0ZMq6p2gjZGke67Ij4kfjDK3xIyh4LzP9dY515EtM_7FF_8J8FixB-WgW37yeuyt7hEr9dgBa1QV0L9b4fJ7dxjfYD92iQtnpg82hDqXl3IbT5etf2O3ez/s72-c/selectTag.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2567683668155971275.post-6921147285364146883</id><published>2011-10-26T21:15:00.000-07:00</published><updated>2012-02-17T23:03:47.672-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Form Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="Radio Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts 2"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts UI tags"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts2 Tags"/><title type='text'>Struts2 - Radio Tag (Form Tags)</title><summary type="text">
In this section, we are going to describe the radio tag. The radio tag is a UI tag that renders a radio button input field.
Add the following code snippet into the struts.xml file.

struts.xml
&amp;lt;action&amp;nbsp;name=&quot;radioTag&quot;&amp;nbsp;class=&quot;net.struts2.checkboxlistTag&quot;&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;lt;result&amp;gt;/pages/uiTags/radioTag.jsp&amp;lt;/result&amp;gt;
&amp;lt;/action&amp;gt;


Create an action class with two lists as </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/6921147285364146883'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/6921147285364146883'/><link rel='alternate' type='text/html' href='http://struts2-example.blogspot.com/2011/10/radio-tag-example.html' title='Struts2 - Radio Tag (Form Tags)'/><author><name>kmlsarwar</name><uri>http://www.blogger.com/profile/02582018292045998018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiB8rZ2Y0vVv9R38sN-TZ5ZCGMuFr0yHQpKpT_lk2dxz-dYkm6reV321INnTq1agBOCmL7wyMJaxHnsBCG1UWbp7PRngR1JzMucHeYOl7BkOHGgBpbI-Nn4pPXQifP-MKEBDRn2YNMOMLQW/s72-c/radioTag.gif" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2567683668155971275.post-5219334803690962665</id><published>2011-10-16T03:49:00.000-07:00</published><updated>2012-02-17T23:03:29.852-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="About Struts"/><category scheme="http://www.blogger.com/atom/ns#" term="Form Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="Optgroup Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts 2"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts2 Tags"/><title type='text'>Struts2 - Optgroup Tag (Form Tags)</title><summary type="text">
In this section, we are going to describe the optgroup tag. The optgroup tag is a UI tag that creates an optgroup component which needs to reside within a select tag &amp;lt;s:select&amp;gt;.

Add the following code snippet into the struts.xml file.

struts.xml
&amp;lt;action&amp;nbsp;name=&quot;optgroupTag&quot;&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;result&amp;gt;/pages/uiTags/optgroupTag.jsp&amp;lt;/result&amp;gt;
&amp;lt;/action&amp;gt;


Create a </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/5219334803690962665'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/5219334803690962665'/><link rel='alternate' type='text/html' href='http://struts2-example.blogspot.com/2011/10/struts2-optgroup-tag-example.html' title='Struts2 - Optgroup Tag (Form Tags)'/><author><name>kmlsarwar</name><uri>http://www.blogger.com/profile/02582018292045998018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj-rX12UOe4VcXgjGQfEIwvcxFnbQ7tp7_Bez-PljPpXCcE1GtS9ggoR4mV_FCP-faPmBAnUfApjXVJEqWalqSFNHwlzBdPxX-aNx17xrhwf-RsEJifrw_FAnUaJkLcdd9q4BO-xfzauGQx/s72-c/optgroup.gif" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2567683668155971275.post-5704430500389898012</id><published>2011-10-16T03:38:00.000-07:00</published><updated>2012-02-17T23:03:09.364-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Form Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="Optiontransferselect"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts 2"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts UI tags"/><title type='text'>Struts2 - Optiontransferselect Tag (Form Tags)</title><summary type="text">
In this section, we are going to describe the Optiontransferselect tag. The Optiontransferselect tag is a UI tag that creates an option transfer select component. There are two &amp;lt;select&amp;nbsp;...&amp;gt; tags with buttons in the middle of them, which allows options in each of the &amp;lt;select&amp;nbsp;...&amp;gt; to be moved between them. It auto-selects all its elements upon its containing form submission.
</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/5704430500389898012'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/5704430500389898012'/><link rel='alternate' type='text/html' href='http://struts2-example.blogspot.com/2011/10/struts2-optiontransferselect-tag.html' title='Struts2 - Optiontransferselect Tag (Form Tags)'/><author><name>kmlsarwar</name><uri>http://www.blogger.com/profile/02582018292045998018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgpfOf25PQyzS7XLz1t1bbLSEnhrcs7AeEHNM7yjGBMvVh105czo5_S69GVztd837xyvWwX7fGyLFSyGiuf6mBQaIJUU9LFOHHLT87Z7fJx59_tdupqJkBHq824bXt2a6wtyNL86KLAuZ9P/s72-c/optiontransferselectTag.gif" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2567683668155971275.post-579551812401793654</id><published>2011-10-16T03:15:00.000-07:00</published><updated>2012-02-17T23:02:45.511-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Form Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="Password Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="strus2 tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts 2"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts 2 FrameWork"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts UI tags"/><category scheme="http://www.blogger.com/atom/ns#" term="struts2 example"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts2 Tags"/><title type='text'>Struts2 - Password Tag (Form Tags)</title><summary type="text">
In this section, we are going to describe the password tag. The password tag is a UI tag that renders an HTML input tag of type password.

Add the following code snippet into the struts.xml file.

struts.xml
&amp;lt;action&amp;nbsp;name=&quot;passwordTag&quot;&amp;gt;
&amp;lt;result&amp;gt;/pages/uiTags/passwordTag.jsp&amp;lt;/result&amp;gt;&amp;nbsp;&amp;lt;/action&amp;gt;


Create a jsp using the tag &amp;lt;s:password&amp;gt;. It renders an HTML </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/579551812401793654'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/579551812401793654'/><link rel='alternate' type='text/html' href='http://struts2-example.blogspot.com/2011/10/password-tag-example.html' title='Struts2 - Password Tag (Form Tags)'/><author><name>kmlsarwar</name><uri>http://www.blogger.com/profile/02582018292045998018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO4yEsS1XNOv2m9ec2Qzu5KaIkjvsxkDtLav9U1FnE7eVHyjG-wlu874D-CCPd-8zuqmzGvK7jJOF8ZNbesvVVeuJ8L7drXVesp4kwRK4Bd_Dchyz0zN2rP0ckZGWiSjRh0phyphenhyphennKXP214I/s72-c/passwordTag.gif" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2567683668155971275.post-2926519997642550554</id><published>2011-10-08T23:12:00.000-07:00</published><updated>2012-02-17T23:02:08.132-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Form Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="Label Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts2 Tags"/><title type='text'>Struts2 - Label Tag (Form Tags)</title><summary type="text">
In this section, we are going to describe the label tag. The label tag is a UI tag that is used to render an HTML LABEL that allows us to output label:name type of combinations that has the same format treatment as the rest of UI controls.

Add the following code snippet into the struts.xml file.

struts.xml
&amp;lt;action&amp;nbsp;name=&quot;labelTag&quot;&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;result&amp;gt;/pages/uiTags/</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/2926519997642550554'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/2926519997642550554'/><link rel='alternate' type='text/html' href='http://struts2-example.blogspot.com/2011/10/label-tag-example.html' title='Struts2 - Label Tag (Form Tags)'/><author><name>kmlsarwar</name><uri>http://www.blogger.com/profile/02582018292045998018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgrcbNKkvn6V3HFg8spLzBHAN__gONeeX5bzO0nZCxUCNOEqFGnedHPAPOJlRcZ_umn0onfWzYKL-t2FUB9XN7fivPMIWuktYUwB3esRpOr2MC8hJFCYb7an9fzp2Y-wTRcUSCMHU1wJ-Pa/s72-c/labelTag.gif" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2567683668155971275.post-7952634487045463694</id><published>2011-10-08T23:03:00.000-07:00</published><updated>2012-02-17T23:01:50.221-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Doubleselect Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="Form Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts UI tags"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts2 Tags"/><title type='text'>Struts2 - Doubleselect Tag (Form Tags)</title><summary type="text">
In this section, we are going to describe the doubleselect tag. The doubleselect tag is a UI tag that renders two HTML select elements with second one changing displayed values depending on selected entry of first one.

Add the following code snippet into the struts.xml file.

struts.xml
&amp;lt;action&amp;nbsp;name=&quot;doubleselectTag&quot;&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;lt;result&amp;gt;/pages/uiTags/doubleselectTag.jsp&amp;lt;/</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/7952634487045463694'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/7952634487045463694'/><link rel='alternate' type='text/html' href='http://struts2-example.blogspot.com/2011/10/doubleselect-tag-example.html' title='Struts2 - Doubleselect Tag (Form Tags)'/><author><name>kmlsarwar</name><uri>http://www.blogger.com/profile/02582018292045998018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhAI25hM5j9m9UjusVhba6aDhmScpgKsg6mLwV4c5bqQ2Zt33xPGJqgKY3K01gtmJBkEHMipByGqIac7WU8Lw6AMXHLLCTtHutnncadkgcdfX0GSHgwjnJrby9fzLQW8_KDrffGakzfwDA4/s72-c/doubleselectTag.gif" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2567683668155971275.post-1406908849506269533</id><published>2011-10-03T22:16:00.000-07:00</published><updated>2012-02-17T23:01:21.350-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="File Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="Form Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts UI tags"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts2 Tags"/><title type='text'>Struts2 - File Tag (Form Tags)</title><summary type="text">
In this section, we are going to describe the file tag. The file tag is a UI tag that renders an HTML file input element achieved through browsing.

Add the following code snippet into the struts.xml file.

struts.xml
&amp;lt;action&amp;nbsp;name=&quot;fileTag&quot;&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;lt;result&amp;gt;/pages/uiTags/fileTag.jsp&amp;lt;/result&amp;gt;
&amp;lt;/action&amp;gt;


Create a jsp using the tag . It renders an HTML file input </summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/1406908849506269533'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/1406908849506269533'/><link rel='alternate' type='text/html' href='http://struts2-example.blogspot.com/2011/10/file-tag-example.html' title='Struts2 - File Tag (Form Tags)'/><author><name>kmlsarwar</name><uri>http://www.blogger.com/profile/02582018292045998018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgZwdQz30hGg5r-vfWsy2qwrEruuYPYc5_N_QyzrkBl8HF2wcH2sspGfWLEvQqZL0CcVIv7u6YHmyx2J2sWCUuwPo4G_1jMj5nb_BJCDPljWE73oEjhUHtmxUjxRYjPyFWVnmvfch1STe_0/s72-c/fileTag1.gif" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2567683668155971275.post-1733014234785606101</id><published>2011-10-03T21:59:00.000-07:00</published><updated>2012-02-17T23:00:55.167-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Form Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts UI tags"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts2 Tags"/><title type='text'>Struts2 - Form Tag</title><summary type="text">
In this section, we are going to describe the form tag. The form tag is a UI tag that renders HTML an input form. The remote form allows the form to be submitted without the page being refreshed. The results from the form can be inserted into any HTML element on the page.

Add the following code snippet into the struts.xml file.

struts.xml
&amp;lt;action&amp;nbsp;name=&quot;formTag&quot;&amp;gt;
&amp;lt;result&amp;gt;/pages</summary><link rel='replies' type='application/atom+xml' href='http://struts2-example.blogspot.com/feeds/1733014234785606101/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://struts2-example.blogspot.com/2011/10/form-tag-example.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/1733014234785606101'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/1733014234785606101'/><link rel='alternate' type='text/html' href='http://struts2-example.blogspot.com/2011/10/form-tag-example.html' title='Struts2 - Form Tag'/><author><name>kmlsarwar</name><uri>http://www.blogger.com/profile/02582018292045998018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjx7xchpnYj8oCL4gLxz5QL7NjXhKKxzBDFaxQ2lsj4Z9kNL4otPFp3c32BzDuRI2lEMrdOuYUyj_xguRfu6wyLuXg8i7MJRqgd-W12OuNysIC24yMppPFspygwUOP9pDvPqwjFEuyWGkoy/s72-c/formTag.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2567683668155971275.post-6507174675059355974</id><published>2011-09-30T23:53:00.000-07:00</published><updated>2012-02-08T03:37:15.762-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="About Struts 2 FrameWork"/><category scheme="http://www.blogger.com/atom/ns#" term="Date Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="date time"/><category scheme="http://www.blogger.com/atom/ns#" term="Datetimepicker"/><category scheme="http://www.blogger.com/atom/ns#" term="Form Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="strus2 tutorial"/><category scheme="http://www.blogger.com/atom/ns#" term="struts date tag"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts UI tags"/><category scheme="http://www.blogger.com/atom/ns#" term="struts2 example"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts2 Tags"/><title type='text'>Datetimepicker Tag Example</title><summary type="text">
In this section, we are going to describe the datetimepicker tag. The datetimepicker tag is a UI tag that is used to render a date/time picker in a dropdown container. A stand-alone DateTimePicker widget that makes it easy to select a date/time or increment by week, month, and/or year.

It is possible to customize the user-visible formatting with either the &#39;formatLength&#39; (long, short, medium or</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/6507174675059355974'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/6507174675059355974'/><link rel='alternate' type='text/html' href='http://struts2-example.blogspot.com/2011/09/datetimepicker-tag-example.html' title='Datetimepicker Tag Example'/><author><name>kmlsarwar</name><uri>http://www.blogger.com/profile/02582018292045998018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj2PLQSeUFC35ajAGEmVQ9QY8zzS8mM8NeOZSAzfLBXDGUkuMZrt4ZZSui05Nfb3-cxZ3M6wzAqfR4eomPzJeCI1jdD2IoWcspc_2ih7P00Xb3DihMB0eWACSCI2Zmdkft2HnNgWCe5bUGb/s72-c/datetimepickerTag.gif" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2567683668155971275.post-1726915760789225997</id><published>2011-09-27T03:15:00.000-07:00</published><updated>2015-01-05T22:43:15.680-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Combobox"/><category scheme="http://www.blogger.com/atom/ns#" term="combobox struts2 example"/><category scheme="http://www.blogger.com/atom/ns#" term="Form Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="struts2 combobox"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts2 Tags"/><category scheme="http://www.blogger.com/atom/ns#" term="struts2 tutorial"/><title type='text'>Struts2 - Combobox Tag (Form Tags)</title><summary type="text">
The struts2 combobox is basically an HTML INPUT of type text and HTML SELECT grouped together to give you a combo box functionality. You can place text in the INPUT control by using the SELECT control or type it in directly in the text field.

Add the following code snippet into the struts.xml file.

struts.xml
&amp;lt;action&amp;nbsp;name=&quot;comboboxTag&quot;&amp;nbsp;class=&quot;net.struts2.comboboxTag&quot;&amp;gt;
&amp;nbsp;&amp;</summary><link rel='replies' type='application/atom+xml' href='http://struts2-example.blogspot.com/feeds/1726915760789225997/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://struts2-example.blogspot.com/2011/09/combobox-tag-example.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/1726915760789225997'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/1726915760789225997'/><link rel='alternate' type='text/html' href='http://struts2-example.blogspot.com/2011/09/combobox-tag-example.html' title='Struts2 - Combobox Tag (Form Tags)'/><author><name>kmlsarwar</name><uri>http://www.blogger.com/profile/02582018292045998018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEha_z6pGpkNO21LZ6_DOpm_IGUOVoHskdPRmaQSJ8kp4vfwVrODvfB2XVpoVdpsOyxy-oJGy7I27ZWCqI9LEkahpDGmHa5Vus2ISaSc3kNzk-KMTgtMg_R5iYwcvdymHUsnCfJeQWDGvMgf/s72-c/comboboxTag.gif" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2567683668155971275.post-2870487131267938220</id><published>2011-09-24T00:21:00.000-07:00</published><updated>2011-09-24T01:15:27.965-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Create Struts2 Project"/><category scheme="http://www.blogger.com/atom/ns#" term="NetBeans"/><category scheme="http://www.blogger.com/atom/ns#" term="struts2 example"/><title type='text'>Create Struts2 project Using NetBeans</title><summary type="text">If you decide to start learning and using struts2, probably one of the first things you think about is which IDE to use, and what you need in order to create and run a Struts2 project...

If you search the web , you&#39;ll find many tutorials on how to create a struts2 project, and start developing.
This is what I did when I was starting, and soon find out that nothing I found on the web worked for </summary><link rel='replies' type='application/atom+xml' href='http://struts2-example.blogspot.com/feeds/2870487131267938220/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://struts2-example.blogspot.com/2011/09/create-struts2-project-in-netbeans.html#comment-form' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/2870487131267938220'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/2870487131267938220'/><link rel='alternate' type='text/html' href='http://struts2-example.blogspot.com/2011/09/create-struts2-project-in-netbeans.html' title='Create Struts2 project Using NetBeans'/><author><name>kmlsarwar</name><uri>http://www.blogger.com/profile/02582018292045998018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhArd9MBaRfSy7mzS4KWsIQ9MkYNamLrfQuoGRtnv1rAgE3aYPSwJVXelfmyISLBfW2y1GQabPW73qSZuYuA0RM-6srEH5752qpBnL2gXLv03RCqSp7dnCdwpIAYkVUMLVztouYr-FBnSyN/s72-c/1.png" height="72" width="72"/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2567683668155971275.post-3138496284183297110</id><published>2011-09-19T01:44:00.000-07:00</published><updated>2011-10-01T00:02:26.475-07:00</updated><title type='text'>Global Action Forwards and Action Mappings</title><summary type="text">What is an action forward?
A action forward can be used to forward to a jsp or action mapping. There are two different action forwards. The global action forward and the local action forward. You can access a global action forward on each jsp or action class. A local action forward can only be accessed by the assigned action class.

What is a action mapping?
The action mapping is the heart of </summary><link rel='replies' type='application/atom+xml' href='http://struts2-example.blogspot.com/feeds/3138496284183297110/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://struts2-example.blogspot.com/2011/09/global-action-forwards-and-action.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/3138496284183297110'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/3138496284183297110'/><link rel='alternate' type='text/html' href='http://struts2-example.blogspot.com/2011/09/global-action-forwards-and-action.html' title='Global Action Forwards and Action Mappings'/><author><name>kmlsarwar</name><uri>http://www.blogger.com/profile/02582018292045998018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgO9nJFrZm8j7W5aJvtgSe-ib9D72r6RFU_C3RPhleNU2M-fcPwHztbUWzHDK5OA50W7xNwNgdQB-cEaieT7e_Otmtp4eihyXIKH_Q-nrBUI8CgDa7h00XRzbL6t3uVqupxtZAeAfhCa-kY/s72-c/myeclipse+for+struts-p6-1.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2567683668155971275.post-657481581999300469</id><published>2011-09-19T01:29:00.000-07:00</published><updated>2011-09-19T03:07:16.027-07:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Create Struts2 Project"/><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse"/><category scheme="http://www.blogger.com/atom/ns#" term="struts2 example"/><title type='text'>Create Struts2 Project Using MyEclipse</title><summary type="text">Create a struts projectCreate a new struts project with File &gt; New &gt; Project or use the shortcut Strg + n.
Select the Wizard in J2EE Web Project


Create a nice name for your project


After creating the project, your Package Explorer looks like the picture below.


For now your project is a normal J2EE project, so we need to add the struts capabilityies. Right click on the project and add the </summary><link rel='replies' type='application/atom+xml' href='http://struts2-example.blogspot.com/feeds/657481581999300469/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://struts2-example.blogspot.com/2011/09/create-struts2-project-using-myeclipse.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/657481581999300469'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/657481581999300469'/><link rel='alternate' type='text/html' href='http://struts2-example.blogspot.com/2011/09/create-struts2-project-using-myeclipse.html' title='Create Struts2 Project Using MyEclipse'/><author><name>kmlsarwar</name><uri>http://www.blogger.com/profile/02582018292045998018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEivmQzkgthq3WTtSy0nZEhJ6cMGcqSmzZak9CxytmykQOEF6PGli5X4Pgc7QCywAiLtehZMt9gn6HgpS4WbMx2VcbzchvHXjkWCMMaXSXhIN_lBIrX8bciToeEn7D1PSGBdBGlGj0kPAbqS/s72-c/myeclipse+for+struts-p2-2.JPG" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-2567683668155971275.post-92571402963567839</id><published>2011-09-13T00:17:00.000-07:00</published><updated>2012-02-17T22:59:49.777-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Checkboxlist Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="Form Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts2 Tags"/><title type='text'>Struts2 - Checkboxlist Tag (Form Tags)</title><summary type="text">
In this section, we are going to describe the checkboxlist tag. The checkboxlist tag is a UI tag that creates a series of checkboxes from a list. Setup is like  or , but creates checkbox tags.

Add the following code snippet into the struts.xml file.


struts.xml

&amp;lt;action&amp;nbsp;name=&quot;checkboxlistTag&quot;&amp;nbsp;class=&quot;net.struts2.checkboxlistTag&quot;&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;result&amp;gt;/pages/uiTags/</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/92571402963567839'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/92571402963567839'/><link rel='alternate' type='text/html' href='http://struts2-example.blogspot.com/2011/09/checkboxlist-tag-example.html' title='Struts2 - Checkboxlist Tag (Form Tags)'/><author><name>kmlsarwar</name><uri>http://www.blogger.com/profile/02582018292045998018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEihsI3KlpAlxMDIT_K7nAHBezJS7-4rywmuWTu05yTpU2SZ1DLWiLr3Uq4_kmV10rcCpx0JUsLZjv_mLRnFnTdOu2328MgwuUrBM9uw31H602UferhU_eKiBw3Nmn3HJ7S0E4V1yPgSvDWU/s72-c/checkboxlistTag.gif" height="72" width="72"/></entry><entry><id>tag:blogger.com,1999:blog-2567683668155971275.post-4746956131182322867</id><published>2011-09-13T00:05:00.000-07:00</published><updated>2012-02-17T22:59:03.166-08:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Checkbox Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="Form Tag"/><category scheme="http://www.blogger.com/atom/ns#" term="Struts2 Tags"/><title type='text'>Struts2 - Checkbox Tag (Data Tags)</title><summary type="text">
In this section, we are going to describe the checkbox tag. The checkbox tag is a UI tag that is used to render an HTML input element of type checkbox, populated by the specified property from the ValueStack.

Add the following code snippet into the struts.xml file.

struts.xml
&amp;lt;action&amp;nbsp;name=&quot;checkboxTag&quot;&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;lt;result&amp;gt;/pages/uiTags/checkboxTag.jsp&amp;lt;/result&amp;gt;
&amp;lt</summary><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/4746956131182322867'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/2567683668155971275/posts/default/4746956131182322867'/><link rel='alternate' type='text/html' href='http://struts2-example.blogspot.com/2011/09/checkbox-tag-example.html' title='Struts2 - Checkbox Tag (Data Tags)'/><author><name>kmlsarwar</name><uri>http://www.blogger.com/profile/02582018292045998018</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiyrSVPansgAu-elMJEVyOXxogo5IluQOICV_jBK9fGBFCk_Q519MMgtG_Lp_WkxwMXmPbKihBsMKVmn8sYrA7Ofrn81M8pLTcTf9Hy06Ww_Sk0_TpDNgHMrkOYRFMTyKH9QtRTMppcOkXf/s72-c/checkboxTag.gif" height="72" width="72"/></entry></feed>