<?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: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-356457465138170025</id><updated>2011-04-21T13:47:33.580-07:00</updated><title type='text'>My World My Space</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://amit-myworldmyspace.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/356457465138170025/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://amit-myworldmyspace.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Amit</name><uri>http://www.blogger.com/profile/17155357255691955623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>2</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-356457465138170025.post-1833123176375093659</id><published>2008-03-07T00:08:00.000-08:00</published><updated>2008-03-07T00:19:19.658-08:00</updated><title type='text'>Struts with Me</title><content type='html'>&lt;span style="font-weight: bold;"&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;div style="text-align: center;"&gt;&lt;span style="font-weight: bold;"&gt;Struts 2 Features&lt;/span&gt;&lt;/div&gt;  &lt;p&gt;&lt;span style="color:navy;"&gt;The strut-2 framework is designed for the compilation of the entire development cycle including of building, developing and maintaining the whole application. It is very extensible as each class of the framework is based on an Interface and all the base classes are given an extra application and even you can add your own. The basic platform requirements are Servlet API 2.4, JSP API 2.0 and Java 5.&lt;br /&gt;&lt;br /&gt;Some of the general features of the current Apache Strut 2 framework are given below.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Architecture &lt;/b&gt;– First the web browser request a resource for which the Filter Dispatcher decides the suitable action. Then the Interceptors use the required functions and after that the Action method executes all the function like storing and retrieving data from a database. Then the result can be seen on the output of the browser in HTML, PDF, images or any other.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Tags&lt;/b&gt; - Tags in Strut 2 allow creating dynamic web application with less number of coding. Not only these tags contain output data but also provide style sheet driven markup that in turn helps in creating pages with less code. Here the tags also support validation and localization of coding that in turn offer more utilization. The less number of codes also makes it easy to read and maintain.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;MVC &lt;/b&gt;– The &lt;b&gt;Model View Controller&lt;/b&gt; in Strut 2 framework acts as a co-coordinator between application’s model and web view. Its Controller and View components can come together with other technology to develop the model. The framework has its library and markup tags to present the data dynamically.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Configuration&lt;/b&gt; – Provides a deployment descriptor to initialize resources and is in XML format. The initialization is taken place by scanning all the classes using Java packages or you can use an application configuration file to control the entire configuration. Its general-purpose defaults allow using struts directly Out of the box.&lt;br /&gt;&lt;br /&gt;Configuration files are reloadable that allows changes without restarting a web container.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Other Features: &lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;All framework classes      are based on interfaces and core interfaces are independent from      HTTP.  &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;Check boxes do not      require any kind of special application for false values. &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;Any class can be used as      an action class and one can input properties by using any JavaBean      directly to the action class.  &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;Strut 2 actions are      Spring friendly and so easy to Spring integration.  &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;AZAX theme enables to      make the application more dynamic.  &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;Portal and servlet      deployment are easy due to automatic portlet support without altering      code. &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt; The request      handling in every action makes it easy to customize, when required. &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;h1&gt;Struts 2 History&lt;/h1&gt;  &lt;p&gt;&lt;span style="color:navy;"&gt;Apache Struts is an open-source framework that is used for developing Java web application. Originally developed by the programmer and author Craig R. McClanahan this was later taken over by the Apache Software Foundation in 2002. Struts have provided an excellent framework for developing application easily by organizing JSP and Servlet basically based on HTML formats and Java code. Strut1 with all standard Java technologies and packages of &lt;st1:city st="on"&gt;&lt;st1:place st="on"&gt;Jakarta&lt;/st1:place&gt;&lt;/st1:city&gt; assists to create an extensible development environment. However, with the growing demand of web application, &lt;b&gt;Strut 1&lt;/b&gt; does not stand firm and needs to be changed with demand. This led to the creation of Strut2, which is more developer friendly with features like &lt;st1:city st="on"&gt;&lt;st1:place st="on"&gt;Ajax&lt;/st1:place&gt;&lt;/st1:city&gt;, rapid development and extensibility.&lt;br /&gt;&lt;br /&gt;Strut is a well-organized framework based on &lt;b&gt;MVC &lt;/b&gt;architecture. In &lt;b&gt;Model-View-Architecture&lt;/b&gt;, Model stands for the business or database code, the View represents the page design code and the Controller for navigational code. All these together makes Struts an essential framework for building Java application. But with the development of new and lightweight MVC based frame works like Spring, Stripes and Tapestry, it becomes necessary to modify the Struts framework. So, the team of Apache Struts and another J2EE framework, &lt;b&gt;WebWork&lt;/b&gt; of &lt;i&gt;OpenSymphony&lt;/i&gt; joined hand together to develop an advanced frame works with all possible developing features that will make it developer and user friendly.&lt;br /&gt;&lt;br /&gt;&lt;b&gt;Strut2&lt;/b&gt; is a combined features of Struts Ti and WebWork 2 projects that advocates higher level application by using the architecture of WebWork2 with features including a plugin framework, a new API, &lt;st1:city st="on"&gt;&lt;st1:place st="on"&gt;Ajax&lt;/st1:place&gt;&lt;/st1:city&gt; tags etc. So the Struts communities and the WebWork team brought together several special features in WebWork2 to make it more advance in the Open Source world. Later the name of WebWork2 has changed to Struts2. Hence, Apache Strut 2 is a dynamic, extensible framework for a complete application development from building, deploying and maintaining.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText2"&gt;&lt;span style="color:navy;"&gt;WebWork is a framework for web-application development that has been included in Struts framework 2.0 release. It has some unique concepts and constructs like its compatibility of working within existing Web APIs in Java rather than trying to replace them completely. It has been built specifically taking into account the developer’s productivity and code simplicity. Furthermore it is completely context dependent that provides a wrapper around XWork. When working on web applications the web work provides a context that helps web developer in specific implementations. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p class="MsoBodyText2"&gt;&lt;span style="color:navy;"&gt;While, XWork provides a mechanism that is used for configuration and factory implementation management. This mechanism is dependencies inject mechanism.&lt;/span&gt;&lt;/p&gt;  &lt;h1&gt;Struts 2 Architecture&lt;/h1&gt;  &lt;p&gt;&lt;span style="color:navy;"&gt;Struts and webwork has joined together to develop the Struts 2 Framework. Struts 2 Framework is very extensible and elegant for the development of enterprise web application of any size. In this section we are going to explain you the architecture of Struts 2 Framework.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;span style="color:navy;"&gt;Request Lifecycle in Struts 2 applications&lt;/span&gt;&lt;/b&gt;&lt;span style="color:navy;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;&lt;b&gt;User Sends request:&lt;/b&gt;      User sends a request to the server for some resource.&lt;br /&gt;    &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;&lt;b&gt;FilterDispatcher      determines the appropriate action:&lt;/b&gt; The FilterDispatcher looks at the      request and then determines the appropriate Action.&lt;br /&gt;    &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;&lt;b&gt;Interceptors are      applied:&lt;/b&gt; Interceptors configured for applying the common functionalities      such as workflow, validation, file upload etc. are automatically applied      to the request.&lt;br /&gt;    &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;&lt;b&gt;Execution of Action:&lt;/b&gt;      Then the action method is executed to perform the database related      operations like storing or retrieving the data from database.&lt;br /&gt;    &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;&lt;b&gt;Output rendering:&lt;/b&gt;      Then the Result render the output.&lt;br /&gt;    &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;&lt;b&gt;Return of Request:&lt;/b&gt;      Then the request returns through the interceptors in the reverse order.      The returning request allows us to perform the clean-up or additional      processing.&lt;br /&gt;    &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;&lt;b&gt;Display the result to      user:&lt;/b&gt; Finally the control is returned to the servlet container, which      sends the output to the user browser. &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;/ol&gt;  &lt;span style=""&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id="_x0000_t75" coordsize="21600,21600" spt="75" preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"&gt;  &lt;v:stroke joinstyle="miter"&gt;  &lt;v:formulas&gt;   &lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;   &lt;v:f eqn="sum @0 1 0"&gt;   &lt;v:f eqn="sum 0 0 @1"&gt;   &lt;v:f eqn="prod @2 1 2"&gt;   &lt;v:f eqn="prod @3 21600 pixelWidth"&gt;   &lt;v:f eqn="prod @3 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @0 0 1"&gt;   &lt;v:f eqn="prod @6 1 2"&gt;   &lt;v:f eqn="prod @7 21600 pixelWidth"&gt;   &lt;v:f eqn="sum @8 21600 0"&gt;   &lt;v:f eqn="prod @7 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @10 21600 0"&gt;  &lt;/v:formulas&gt;  &lt;v:path extrusionok="f" gradientshapeok="t" connecttype="rect"&gt;  &lt;o:lock ext="edit" aspectratio="t"&gt; &lt;/v:shapetype&gt;&lt;v:shape id="_x0000_i1025" type="#_x0000_t75" alt="" style="'width:301.5pt;"&gt;  &lt;v:imagedata src="file:///C:\DOCUME~1\AMIT~1.GOI\LOCALS~1\Temp\msohtmlclip1\01\clip_image001.gif" href="http://www.roseindia.net/struts/struts2/processing.gif"&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;/span&gt;&lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_8FGrEWNNTXc/R9D5PWJHAmI/AAAAAAAAAFI/FvpEMHdBvs0/s1600-h/clip_image001.gif"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://3.bp.blogspot.com/_8FGrEWNNTXc/R9D5PWJHAmI/AAAAAAAAAFI/FvpEMHdBvs0/s320/clip_image001.gif" alt="" id="BLOGGER_PHOTO_ID_5174910013885842018" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;p&gt;&lt;span style="color:navy;"&gt;&lt;script type="text/javascript"&gt; &lt;!-- google_ad_client = "pub-0714075272818912"; google_ad_width = 336; google_ad_height = 280; google_ad_format = "336x280_as"; google_ad_type = "text_image"; google_ad_channel =""; google_color_border = "FFFFFF"; google_color_bg = "FFFFFF"; google_color_link = "000080"; google_color_text = "000080"; google_color_url = "000080"; //--&gt; &lt;/script&gt;&lt;script src="http://pagead2.googlesyndication.com/pagead/show_ads.js" type="text/javascript"&gt; &lt;/script&gt;&lt;b&gt;Struts 2 Architecture&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="color:navy;"&gt;Struts 2 is very elegant and flexible front controller framework based on many standard technologies like Java Filters, Java Beans, Resource Bundles, XML etc. &lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="color:navy;"&gt;For the &lt;b&gt;Model&lt;/b&gt;, the framework can use any data access technologies like JDBC, EJB, Hibernate etc. and for the &lt;b&gt;View&lt;/b&gt;, the framework can be integrated with JSP, JTL, JSF, Jakarta Velocity Engine, Templates, PDF, XSLT etc.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;b&gt;&lt;span style="color:navy;"&gt;Exception Handling:&lt;/span&gt;&lt;/b&gt;&lt;span style="color:navy;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="color:navy;"&gt;The Struts 2 Framework allows us to define exception handlers and inceptors.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;&lt;b&gt;Exception Handlers:&lt;/b&gt;&lt;br /&gt;  Exception handlers allows us to define the exception handling procedure on      global and local basis. Framework catches the exception and then displays      the page of our choice with appropriate message and exception details.&lt;br /&gt;     &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;&lt;b&gt;Interceptors:&lt;br /&gt;  &lt;/b&gt;The Interceptors are used to specify the "request-processing      lifecycle" for an action. Interceptors are configured to apply the      common functionalities like workflow, validation, etc.. to the request. &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;/ul&gt;  &lt;p&gt;&lt;b&gt;&lt;span style="color:navy;"&gt;Struts 2 Architecture&lt;/span&gt;&lt;/b&gt;&lt;span style="color:navy;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;p&gt;&lt;span style="color:navy;"&gt;The following diagram depicts the architecture of Struts 2 Framework. Following diagram shows the the initial request goes to the servlet container such as tomcat, which is then passed through standard filer chain.&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt; &lt;a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_8FGrEWNNTXc/R9D52WJHAnI/AAAAAAAAAFQ/OBO3ZBkifV8/s1600-h/clip_image001.gif"&gt;&lt;img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://3.bp.blogspot.com/_8FGrEWNNTXc/R9D52WJHAnI/AAAAAAAAAFQ/OBO3ZBkifV8/s320/clip_image001.gif" alt="" id="BLOGGER_PHOTO_ID_5174910683900740210" border="0" /&gt;&lt;/a&gt;&lt;br /&gt;&lt;span style=""&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id="_x0000_t75" coordsize="21600,21600" spt="75" preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"&gt;  &lt;v:stroke joinstyle="miter"&gt;  &lt;v:formulas&gt;   &lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;   &lt;v:f eqn="sum @0 1 0"&gt;   &lt;v:f eqn="sum 0 0 @1"&gt;   &lt;v:f eqn="prod @2 1 2"&gt;   &lt;v:f eqn="prod @3 21600 pixelWidth"&gt;   &lt;v:f eqn="prod @3 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @0 0 1"&gt;   &lt;v:f eqn="prod @6 1 2"&gt;   &lt;v:f eqn="prod @7 21600 pixelWidth"&gt;   &lt;v:f eqn="sum @8 21600 0"&gt;   &lt;v:f eqn="prod @7 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @10 21600 0"&gt;  &lt;/v:formulas&gt;  &lt;v:path extrusionok="f" gradientshapeok="t" connecttype="rect"&gt;  &lt;o:lock ext="edit" aspectratio="t"&gt; &lt;/v:shapetype&gt;&lt;v:shape id="_x0000_i1025" type="#_x0000_t75" alt="" style="'width:367.5pt;"&gt;  &lt;v:imagedata src="file:///C:\DOCUME~1\AMIT~1.GOI\LOCALS~1\Temp\msohtmlclip1\01\clip_image001.gif" href="http://www.roseindia.net/struts/struts2/struts.gif"&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&lt;h1&gt;Why Struts 2&lt;/h1&gt;  &lt;p&gt;&lt;span style="color:navy;"&gt;&lt;br /&gt;&lt;b&gt;The new version Struts 2.0 is a combination of the Sturts action framework and Webwork. According to the Struts 2.0.1 release announcement, some key features are:&lt;/b&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;  &lt;ul type="disc"&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;&lt;b&gt;Simplified Design&lt;/b&gt;      - Programming the abstract classes instead of interfaces is one of design      problem of struts1 framework that has been resolved in the struts 2      framework. Most of the Struts 2 classes are based on interfaces and most      of its core interfaces are HTTP independent. Struts 2 Action classes are      framework independent and are simplified to look as simple POJOs.      Framework components are tried to keep loosely coupled.&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;&lt;b&gt;Simplified      Actions &lt;/b&gt; - Actions are simple POJOs.&lt;b&gt; &lt;/b&gt;Any java class with      execute() method can be used as an Action class. Even we don't need to      implement interfaces always. Inversion of Control is introduced while      developing the action classes. This make the actions to be neutral to the      underlying framework .&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;&lt;b&gt;No more      ActionForms &lt;/b&gt; - ActionForms feature is no more known to the      struts2 framework. Simple JavaBean flavored actions are used to put      properties directly . No need to use all String properties.&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;&lt;b&gt;Simplified      testability&lt;/b&gt; - Struts 2 Actions are HTTP independent and framework      neutral. This enables to test struts applications very easily without      resorting to mock objects.&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;&lt;b&gt;Intelligent Defaults&lt;/b&gt;      - Most configuration elements have a default value which can be set      according to the need. Even there are xml-based default configuration      files that can be overridden according to the need.&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;&lt;b&gt;Improved       results &lt;/b&gt;- Unlike ActionForwards, Struts 2 Results provides flexibility      to create multiple type of outputs and in actual it helps to prepare the      response.&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;&lt;b&gt;Better Tag features&lt;/b&gt;      - Struts 2 tags enables to add style sheet-driven markup capabilities, so      that we can create consistent pages with less code. Struts 2 tags are more      capable and result oriented. Struts 2 tag markup can be altered by      changing an underlying stylesheet. Individual tag markup can be changed by      editing a FreeMarker template. Both JSP and FreeMarker tags are fully      supported.&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;&lt;b&gt;Annotations      introduced&lt;/b&gt; : Applications in struts 2 can use use Java 5 annotations      as an alternative to XML and Java properties configuration. Annotations      minimizes the use of xml.&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;&lt;b&gt;Stateful Checkboxes&lt;/b&gt;      - Struts 2 checkboxes do not require special handling for false values.&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;&lt;b&gt;QuickStart&lt;/b&gt; - Many      changes can be made on the fly without restarting a web container.&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;&lt;b&gt;customizing      controller&lt;/b&gt; - Struts 1 lets to customize the request processor per      module, Struts 2 lets to customize the request handling per action, if      desired.&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;&lt;b&gt;Easy Spring      integration&lt;/b&gt; - Struts 2 Actions are Spring-aware. Just needs to add      Spring beans!&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;&lt;b&gt;Easy plugins&lt;/b&gt; -      Struts 2 extensions can be added by dropping in a JAR. No manual      configuration required!&lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style=""&gt;&lt;st1:city st="on"&gt;&lt;b&gt;&lt;span style="color:navy;"&gt;AJAX&lt;/span&gt;&lt;/b&gt;&lt;/st1:city&gt;&lt;b&gt;&lt;span style="color:navy;"&gt;      support&lt;/span&gt;&lt;/b&gt;&lt;span style="color:navy;"&gt; - The &lt;st1:city st="on"&gt;&lt;st1:place st="on"&gt;AJAX&lt;/st1:place&gt;&lt;/st1:city&gt; theme gives interactive      applications a significant boost.&lt;br /&gt;   The framework provides a set of tags to help you ajaxify your      applications, even on Dojo. &lt;span class="fullpost"&gt;The &lt;st1:city st="on"&gt;&lt;st1:place st="on"&gt;AJAX&lt;/st1:place&gt;&lt;/st1:city&gt; features include: &lt;/span&gt;&lt;/span&gt;&lt;span class="fullpost"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/li&gt;&lt;ol start="1" type="1"&gt;&lt;li class="MsoNormal" style=""&gt;&lt;st1:city st="on"&gt;&lt;st1:place st="on"&gt;&lt;span style="color:navy;"&gt;AJAX&lt;/span&gt;&lt;/st1:place&gt;&lt;/st1:city&gt;&lt;span style="color:navy;"&gt; Client Side Validation &lt;/span&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;Remote form submission       support (works with the submit tag as well) &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;An advanced div       template that provides dynamic reloading of partial HTML &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;An advanced a template       that provides the ability to load and evaluate JavaScript remotely &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;An &lt;st1:city st="on"&gt;&lt;st1:place st="on"&gt;AJAX&lt;/st1:place&gt;&lt;/st1:city&gt;-only tabbed Panel implementation &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;A rich pub-sub event       model &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;li class="MsoNormal" style="color: navy;"&gt;Interactive auto       complete tag &lt;o:p&gt;&lt;/o:p&gt;&lt;/li&gt;&lt;/ol&gt;&lt;/ul&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style=""&gt;&lt;!--[if gte vml 1]&gt;&lt;v:shapetype id="_x0000_t75" coordsize="21600,21600" spt="75" preferrelative="t" path="m@4@5l@4@11@9@11@9@5xe" filled="f" stroked="f"&gt;  &lt;v:stroke joinstyle="miter"&gt;  &lt;v:formulas&gt;   &lt;v:f eqn="if lineDrawn pixelLineWidth 0"&gt;   &lt;v:f eqn="sum @0 1 0"&gt;   &lt;v:f eqn="sum 0 0 @1"&gt;   &lt;v:f eqn="prod @2 1 2"&gt;   &lt;v:f eqn="prod @3 21600 pixelWidth"&gt;   &lt;v:f eqn="prod @3 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @0 0 1"&gt;   &lt;v:f eqn="prod @6 1 2"&gt;   &lt;v:f eqn="prod @7 21600 pixelWidth"&gt;   &lt;v:f eqn="sum @8 21600 0"&gt;   &lt;v:f eqn="prod @7 21600 pixelHeight"&gt;   &lt;v:f eqn="sum @10 21600 0"&gt;  &lt;/v:formulas&gt;  &lt;v:path extrusionok="f" gradientshapeok="t" connecttype="rect"&gt;  &lt;o:lock ext="edit" aspectratio="t"&gt; &lt;/v:shapetype&gt;&lt;v:shape id="_x0000_i1025" type="#_x0000_t75" alt="" style="'width:301.5pt;"&gt;  &lt;v:imagedata src="file:///C:\DOCUME~1\AMIT~1.GOI\LOCALS~1\Temp\msohtmlclip1\01\clip_image001.gif" href="http://www.roseindia.net/struts/struts2/processing.gif"&gt; &lt;/v:shape&gt;&lt;![endif]--&gt;&lt;!--[if !vml]--&gt;&lt;br /&gt;&lt;!--[endif]--&gt;&lt;/span&gt;&lt;p class="MsoBodyText2"&gt;&lt;br /&gt;&lt;span style="color:navy;"&gt;&lt;o:p&gt;&lt;/o:p&gt;&lt;/span&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/356457465138170025-1833123176375093659?l=amit-myworldmyspace.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://amit-myworldmyspace.blogspot.com/feeds/1833123176375093659/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=356457465138170025&amp;postID=1833123176375093659' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/356457465138170025/posts/default/1833123176375093659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/356457465138170025/posts/default/1833123176375093659'/><link rel='alternate' type='text/html' href='http://amit-myworldmyspace.blogspot.com/2008/03/struts-with-me.html' title='Struts with Me'/><author><name>Amit</name><uri>http://www.blogger.com/profile/17155357255691955623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media='http://search.yahoo.com/mrss/' url='http://3.bp.blogspot.com/_8FGrEWNNTXc/R9D5PWJHAmI/AAAAAAAAAFI/FvpEMHdBvs0/s72-c/clip_image001.gif' height='72' width='72'/><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-356457465138170025.post-2816992430913926540</id><published>2008-03-06T11:20:00.000-08:00</published><updated>2008-03-06T11:28:32.503-08:00</updated><title type='text'>My Bihar</title><content type='html'>&lt;b style="font-family: arial; color: rgb(51, 102, 255);"&gt;B&lt;/b&gt;&lt;span style="font-family: arial; color: rgb(51, 102, 255);"&gt;ihar's          antiquity is evident from its name, which is derived from the ancient    word "VIHARA" (monastery). It is indeed a land of monasteries.    Hindu, Buddhist, Jain, Muslim and Sikh shrines abound in this ancient    land where India's first major empires rose and fell. Where the ruins of    the worlds' earliest university slumbers in the void of time. The passage of Ganga, flowing wide and deep enrich          the plains of Bihar before distributing in Bengal's deltoid zone.&lt;/span&gt;       &lt;p style="font-family: arial; color: rgb(51, 102, 255);" class="bodytext" align="left"&gt;Among  all Indian states, Bihar is          the one most intimately linked to the Buddha’s life, resulting in          a trail of pilgrimages which have come to be known as the Buddhist circuit.          The Buddhist trail begins at the capital city, Patna, where a noteworthy          museum contains a collection of Hindu and Buddhist sculptures as well as    a terracotta urn said to contain the ashes of Lord Buddha.   &lt;/p&gt;       &lt;p class="bodytext" style="text-align: justify; font-family: arial; color: rgb(51, 102, 255);"&gt;The Khuda Baksh Oriental          Library has rare Muslim manuscripts including some from the University          of Cordoba in Spain. 40 km away, Vaishali, was the site for the second          Buddhist Council is the presence of ruins testify. 90 km south of Patna          is Nalanda which translates as the place that confers the lotus’          (of spiritual knowledge). A monastic university   flourished          here from the 5th to the 11th century. It is said to have contained nine          million books, with 2,000 teachers to impart knowledge to 10,000 students          who came from all over the Buddhist world. Lord Buddha himself taught          here and Hieun Tsang, the 7th century Chinese traveler, was a student.          Ongoing excavations have uncovered temples, monasteries and lecture halls.          Rajgir, ‘the royal palace’, 12 km south, was the venue for the          first Buddhist Council.&lt;o:p&gt;&lt;/o:p&gt;&lt;/p&gt;       &lt;p class="bodytext" style="text-align: justify; font-family: arial; color: rgb(51, 102, 255);"&gt;The Buddha spent five years          at Rajgir after having attained enlightenment, and many of the remains          at Rajgir commemorate various incidents related to life of Buddha, the hill of Gridhrakuta being          perhaps the most important, as this is where the Buddha delivered most          of his sermons. Bodhgaya is the spot where Lord Buddha attained enlightenment,          with the Mahabodhi Temple marking the precise location. &lt;/p&gt;   &lt;p style="font-family: arial; color: rgb(51, 102, 255);" class="bodytext" align="left"&gt;This landlocked state of Bihar is surrounded by          Nepal, Bengal, Orissa, Madhya Pradesh, Uttar Pradesh and comprises four          cultural regions-Bhojpur, Mithila and Magadha and Chotanagpur. Rivers Kosi          and Gandak from the north and Sone from the south join the Ganga. In the fertile plains, rice, sugarcane, oilseeds,          gram, maize, jute, barley and wheat are cultivated.&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/356457465138170025-2816992430913926540?l=amit-myworldmyspace.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://amit-myworldmyspace.blogspot.com/feeds/2816992430913926540/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=356457465138170025&amp;postID=2816992430913926540' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/356457465138170025/posts/default/2816992430913926540'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/356457465138170025/posts/default/2816992430913926540'/><link rel='alternate' type='text/html' href='http://amit-myworldmyspace.blogspot.com/2008/03/my-bihar.html' title='My Bihar'/><author><name>Amit</name><uri>http://www.blogger.com/profile/17155357255691955623</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>3</thr:total></entry></feed>
