<?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-7304608991043014862</id><updated>2024-10-07T10:24:16.888+05:30</updated><category term="Class inside interface"/><category term="Jsp variable to JavaScript object"/><category term="Jsp variable to JavaScript variable"/><title type='text'>Java Technical</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://prajith-javatechnical.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://prajith-javatechnical.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Prajith</name><uri>http://www.blogger.com/profile/07475641510583354853</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>23</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-7304608991043014862.post-4336365582303568683</id><published>2014-09-12T22:09:00.000+05:30</published><updated>2014-09-12T22:09:36.238+05:30</updated><title type='text'>Spring Transaction</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Just Small project done for testing Spring Transaction. For future reference I am writing this Blog.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Web.xml&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikhxgDUciowET3hbL_b3AQPZ0VIM7AL4NYTxPO0F3w-5KEERMNg0WGNFGfuKmL099zSg5esjHkgb4u8xrYncB634AxOxu3daHkFL2hhjQf6sp6fGLmkFPbrpY2BVP_JM_pasMSiRROS7qK/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;&amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;
&amp;lt;web-app xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns=&quot;http://java.sun.com/xml/ns/javaee&quot; xmlns:web=&quot;http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd&quot; xsi:schemaLocation=&quot;http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd&quot; id=&quot;WebApp_ID&quot; version=&quot;3.0&quot;&amp;gt;
  &amp;lt;display-name&amp;gt;SpringSecurity&amp;lt;/display-name&amp;gt;
  &amp;lt;welcome-file-list&amp;gt;
    &amp;lt;welcome-file&amp;gt;index.jsp&amp;lt;/welcome-file&amp;gt;
  &amp;lt;/welcome-file-list&amp;gt;
  
  &amp;lt;servlet&amp;gt;
   &amp;lt;servlet-name&amp;gt;spring-security&amp;lt;/servlet-name&amp;gt;
   &amp;lt;servlet-class&amp;gt;org.springframework.web.servlet.DispatcherServlet&amp;lt;/servlet-class&amp;gt;
  &amp;lt;/servlet&amp;gt;
  &amp;lt;servlet-mapping&amp;gt;
   &amp;lt;servlet-name&amp;gt;spring-security&amp;lt;/servlet-name&amp;gt;
   &amp;lt;url-pattern&amp;gt;*.html&amp;lt;/url-pattern&amp;gt;
  &amp;lt;/servlet-mapping&amp;gt;
  &amp;lt;listener&amp;gt;
  &amp;lt;listener-class&amp;gt;org.springframework.web.context.ContextLoaderListener
  &amp;lt;/listener-class&amp;gt;
 &amp;lt;/listener&amp;gt;
 
        &amp;lt;!-- Loads Spring Security config file --&amp;gt;
 &amp;lt;context-param&amp;gt;
  &amp;lt;param-name&amp;gt;contextConfigLocation&amp;lt;/param-name&amp;gt;
  &amp;lt;param-value&amp;gt;
   /WEB-INF/spring-security-servlet.xml
  &amp;lt;/param-value&amp;gt;
 &amp;lt;/context-param&amp;gt;
 
&amp;lt;/web-app&amp;gt;

&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;spring-security-servlet.xml&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&lt;/b&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikhxgDUciowET3hbL_b3AQPZ0VIM7AL4NYTxPO0F3w-5KEERMNg0WGNFGfuKmL099zSg5esjHkgb4u8xrYncB634AxOxu3daHkFL2hhjQf6sp6fGLmkFPbrpY2BVP_JM_pasMSiRROS7qK/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;
&amp;lt;beans xmlns=&quot;http://www.springframework.org/schema/beans&quot;
 xmlns:context=&quot;http://www.springframework.org/schema/context&quot;
 xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;
 xmlns:tx=&quot;http://www.springframework.org/schema/tx&quot;
 xsi:schemaLocation=&quot;
        http://www.springframework.org/schema/beans     
        http://www.springframework.org/schema/beans/spring-beans-3.0.xsd
        http://www.springframework.org/schema/context 
        http://www.springframework.org/schema/context/spring-context-3.0.xsd
        http://www.springframework.org/schema/tx
        http://www.springframework.org/schema/tx/spring-tx.xsd&quot;&amp;gt;
 
 &amp;lt;context:component-scan base-package=&quot;com.prajith.*&quot; /&amp;gt;
 
 &amp;lt;bean
   class=&quot;org.springframework.web.servlet.view.InternalResourceViewResolver&quot;&amp;gt;
   &amp;lt;property name=&quot;prefix&quot;&amp;gt;
  &amp;lt;value&amp;gt;/view/&amp;lt;/value&amp;gt;
   &amp;lt;/property&amp;gt;
   &amp;lt;property name=&quot;suffix&quot;&amp;gt;
  &amp;lt;value&amp;gt;.jsp&amp;lt;/value&amp;gt;
   &amp;lt;/property&amp;gt;
 &amp;lt;/bean&amp;gt;
   
    &amp;lt;!-- Initialization for data source --&amp;gt;
   &amp;lt;bean id=&quot;dataSource&quot; 
      class=&quot;org.springframework.jdbc.datasource.DriverManagerDataSource&quot;&amp;gt;
      &amp;lt;property name=&quot;driverClassName&quot; value=&quot;com.mysql.jdbc.Driver&quot;/&amp;gt;
      &amp;lt;property name=&quot;url&quot; value=&quot;jdbc:mysql://localhost:3306/maverick&quot;/&amp;gt;
      &amp;lt;property name=&quot;username&quot; value=&quot;root&quot;/&amp;gt;
      &amp;lt;property name=&quot;password&quot; value=&quot;*******&quot;/&amp;gt;
   &amp;lt;/bean&amp;gt;

   &amp;lt;!-- Initialization for TransactionManager --&amp;gt;
   &amp;lt;bean id=&quot;transactionManager&quot; 
      class=&quot;org.springframework.jdbc.datasource.DataSourceTransactionManager&quot;&amp;gt;
      &amp;lt;property name=&quot;dataSource&quot;  ref=&quot;dataSource&quot; /&amp;gt;    
   &amp;lt;/bean&amp;gt;
 
  &amp;lt;!-- enable the configuration of transactional behavior based on annotations --&amp;gt;
    &amp;lt;tx:annotation-driven transaction-manager=&quot;transactionManager&quot;/&amp;gt;&amp;lt;!-- a PlatformTransactionManager is still required --&amp;gt;
&amp;lt;/beans&amp;gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
For making annotation driven need to add the code.&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikhxgDUciowET3hbL_b3AQPZ0VIM7AL4NYTxPO0F3w-5KEERMNg0WGNFGfuKmL099zSg5esjHkgb4u8xrYncB634AxOxu3daHkFL2hhjQf6sp6fGLmkFPbrpY2BVP_JM_pasMSiRROS7qK/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;&amp;lt;tx:annotation-driven transaction-manager=&quot;transactionManager&quot;/&amp;gt;&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Transaction manager changes with the interacting platform.&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;Platform&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; TransactionManager or PlatFormTransactionManager&lt;/b&gt;&lt;br /&gt;
&amp;nbsp;JDBC &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;hl-value&quot;&gt;org.springframework.jdbc.datasource.DataSourceTransactionManager&lt;br /&gt;&amp;nbsp;JTA &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;span class=&quot;hl-value&quot;&gt;org.springframework.transaction.jta.JtaTransactionManager&lt;/span&gt;&lt;span class=&quot;hl-value&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;hl-value&quot;&gt;&lt;span class=&quot;hl-value&quot;&gt;&amp;nbsp;Hibernate&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span class=&quot;hl-value&quot;&gt;org.springframework.orm.hibernate3.HibernateTransactionManager&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;hl-value&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;b&gt;&lt;code&gt; &lt;/code&gt;&lt;/b&gt;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;hl-value&quot;&gt;&lt;b&gt;Types of Probagation defined in the Spring Docs&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;hl-value&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;hl-value&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;hl-value&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;hl-value&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;hl-value&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;hl-value&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;hl-value&quot;&gt;&lt;br /&gt;
&lt;b&gt;&lt;code&gt;&lt;/code&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;hl-value&quot;&gt;&lt;b&gt;&lt;code&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:WordDocument&gt;
  &lt;w:View&gt;Normal&lt;/w:View&gt;
  &lt;w:Zoom&gt;0&lt;/w:Zoom&gt;
  &lt;w:TrackMoves/&gt;
  &lt;w:TrackFormatting/&gt;
  &lt;w:PunctuationKerning/&gt;
  &lt;w:ValidateAgainstSchemas/&gt;
  &lt;w:SaveIfXMLInvalid&gt;false&lt;/w:SaveIfXMLInvalid&gt;
  &lt;w:IgnoreMixedContent&gt;false&lt;/w:IgnoreMixedContent&gt;
  &lt;w:AlwaysShowPlaceholderText&gt;false&lt;/w:AlwaysShowPlaceholderText&gt;
  &lt;w:DoNotPromoteQF/&gt;
  &lt;w:LidThemeOther&gt;EN-IN&lt;/w:LidThemeOther&gt;
  &lt;w:LidThemeAsian&gt;X-NONE&lt;/w:LidThemeAsian&gt;
  &lt;w:LidThemeComplexScript&gt;X-NONE&lt;/w:LidThemeComplexScript&gt;
  &lt;w:Compatibility&gt;
   &lt;w:BreakWrappedTables/&gt;
   &lt;w:SnapToGridInCell/&gt;
   &lt;w:WrapTextWithPunct/&gt;
   &lt;w:UseAsianBreakRules/&gt;
   &lt;w:DontGrowAutofit/&gt;
   &lt;w:SplitPgBreakAndParaMark/&gt;
   &lt;w:DontVertAlignCellWithSp/&gt;
   &lt;w:DontBreakConstrainedForcedTables/&gt;
   &lt;w:DontVertAlignInTxbx/&gt;
   &lt;w:Word11KerningPairs/&gt;
   &lt;w:CachedColBalance/&gt;
  &lt;/w:Compatibility&gt;
  &lt;w:BrowserLevel&gt;MicrosoftInternetExplorer4&lt;/w:BrowserLevel&gt;
  &lt;m:mathPr&gt;
   &lt;m:mathFont m:val=&quot;Cambria Math&quot;/&gt;
   &lt;m:brkBin m:val=&quot;before&quot;/&gt;
   &lt;m:brkBinSub m:val=&quot;&amp;#45;-&quot;/&gt;
   &lt;m:smallFrac m:val=&quot;off&quot;/&gt;
   &lt;m:dispDef/&gt;
   &lt;m:lMargin m:val=&quot;0&quot;/&gt;
   &lt;m:rMargin m:val=&quot;0&quot;/&gt;
   &lt;m:defJc m:val=&quot;centerGroup&quot;/&gt;
   &lt;m:wrapIndent m:val=&quot;1440&quot;/&gt;
   &lt;m:intLim m:val=&quot;subSup&quot;/&gt;
   &lt;m:naryLim m:val=&quot;undOvr&quot;/&gt;
  &lt;/m:mathPr&gt;&lt;/w:WordDocument&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;/code&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;hl-value&quot;&gt;&lt;b&gt;&lt;code&gt;&lt;!--[if gte mso 9]&gt;&lt;xml&gt;
 &lt;w:LatentStyles DefLockedState=&quot;false&quot; DefUnhideWhenUsed=&quot;true&quot;
  DefSemiHidden=&quot;true&quot; DefQFormat=&quot;false&quot; DefPriority=&quot;99&quot;
  LatentStyleCount=&quot;267&quot;&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;0&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Normal&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;heading 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 7&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 8&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;9&quot; QFormat=&quot;true&quot; Name=&quot;heading 9&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 7&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 8&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; Name=&quot;toc 9&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;35&quot; QFormat=&quot;true&quot; Name=&quot;caption&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;10&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Title&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;1&quot; Name=&quot;Default Paragraph Font&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;11&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtitle&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;22&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Strong&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;20&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Emphasis&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;59&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Table Grid&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; UnhideWhenUsed=&quot;false&quot; Name=&quot;Placeholder Text&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;1&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;No Spacing&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; UnhideWhenUsed=&quot;false&quot; Name=&quot;Revision&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;34&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;List Paragraph&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;29&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Quote&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;30&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Quote&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 1&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 2&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 3&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 4&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 5&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;60&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Shading Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;61&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light List Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;62&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Light Grid Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;63&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 1 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;64&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Shading 2 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;65&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 1 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;66&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium List 2 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;67&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 1 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;68&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 2 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;69&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Medium Grid 3 Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;70&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Dark List Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;71&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Shading Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;72&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful List Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;73&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; Name=&quot;Colorful Grid Accent 6&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;19&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtle Emphasis&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;21&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Emphasis&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;31&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Subtle Reference&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;32&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Intense Reference&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;33&quot; SemiHidden=&quot;false&quot;
   UnhideWhenUsed=&quot;false&quot; QFormat=&quot;true&quot; Name=&quot;Book Title&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;37&quot; Name=&quot;Bibliography&quot;/&gt;
  &lt;w:LsdException Locked=&quot;false&quot; Priority=&quot;39&quot; QFormat=&quot;true&quot; Name=&quot;TOC Heading&quot;/&gt;
 &lt;/w:LatentStyles&gt;
&lt;/xml&gt;&lt;![endif]--&gt;&lt;!--[if gte mso 10]&gt;
&lt;style&gt;
 /* Style Definitions */
 table.MsoNormalTable
 {mso-style-name:&quot;Table Normal&quot;;
 mso-tstyle-rowband-size:0;
 mso-tstyle-colband-size:0;
 mso-style-noshow:yes;
 mso-style-priority:99;
 mso-style-qformat:yes;
 mso-style-parent:&quot;&quot;;
 mso-padding-alt:0cm 5.4pt 0cm 5.4pt;
 mso-para-margin-top:0cm;
 mso-para-margin-right:0cm;
 mso-para-margin-bottom:10.0pt;
 mso-para-margin-left:0cm;
 line-height:115%;
 mso-pagination:widow-orphan;
 font-size:11.0pt;
 font-family:&quot;Calibri&quot;,&quot;sans-serif&quot;;
 mso-ascii-font-family:Calibri;
 mso-ascii-theme-font:minor-latin;
 mso-fareast-font-family:&quot;Times New Roman&quot;;
 mso-fareast-theme-font:minor-fareast;
 mso-hansi-font-family:Calibri;
 mso-hansi-theme-font:minor-latin;
 mso-bidi-font-family:&quot;Times New Roman&quot;;
 mso-bidi-theme-font:minor-bidi;}
&lt;/style&gt;
&lt;![endif]--&gt;

&lt;/code&gt;&lt;/b&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;span class=&quot;hl-value&quot;&gt;&lt;b&gt;&lt;code&gt;&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN;&quot;&gt;&lt;a href=&quot;http://docs.spring.io/spring-framework/docs/2.0.x/api/org/springframework/transaction/annotation/Propagation.html#MANDATORY&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;MANDATORY&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN;&quot;&gt; :&lt;span style=&quot;font-weight: normal;&quot;&gt;Support a current
transaction, throw an exception if none exists.&lt;/span&gt;&lt;/span&gt;&lt;/code&gt;&lt;/b&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;hl-value&quot;&gt;&lt;b&gt;&lt;code&gt;

&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN;&quot;&gt;&lt;a href=&quot;http://docs.spring.io/spring-framework/docs/2.0.x/api/org/springframework/transaction/annotation/Propagation.html#NESTED&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;NESTED&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN;&quot;&gt; :&lt;span style=&quot;font-weight: normal;&quot;&gt;Execute within a
nested transaction if a current transaction exists, behave like PROPAGATION_REQUIRED
else.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/code&gt;&lt;/b&gt;&lt;b&gt;&lt;code&gt;

&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN;&quot;&gt;&lt;a href=&quot;http://docs.spring.io/spring-framework/docs/2.0.x/api/org/springframework/transaction/annotation/Propagation.html#NEVER&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;NEVER&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN;&quot;&gt; &lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;font-weight: normal;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN;&quot;&gt;:Execute
non-transactionally, throw an exception if a transaction exists.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/code&gt;&lt;/b&gt;&lt;b&gt;&lt;code&gt;

&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN;&quot;&gt;&lt;a href=&quot;http://docs.spring.io/spring-framework/docs/2.0.x/api/org/springframework/transaction/annotation/Propagation.html#NOT_SUPPORTED&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;NOT_SUPPORTED&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN;&quot;&gt; &lt;span style=&quot;font-weight: normal;&quot;&gt;: Execute
non-transactionally, suspend the current transaction if one exists.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/code&gt;&lt;/b&gt;&lt;b&gt;&lt;code&gt;

&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN;&quot;&gt;&lt;a href=&quot;http://docs.spring.io/spring-framework/docs/2.0.x/api/org/springframework/transaction/annotation/Propagation.html#REQUIRED&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;REQUIRED&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN;&quot;&gt; : &lt;span style=&quot;font-weight: normal;&quot;&gt;Support a current
transaction, create a new one if none exists.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/code&gt;&lt;/b&gt;&lt;b&gt;&lt;code&gt;

&lt;div class=&quot;MsoNormal&quot; style=&quot;line-height: normal; margin-bottom: .0001pt; margin-bottom: 0cm;&quot;&gt;
&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; mso-bidi-font-size: 11.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN;&quot;&gt;&lt;a href=&quot;http://docs.spring.io/spring-framework/docs/2.0.x/api/org/springframework/transaction/annotation/Propagation.html#REQUIRES_NEW&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;REQUIRES_NEW&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN;&quot;&gt; : &lt;span style=&quot;font-weight: normal;&quot;&gt;Create a new
transaction, suspend the current transaction if one exists.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/code&gt;&lt;/b&gt;&lt;b&gt;&lt;code&gt;

&lt;b&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;; font-size: 10.0pt; line-height: 115%; mso-ansi-language: EN-IN; mso-bidi-font-size: 11.0pt; mso-bidi-language: AR-SA; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN;&quot;&gt;&lt;a href=&quot;http://docs.spring.io/spring-framework/docs/2.0.x/api/org/springframework/transaction/annotation/Propagation.html#SUPPORTS&quot;&gt;&lt;span style=&quot;color: blue;&quot;&gt;SUPPORTS&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/b&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; line-height: 115%; mso-ansi-language: EN-IN; mso-bidi-language: AR-SA; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN;&quot;&gt; : &lt;/span&gt;&lt;/code&gt;&lt;/b&gt;&lt;code&gt;&lt;span style=&quot;font-family: &amp;quot;Times New Roman&amp;quot;,&amp;quot;serif&amp;quot;; font-size: 12.0pt; line-height: 115%; mso-ansi-language: EN-IN; mso-bidi-language: AR-SA; mso-fareast-font-family: &amp;quot;Times New Roman&amp;quot;; mso-fareast-language: EN-IN;&quot;&gt;Support a current
transaction, execute non-transactionally if none exists.&lt;/span&gt;&amp;nbsp;&lt;/code&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;SpringTransactionTest.java&amp;nbsp;&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikhxgDUciowET3hbL_b3AQPZ0VIM7AL4NYTxPO0F3w-5KEERMNg0WGNFGfuKmL099zSg5esjHkgb4u8xrYncB634AxOxu3daHkFL2hhjQf6sp6fGLmkFPbrpY2BVP_JM_pasMSiRROS7qK/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;span class=&quot;hl-value&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;package com.prajith.web.controller;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

import com.prajith.web.service.EmployeeServiceIntf;

@Controller
public class SpringTransactionTest {

 @Autowired
 EmployeeServiceIntf employeeServiceIntf;
 
 public void setEmployeeServiceIntf(EmployeeServiceIntf employeeServiceIntf) {
  this.employeeServiceIntf = employeeServiceIntf;
 }
 
 @RequestMapping(value=&quot;/sqltransactionTest&quot;)
 public ModelAndView testTransaction(){
  ModelAndView model= new ModelAndView(&quot;admin&quot;);
  try{
   employeeServiceIntf.testTransaction(); 
  }catch(Exception e){
   System.out.println(e);
  }
  return model;
 }
}


&lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;span class=&quot;hl-value&quot;&gt;
&lt;br /&gt;
&lt;b&gt;EmployeeServiceIntf.java&lt;/b&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikhxgDUciowET3hbL_b3AQPZ0VIM7AL4NYTxPO0F3w-5KEERMNg0WGNFGfuKmL099zSg5esjHkgb4u8xrYncB634AxOxu3daHkFL2hhjQf6sp6fGLmkFPbrpY2BVP_JM_pasMSiRROS7qK/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;span class=&quot;hl-value&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;package com.prajith.web.service;

public interface EmployeeServiceIntf {
 public void testTransaction() throws Exception;
}
&amp;nbsp;&lt;/code&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;span class=&quot;hl-value&quot;&gt;
&lt;br /&gt;
&lt;b&gt;EmployeeServiceImpl.java&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&lt;/b&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikhxgDUciowET3hbL_b3AQPZ0VIM7AL4NYTxPO0F3w-5KEERMNg0WGNFGfuKmL099zSg5esjHkgb4u8xrYncB634AxOxu3daHkFL2hhjQf6sp6fGLmkFPbrpY2BVP_JM_pasMSiRROS7qK/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;
package com.prajith.web.service;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;

import com.prajith.web.dao.EmployeeDAOIntf;
import com.prajith.web.domain.Employee;
import com.prajith.web.domain.Salary;

@Service
public class EmployeeServiceImpl implements EmployeeServiceIntf {

 @Autowired
 private EmployeeDAOIntf employeeDAOIntf;
 
 public void setEmployeeDAOIntf(EmployeeDAOIntf employeeDAOIntf) {
  this.employeeDAOIntf = employeeDAOIntf;
 }

 @Transactional// autoscan makes this method transactional
 public void testTransaction() throws Exception {
  // TODO Auto-generated method stub
  
  Employee emp=new Employee();
  emp.setEmpName(&quot;prajith&quot;);
  
  Salary sal =new Salary();
  sal.setEmpNo(1);
  sal.setSalary(20000);
  employeeDAOIntf.insertEmp(emp);
  employeeDAOIntf.insertSalary(sal);
  
  Employee emp1=new Employee();
  emp1.setEmpName(&quot;pooja&quot;);
  
  Salary sal1 =new Salary();
  sal1.setEmpNo(3);//purposefully kept so that DB will throw error.
  sal1.setSalary(204440);
  employeeDAOIntf.insertEmp(emp1);
  employeeDAOIntf.insertSalary(sal1);
 }

}

&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;b&gt;EmployeeDAOIntf&lt;/b&gt;&lt;br /&gt;
&lt;b&gt;&amp;nbsp;&lt;/b&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikhxgDUciowET3hbL_b3AQPZ0VIM7AL4NYTxPO0F3w-5KEERMNg0WGNFGfuKmL099zSg5esjHkgb4u8xrYncB634AxOxu3daHkFL2hhjQf6sp6fGLmkFPbrpY2BVP_JM_pasMSiRROS7qK/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;
package com.prajith.web.dao;

import com.prajith.web.domain.Employee;
import com.prajith.web.domain.Salary;

public interface EmployeeDAOIntf {
 public void insertEmp(Employee emp) throws Exception;
 public void insertSalary(Salary emp) throws Exception;
}

&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;b&gt;EmployeeDAOImpl&lt;/b&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikhxgDUciowET3hbL_b3AQPZ0VIM7AL4NYTxPO0F3w-5KEERMNg0WGNFGfuKmL099zSg5esjHkgb4u8xrYncB634AxOxu3daHkFL2hhjQf6sp6fGLmkFPbrpY2BVP_JM_pasMSiRROS7qK/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;
package com.prajith.web.dao;

import javax.sql.DataSource;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.stereotype.Repository;

import com.prajith.web.domain.Employee;
import com.prajith.web.domain.Salary;

@Repository
public class EmployeeDAOImpl implements EmployeeDAOIntf{

 String sql1 = &quot;insert into Employee (empname) values (?)&quot;;
 String sql2 = &quot;insert into Salary (empid, Salary) values (?, ?)&quot;;
 @Autowired
 private DataSource dataSource;
 
 public DataSource getDataSource() {
  return dataSource;
 }

 public void setDataSource(DataSource dataSource) {
  this.dataSource = dataSource;
 }

 public void insertEmp(Employee emp) throws Exception {
  // TODO Auto-generated method stub
  System.out.println(&quot;Employee Insertion&quot;);
  JdbcTemplate jt=new JdbcTemplate(dataSource);
  jt.update(sql1,emp.getEmpName());
  System.out.println(&quot;--&amp;gt; Employee data inserted : &quot; );
 }

 public void insertSalary(Salary sal) throws Exception {
  // TODO Auto-generated method stub
  System.out.println(&quot;Salary Insertion&quot;);
  JdbcTemplate jt=new JdbcTemplate(dataSource);
  jt.update(sql2,sal.getEmpNo(),sal.getSalary());
  System.out.println(&quot;salary inserted successfully : &quot;);
 }

}

&lt;/code&gt;&lt;/pre&gt;
&lt;/span&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://prajith-javatechnical.blogspot.com/feeds/4336365582303568683/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://prajith-javatechnical.blogspot.com/2014/09/spring-transaction.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/4336365582303568683'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/4336365582303568683'/><link rel='alternate' type='text/html' href='http://prajith-javatechnical.blogspot.com/2014/09/spring-transaction.html' title='Spring Transaction'/><author><name>Prajith</name><uri>http://www.blogger.com/profile/07475641510583354853</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-7304608991043014862.post-1162697264803032668</id><published>2014-09-07T00:40:00.000+05:30</published><updated>2014-09-12T21:09:05.904+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Jsp variable to JavaScript object"/><category scheme="http://www.blogger.com/atom/ns#" term="Jsp variable to JavaScript variable"/><title type='text'>Converting Java object into JavaScript object</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Recently I had a requirement to change a java object into JavaScript object when the request is submitted and response is received. I dint want to make a ajax call because the data was available when I received the response but i was not able to get that in JavaScript object from the request. I did Google and found some of the possible solution as per the &lt;a href=&quot;http://www.coderanch.com/t/530045/JSP/java/JSP-variable-javascript&quot; target=&quot;_blank&quot;&gt;link&lt;/a&gt;. The below code from the site was workable but I had a complex object&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikhxgDUciowET3hbL_b3AQPZ0VIM7AL4NYTxPO0F3w-5KEERMNg0WGNFGfuKmL099zSg5esjHkgb4u8xrYncB634AxOxu3daHkFL2hhjQf6sp6fGLmkFPbrpY2BVP_JM_pasMSiRROS7qK/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;
&amp;lt;script&amp;gt;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; var myMap = {&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;lt;c:forEach items=&quot;${theMap}&quot; var=&quot;item&quot; varStatus=&quot;loop&quot;&amp;gt;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; ${item.key}: &#39;${item.value}&#39; ${not loop.last ? &#39;,&#39; : &#39;&#39;}&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;lt;/c:forEach&amp;gt;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; };&amp;nbsp; 
&amp;lt;/script&amp;gt;&amp;nbsp; &lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
and it require many levels of iteration and the creation of the same object with the above logic was difficult and thus it was better to go for ajax than creating the JavaScript object from the request.&lt;br /&gt;
&lt;br /&gt;
Then i realized the object we are trying to create using the above logic is exactly same as the json object then perhaps sending json string and trying to convert that will be much more easier than doing the above logic. It was much more easier than the above logic so am pasting my test project for any one who require such requirements in future.&lt;br /&gt;
&lt;br /&gt;
Simple pojo trying to convert. &lt;br /&gt;
&lt;b&gt;Employee.java&lt;/b&gt; &lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikhxgDUciowET3hbL_b3AQPZ0VIM7AL4NYTxPO0F3w-5KEERMNg0WGNFGfuKmL099zSg5esjHkgb4u8xrYncB634AxOxu3daHkFL2hhjQf6sp6fGLmkFPbrpY2BVP_JM_pasMSiRROS7qK/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;
package springapp.domain;

public class Employee {

&amp;nbsp;&amp;nbsp;&amp;nbsp; private String name;
&amp;nbsp;&amp;nbsp;&amp;nbsp; private String age;
&amp;nbsp;&amp;nbsp;&amp;nbsp; private Address address;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public String getName() {
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; return name;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; public void setName(String name) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; this.name = name;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; public String getAge() {
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; return age;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; public void setAge(String age) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; this.age = age;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; public Address getAddress() {
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; return address;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; public void setAddress(Address address) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; this.address = address;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; @Override
&amp;nbsp;&amp;nbsp;&amp;nbsp; public String toString() {
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; return &quot;Employee [name=&quot; + name + &quot;, age=&quot; + age + &quot;, address=&quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; + address + &quot;]&quot;;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
} &lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;code&gt;Address.java&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikhxgDUciowET3hbL_b3AQPZ0VIM7AL4NYTxPO0F3w-5KEERMNg0WGNFGfuKmL099zSg5esjHkgb4u8xrYncB634AxOxu3daHkFL2hhjQf6sp6fGLmkFPbrpY2BVP_JM_pasMSiRROS7qK/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;
&lt;code&gt;package springapp.domain;

public class Address {

&amp;nbsp;&amp;nbsp;&amp;nbsp; private String street;
&amp;nbsp;&amp;nbsp;&amp;nbsp; private String city;
&amp;nbsp;&amp;nbsp;&amp;nbsp; public String getStreet() {
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; return street;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; public void setStreet(String street) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; this.street = street;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; public String getCity() {
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; return city;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; public void setCity(String city) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; this.city = city;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; @Override
&amp;nbsp;&amp;nbsp;&amp;nbsp; public String toString() {
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; return &quot;Address [street=&quot; + street + &quot;, city=&quot; + city + &quot;]&quot;;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; 
}
&amp;nbsp;&lt;/code&gt;



&lt;/code&gt;&lt;/pre&gt;
&lt;code&gt;class converting List of employee to json object and setting into request scope&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;JspVariableTest.java&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikhxgDUciowET3hbL_b3AQPZ0VIM7AL4NYTxPO0F3w-5KEERMNg0WGNFGfuKmL099zSg5esjHkgb4u8xrYncB634AxOxu3daHkFL2hhjQf6sp6fGLmkFPbrpY2BVP_JM_pasMSiRROS7qK/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;
&lt;code&gt;package springapp.web;

import java.io.IOException;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.List;
import java.util.Map;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import junit.framework.Test;

import org.codehaus.jackson.map.ObjectMapper;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.mvc.Controller;

import springapp.domain.Address;
import springapp.domain.Employee;


public class JspVariableTest implements Controller{

&amp;nbsp;&amp;nbsp;&amp;nbsp; public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
&amp;nbsp;&amp;nbsp;&amp;nbsp; throws ServletException, IOException {
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; ModelAndView view=new ModelAndView(&quot;jspVariabletest&quot;);
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; List&amp;lt;Employee&amp;gt; empList=new ArrayList&amp;lt;Employee&amp;gt;();
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Employee emp=new Employee();
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; emp.setAge(&quot;27&quot;);
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; emp.setName(&quot;prajith&quot;);
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Address add=new Address();
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; add.setStreet(&quot;Testing&quot;);
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; add.setCity(&quot;Mumbai&quot;);
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; emp.setAddress(add);
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Employee emp2=new Employee();
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; emp2.setAge(&quot;27&quot;);
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; emp2.setName(&quot;pooja&quot;);
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Address add2=new Address();
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; add2.setCity(&quot;chennai&quot;);
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; add2.setStreet(&quot;2nd street&quot;);
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; emp2.setAddress(add2);
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; empList.add(emp);
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; empList.add(emp2);
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; Map&amp;lt;String,Object&amp;gt; map=new HashMap&amp;lt;String,Object&amp;gt;();
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; map.put(&quot;empList&quot;, empList);
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; view.addObject(&quot;empMap&quot;,map);//adding the map object to the request 
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; ObjectMapper mapper=new ObjectMapper();// jackson lib for converting to json
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; String empMapString=mapper.writeValueAsString(map);// json string
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; view.addObject(&quot;empMapString&quot;,empMapString);
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; 
&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; return view;
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
}
&amp;nbsp;&lt;/code&gt;

&lt;code&gt;&amp;nbsp;&lt;/code&gt; 

&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
Now simple jsp to convert java object to JavaScript. I have kept actual java Object and json Object to show the difference how it assigns to the JavaScript variable.&lt;br /&gt;
&lt;br /&gt;
jspVariabletest.jsp&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikhxgDUciowET3hbL_b3AQPZ0VIM7AL4NYTxPO0F3w-5KEERMNg0WGNFGfuKmL099zSg5esjHkgb4u8xrYncB634AxOxu3daHkFL2hhjQf6sp6fGLmkFPbrpY2BVP_JM_pasMSiRROS7qK/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt;
&amp;lt;%@ page language=&quot;java&quot; contentType=&quot;text/html; charset=ISO-8859-1&quot;
&amp;nbsp;&amp;nbsp;&amp;nbsp; pageEncoding=&quot;ISO-8859-1&quot;%&amp;gt;
&amp;lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;http://www.w3.org/TR/html4/loose.dtd&quot;&amp;gt;
&amp;lt;%@ taglib prefix=&quot;c&quot; uri=&quot;http://java.sun.com/jsp/jstl/core&quot; %&amp;gt;
&amp;lt;html&amp;gt;
&amp;lt;head&amp;gt;
&amp;lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=ISO-8859-1&quot;&amp;gt;
&amp;lt;title&amp;gt;Insert title here&amp;lt;/title&amp;gt;
&amp;lt;/head&amp;gt;
&amp;lt;body&amp;gt;
&amp;lt;script&amp;gt;
var empMap=&quot;${empMap}&quot;;// acutal java object assigning to javascript variable 
var empObj=${empMapString};//actual jsonString assigning to javascript variable

&amp;lt;/script&amp;gt;
&amp;lt;c:forEach items=&quot;${empMap}&quot; var=&quot;entry&quot;&amp;gt;
&amp;nbsp;&amp;nbsp;&amp;nbsp; Key = ${entry.key}, value = ${entry.value}&amp;lt;br&amp;gt;
&amp;lt;/c:forEach&amp;gt;
&amp;lt;/body&amp;gt;
&amp;lt;/html&amp;gt; 




&lt;/code&gt;&lt;/pre&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
Now i have debugged the code in google chrome developer tool and attached the screen shot of the two objects we have created and assigned to JavaScript variable.&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLrELPJAMCfLlTTf-86L2OE7Q9qoJFFw9211jph7fL0xlxOgLTnQ5dyYnMa1UoxxkisORM7WC4KnhI2-2voKv-Tj6tLCeUgfKHIbWZ6bxwQzgvQPQZ_cM_LlPc-9Y7JbSqXcQ_OGbKWzbI/s1600/springapp.jpg&quot; imageanchor=&quot;1&quot; style=&quot;clear: left; float: left; margin-bottom: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjLrELPJAMCfLlTTf-86L2OE7Q9qoJFFw9211jph7fL0xlxOgLTnQ5dyYnMa1UoxxkisORM7WC4KnhI2-2voKv-Tj6tLCeUgfKHIbWZ6bxwQzgvQPQZ_cM_LlPc-9Y7JbSqXcQ_OGbKWzbI/s1600/springapp.jpg&quot; height=&quot;212&quot; width=&quot;640&quot; /&gt;&lt;/a&gt;The java Map object we are getting in string&amp;nbsp; which i have assigned to empMap variable of javascipt and the json object we are getting as JavaScript object which I have assigned to empObj. Which is ready to use. If we apply the other logic i have got from the other site, it would have took long time to change this simple object to JavaScript object which is not feasible for changing complex object.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://prajith-javatechnical.blogspot.com/feeds/1162697264803032668/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://prajith-javatechnical.blogspot.com/2014/09/converting-java-object-into-javascript.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/1162697264803032668'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/1162697264803032668'/><link rel='alternate' type='text/html' href='http://prajith-javatechnical.blogspot.com/2014/09/converting-java-object-into-javascript.html' title='Converting Java object into JavaScript object'/><author><name>Prajith</name><uri>http://www.blogger.com/profile/07475641510583354853</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/AVvXsEjLrELPJAMCfLlTTf-86L2OE7Q9qoJFFw9211jph7fL0xlxOgLTnQ5dyYnMa1UoxxkisORM7WC4KnhI2-2voKv-Tj6tLCeUgfKHIbWZ6bxwQzgvQPQZ_cM_LlPc-9Y7JbSqXcQ_OGbKWzbI/s72-c/springapp.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7304608991043014862.post-3893680130262514721</id><published>2013-11-28T02:52:00.000+05:30</published><updated>2013-11-28T02:52:02.742+05:30</updated><title type='text'>HttpServletRequestWrapper class usage or Modify HttpServletRequest Object including header information</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #351c75;&quot;&gt;Recently i came across a requirement where for time being I need to send some information in header of HttpServletRequest object. Setting it in browser level was not a option as we cant setup the header information everytime and in every system.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #351c75;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #351c75;&quot;&gt;So did browsing little bit and found a solution. Also came to know many people are looking for it so would like to share the code for doing a work around using HttpServletRequestWrapper.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #351c75;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #351c75;&quot;&gt;In the below project, going to insert value in the HttpServletRequest object as parameter and later modifying the object in the java code to get the value using method getHeader() of HttpServletRequest object.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #351c75;&quot;&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;u&gt;Project Name : EditHeaderVariable&amp;nbsp;&lt;/u&gt;&lt;/span&gt;&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #351c75;&quot;&gt;First create a dynamic web project with the name you would like to give and put necessary jar files. I have made it as spring mvc project using maven. Giving below the dependency requirements in pom.xml file.&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;pom.xml&lt;/span&gt;&lt;/h4&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikhxgDUciowET3hbL_b3AQPZ0VIM7AL4NYTxPO0F3w-5KEERMNg0WGNFGfuKmL099zSg5esjHkgb4u8xrYncB634AxOxu3daHkFL2hhjQf6sp6fGLmkFPbrpY2BVP_JM_pasMSiRROS7qK/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; &amp;lt;project xmlns=&quot;http://maven.apache.org/POM/4.0.0&quot; xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xsi:schemaLocation=&quot;http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd&quot;&amp;gt;  
  &amp;lt;modelVersion&amp;gt;4.0.0&amp;lt;/modelVersion&amp;gt;  
  &amp;lt;groupId&amp;gt;EditHeaderVariable&amp;lt;/groupId&amp;gt;  
  &amp;lt;artifactId&amp;gt;EditHeaderVariable&amp;lt;/artifactId&amp;gt;  
  &amp;lt;version&amp;gt;0.0.1-SNAPSHOT&amp;lt;/version&amp;gt;  
  &amp;lt;name&amp;gt;EditHeaderVariable&amp;lt;/name&amp;gt;  
  &amp;lt;description&amp;gt;EditHeaderVariable&amp;lt;/description&amp;gt;  
  &amp;lt;dependencies&amp;gt;  
       &amp;lt;dependency&amp;gt;  
            &amp;lt;groupId&amp;gt;org.springframework&amp;lt;/groupId&amp;gt;  
            &amp;lt;artifactId&amp;gt;spring-core&amp;lt;/artifactId&amp;gt;  
            &amp;lt;version&amp;gt;3.2.4.RELEASE&amp;lt;/version&amp;gt;  
            &amp;lt;type&amp;gt;jar&amp;lt;/type&amp;gt;  
            &amp;lt;scope&amp;gt;compile&amp;lt;/scope&amp;gt;  
       &amp;lt;/dependency&amp;gt;  
       &amp;lt;dependency&amp;gt;  
            &amp;lt;groupId&amp;gt;org.springframework&amp;lt;/groupId&amp;gt;  
            &amp;lt;artifactId&amp;gt;spring-web&amp;lt;/artifactId&amp;gt;  
            &amp;lt;version&amp;gt;3.2.4.RELEASE&amp;lt;/version&amp;gt;  
            &amp;lt;type&amp;gt;jar&amp;lt;/type&amp;gt;  
            &amp;lt;scope&amp;gt;compile&amp;lt;/scope&amp;gt;  
       &amp;lt;/dependency&amp;gt;  
       &amp;lt;dependency&amp;gt;  
            &amp;lt;groupId&amp;gt;org.springframework&amp;lt;/groupId&amp;gt;  
            &amp;lt;artifactId&amp;gt;spring-webmvc&amp;lt;/artifactId&amp;gt;  
            &amp;lt;version&amp;gt;3.2.4.RELEASE&amp;lt;/version&amp;gt;  
            &amp;lt;type&amp;gt;jar&amp;lt;/type&amp;gt;  
            &amp;lt;scope&amp;gt;compile&amp;lt;/scope&amp;gt;  
       &amp;lt;/dependency&amp;gt;  
  &amp;lt;/dependencies&amp;gt;  
 &amp;lt;/project&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;web.xml&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span style=&quot;color: #351c75;&quot;&gt;Adding spring DispatcherServlet and other filter as required.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikhxgDUciowET3hbL_b3AQPZ0VIM7AL4NYTxPO0F3w-5KEERMNg0WGNFGfuKmL099zSg5esjHkgb4u8xrYncB634AxOxu3daHkFL2hhjQf6sp6fGLmkFPbrpY2BVP_JM_pasMSiRROS7qK/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; &amp;lt;?xml version=&quot;1.0&quot; encoding=&quot;UTF-8&quot;?&amp;gt;  
 &amp;lt;web-app xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot; xmlns=&quot;http://java.sun.com/xml/ns/javaee&quot; xmlns:web=&quot;http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd&quot; xsi:schemaLocation=&quot;http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd&quot; id=&quot;WebApp_ID&quot; version=&quot;3.0&quot;&amp;gt;  
  &amp;lt;display-name&amp;gt;EditHeaderVariable&amp;lt;/display-name&amp;gt;  
  &amp;lt;welcome-file-list&amp;gt;  
   &amp;lt;welcome-file&amp;gt;index.jsp&amp;lt;/welcome-file&amp;gt;  
  &amp;lt;/welcome-file-list&amp;gt;  
  &amp;lt;servlet&amp;gt;  
   &amp;lt;servlet-name&amp;gt;editHeader&amp;lt;/servlet-name&amp;gt;  
   &amp;lt;servlet-class&amp;gt;org.springframework.web.servlet.DispatcherServlet&amp;lt;/servlet-class&amp;gt;&amp;lt;!--  
   &amp;lt;init-param&amp;gt;  
    &amp;lt;param-name&amp;gt;contextConfigLocation&amp;lt;/param-name&amp;gt;  
    &amp;lt;param-value&amp;gt;/WEB-INF/spring/dispatcher-config.xml&amp;lt;/param-value&amp;gt;  
   &amp;lt;/init-param&amp;gt;  
   --&amp;gt;&amp;lt;load-on-startup&amp;gt;1&amp;lt;/load-on-startup&amp;gt;  
  &amp;lt;/servlet&amp;gt;  
   &amp;lt;context-param&amp;gt;  
      &amp;lt;param-name&amp;gt;contextConfigLocation&amp;lt;/param-name&amp;gt;  
      &amp;lt;param-value&amp;gt;/WEB-INF/editHeader-servlet.xml&amp;lt;/param-value&amp;gt;  
  &amp;lt;/context-param&amp;gt;  
  &amp;lt;servlet-mapping&amp;gt;  
   &amp;lt;servlet-name&amp;gt;editHeader&amp;lt;/servlet-name&amp;gt;  
   &amp;lt;url-pattern&amp;gt;*.html&amp;lt;/url-pattern&amp;gt;  
  &amp;lt;/servlet-mapping&amp;gt;  
  &amp;lt;listener&amp;gt;  
   &amp;lt;listener-class&amp;gt;org.springframework.web.context.ContextLoaderListener&amp;lt;/listener-class&amp;gt;  
  &amp;lt;/listener&amp;gt;  
  &amp;lt;filter&amp;gt;  
       &amp;lt;filter-name&amp;gt;modifyRequestObjectFilter&amp;lt;/filter-name&amp;gt;  
       &amp;lt;filter-class&amp;gt;com.prajith.filter.ModifyRequestObjectFilter&amp;lt;/filter-class&amp;gt;  
  &amp;lt;/filter&amp;gt;  
  &amp;lt;filter-mapping&amp;gt;  
       &amp;lt;filter-name&amp;gt;modifyRequestObjectFilter&amp;lt;/filter-name&amp;gt;  
       &amp;lt;url-pattern&amp;gt;/*&amp;lt;/url-pattern&amp;gt;  
  &amp;lt;/filter-mapping&amp;gt;  
 &amp;lt;/web-app&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;editHeader-servlet.xml&lt;/span&gt;&lt;/h4&gt;
&lt;span style=&quot;color: #351c75;&quot;&gt;enabling autoscan feature of the spring.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikhxgDUciowET3hbL_b3AQPZ0VIM7AL4NYTxPO0F3w-5KEERMNg0WGNFGfuKmL099zSg5esjHkgb4u8xrYncB634AxOxu3daHkFL2hhjQf6sp6fGLmkFPbrpY2BVP_JM_pasMSiRROS7qK/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; &amp;lt;beans xmlns=&quot;http://www.springframework.org/schema/beans&quot;  
      xmlns:xsi=&quot;http://www.w3.org/2001/XMLSchema-instance&quot;  
      xmlns:context=&quot;http://www.springframework.org/schema/context&quot;  
      xsi:schemaLocation=&quot;http://www.springframework.org/schema/beans   
      http://www.springframework.org/schema/beans/spring-beans-2.5.xsd  
      http://www.springframework.org/schema/context  
      http://www.springframework.org/schema/context/spring-context-2.5.xsd&quot;&amp;gt;  
      &amp;lt;context:component-scan base-package=&quot;com.prajith&quot; /&amp;gt;  
      &amp;lt;bean id=&quot;viewResolver&quot;  
           class=&quot;org.springframework.web.servlet.view.InternalResourceViewResolver&quot; &amp;gt;  
       &amp;lt;property name=&quot;prefix&quot;&amp;gt;  
        &amp;lt;value&amp;gt;jsp/&amp;lt;/value&amp;gt;  
       &amp;lt;/property&amp;gt;  
       &amp;lt;property name=&quot;suffix&quot;&amp;gt;  
        &amp;lt;value&amp;gt;.jsp&amp;lt;/value&amp;gt;  
       &amp;lt;/property&amp;gt;  
     &amp;lt;/bean&amp;gt;  
 &amp;lt;/beans&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;/h4&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;index.jsp&lt;/span&gt;&lt;/h4&gt;
&lt;span style=&quot;color: #351c75;&quot;&gt;welcome page for the application where we are giving option to enter some value in the form which we want to get in the header of the HttpServletRequest object created on submission&lt;/span&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikhxgDUciowET3hbL_b3AQPZ0VIM7AL4NYTxPO0F3w-5KEERMNg0WGNFGfuKmL099zSg5esjHkgb4u8xrYncB634AxOxu3daHkFL2hhjQf6sp6fGLmkFPbrpY2BVP_JM_pasMSiRROS7qK/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; &amp;lt;%@ page language=&quot;java&quot; contentType=&quot;text/html; charset=ISO-8859-1&quot;  
   pageEncoding=&quot;ISO-8859-1&quot;%&amp;gt;  
 &amp;lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;http://www.w3.org/TR/html4/loose.dtd&quot;&amp;gt;  
 &amp;lt;html&amp;gt;  
 &amp;lt;head&amp;gt;  
 &amp;lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=ISO-8859-1&quot;&amp;gt;  
 &amp;lt;title&amp;gt;Insert title here&amp;lt;/title&amp;gt;  
 &amp;lt;/head&amp;gt;  
 &amp;lt;body&amp;gt;  
      &amp;lt;form method=&quot;post&quot; action=&quot;testheader.html&quot;&amp;gt;  
           write the header value to get : &amp;lt;input id=&quot;headerTest&quot; name=&quot;headerTest&quot; type=&quot;text&quot; /&amp;gt;  
           &amp;lt;input type=&quot;submit&quot; value=&quot;submit&quot;/&amp;gt;  
      &amp;lt;/form&amp;gt;  
 &amp;lt;/body&amp;gt;  
 &amp;lt;/html&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;result.jsp&lt;/span&gt;&lt;/h4&gt;
&lt;span style=&quot;color: #351c75;&quot;&gt;This jsp is just to redirect 2 time without wasting time on again clicking and redirecting. This jsp is also to show that the second&amp;nbsp; HttpServletRequest object does&#39;t contain any information passed in earlier HttpServletRequest object but still we are able to get the value of the earlier submitted request in the getHeader() method of the new HttpServletRequest object.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikhxgDUciowET3hbL_b3AQPZ0VIM7AL4NYTxPO0F3w-5KEERMNg0WGNFGfuKmL099zSg5esjHkgb4u8xrYncB634AxOxu3daHkFL2hhjQf6sp6fGLmkFPbrpY2BVP_JM_pasMSiRROS7qK/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; &amp;lt;%@ page language=&quot;java&quot; contentType=&quot;text/html; charset=ISO-8859-1&quot;  
   pageEncoding=&quot;ISO-8859-1&quot;%&amp;gt;  
 &amp;lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;http://www.w3.org/TR/html4/loose.dtd&quot;&amp;gt;  
 &amp;lt;html&amp;gt;  
 &amp;lt;head&amp;gt;  
 &amp;lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=ISO-8859-1&quot;&amp;gt;  
 &amp;lt;title&amp;gt;Insert title here&amp;lt;/title&amp;gt;  
 &amp;lt;/head&amp;gt;  
 &amp;lt;body&amp;gt;  
 &amp;lt;%response.sendRedirect(&quot;/EditHeaderVariable/resultCheck.html&quot;);%&amp;gt;  
 &amp;lt;/body&amp;gt;  
 &amp;lt;/html&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;result2.jsp&lt;/span&gt;&lt;/h4&gt;
&lt;span style=&quot;color: #351c75;&quot;&gt;This jsp shows the value which we submitted in the first request from the index.jsp by getting the value from the getHeader() method of the HttpServletRequest object from session so that we need not submit the header information every time we need.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikhxgDUciowET3hbL_b3AQPZ0VIM7AL4NYTxPO0F3w-5KEERMNg0WGNFGfuKmL099zSg5esjHkgb4u8xrYncB634AxOxu3daHkFL2hhjQf6sp6fGLmkFPbrpY2BVP_JM_pasMSiRROS7qK/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; &amp;lt;%@ page language=&quot;java&quot; contentType=&quot;text/html; charset=ISO-8859-1&quot;  
   pageEncoding=&quot;ISO-8859-1&quot;%&amp;gt;  
 &amp;lt;!DOCTYPE html PUBLIC &quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot; &quot;http://www.w3.org/TR/html4/loose.dtd&quot;&amp;gt;  
 &amp;lt;html&amp;gt;  
 &amp;lt;head&amp;gt;  
 &amp;lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=ISO-8859-1&quot;&amp;gt;  
 &amp;lt;title&amp;gt;Insert title here&amp;lt;/title&amp;gt;  
 &amp;lt;/head&amp;gt;  
 &amp;lt;body&amp;gt;  
 ${message}  
 &amp;lt;/body&amp;gt;  
 &amp;lt;/html&amp;gt;  
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;HeaderController.java&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span style=&quot;color: #351c75;&quot;&gt;This controller is for just printing and redirecting to the correct jsp resource.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span style=&quot;color: #351c75;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikhxgDUciowET3hbL_b3AQPZ0VIM7AL4NYTxPO0F3w-5KEERMNg0WGNFGfuKmL099zSg5esjHkgb4u8xrYncB634AxOxu3daHkFL2hhjQf6sp6fGLmkFPbrpY2BVP_JM_pasMSiRROS7qK/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; package com.prajith.httpservlet;  
 import javax.servlet.http.HttpServletRequest;  
 import javax.servlet.http.HttpServletResponse;  
 import org.springframework.stereotype.Controller;  
 import org.springframework.web.bind.annotation.RequestMapping;  
 import org.springframework.web.servlet.ModelAndView;  
 @Controller  
 public class HeaderController {  
      @RequestMapping(&quot;/testheader&quot;)  
      public ModelAndView testHeader(HttpServletRequest request, HttpServletResponse response){  
           System.out.println(&quot;testheader&quot;);  
           System.out.println(request.getHeader(&quot;headerTest&quot;));  
           return new ModelAndView(&quot;result&quot;);  
      }  
      @RequestMapping(&quot;/resultCheck&quot;)  
      public ModelAndView resultCheck(HttpServletRequest request, HttpServletResponse response){  
           System.out.println(&quot;resultCheck&quot;);  
           System.out.println(request.getHeader(&quot;headerTest&quot;));  
           return new ModelAndView(&quot;result2&quot;,&quot;message&quot;,request.getHeader(&quot;headerTest&quot;));  
      }  
 }  
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;ModifyRequestObjectFilter.java&amp;nbsp;&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #351c75;&quot;&gt;&amp;nbsp;This filter has been created so that we can modify the request object before reaching the controller. On reaching the controller, the controller gets modified HttpServletRequest object. In the below code you can see we have overridden the dofilter method of the filter interface and changed the ServletRequest object by casting the new class ModifyRequest which extends to HttpServletRequestWrapper class to &lt;/span&gt;&lt;span style=&quot;color: #351c75;&quot;&gt;&lt;span style=&quot;color: #351c75;&quot;&gt;ServletRequest object&lt;/span&gt;.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikhxgDUciowET3hbL_b3AQPZ0VIM7AL4NYTxPO0F3w-5KEERMNg0WGNFGfuKmL099zSg5esjHkgb4u8xrYncB634AxOxu3daHkFL2hhjQf6sp6fGLmkFPbrpY2BVP_JM_pasMSiRROS7qK/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; package com.prajith.filter;  
 import java.io.IOException;  
 import javax.servlet.Filter;  
 import javax.servlet.FilterChain;  
 import javax.servlet.FilterConfig;  
 import javax.servlet.ServletException;  
 import javax.servlet.ServletRequest;  
 import javax.servlet.ServletResponse;  
 import javax.servlet.annotation.WebFilter;  
 import javax.servlet.http.HttpServletRequest;  
 /**  
  * Servlet Filter implementation class ModifyRequestObjectFilter  
  */  
 @WebFilter(&quot;/ModifyRequestObjectFilter&quot;)  
 public class ModifyRequestObjectFilter implements Filter {  
   /**  
    * Default constructor.   
    */  
   public ModifyRequestObjectFilter() {  
     // TODO Auto-generated constructor stub  
   }  
      /**  
       * @see Filter#destroy()  
       */  
      public void destroy() {  
           // TODO Auto-generated method stub  
      }  
      /**  
       * @see Filter#doFilter(ServletRequest, ServletResponse, FilterChain)  
       */  
      public void doFilter(ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException {  
           // TODO Auto-generated method stub  
           // place your code here  
           // pass the request along the filter chain  
           try{  
                request=(ServletRequest)new ModifyRequest((HttpServletRequest)request);  
                chain.doFilter(request, response);  
           }catch(Exception e){  
                System.out.println(&quot;error &quot;+e);  
           }  
      }  
      /**  
       * @see Filter#init(FilterConfig)  
       */  
      public void init(FilterConfig fConfig) throws ServletException {  
           // TODO Auto-generated method stub  
      }  
 }  
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;
&lt;h4 style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;ModifyRequest.java&lt;/span&gt;&lt;/h4&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #351c75;&quot;&gt;This class extends to HttpServletRequestWrapper class and overrides getHeader method. In this method we don&#39;t want to loose the originality of the method so we have coded as super.getHeader() which calls the parent class method and returns the value accordingly. In case the returned value is null then we are modifying the value to be returned as per our need.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #351c75;&quot;&gt;This is not only to modity the getHeader() method but also can be used to modify other method of the &lt;/span&gt;&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span style=&quot;color: #351c75;&quot;&gt;HttpServletRequest as per our need.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #990000;&quot;&gt;&lt;span style=&quot;color: #351c75;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;pre style=&quot;background-image: URL(https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEikhxgDUciowET3hbL_b3AQPZ0VIM7AL4NYTxPO0F3w-5KEERMNg0WGNFGfuKmL099zSg5esjHkgb4u8xrYncB634AxOxu3daHkFL2hhjQf6sp6fGLmkFPbrpY2BVP_JM_pasMSiRROS7qK/s320/codebg.gif); background: #f0f0f0; border: 1px dashed #CCCCCC; color: black; font-family: arial; font-size: 12px; height: auto; line-height: 20px; overflow: auto; padding: 0px; text-align: left; width: 99%;&quot;&gt;&lt;code style=&quot;color: black; word-wrap: normal;&quot;&gt; package com.prajith.filter;  
 import javax.servlet.http.HttpServletRequest;  
 import javax.servlet.http.HttpServletRequestWrapper;  
 public class ModifyRequest extends HttpServletRequestWrapper {  
      private HttpServletRequest req;  
      private String value=null;  
      public ModifyRequest(HttpServletRequest request) {  
           super(request);  
           req=request;  
           // TODO Auto-generated constructor stub  
      }  
      @Override  
      public String getHeader(String name){  
           value=super.getHeader(name);  
           if(value==null){  
                value=req.getParameter(name);  
                if(req.getParameter(name) !=null)  
                req.getSession().setAttribute(name, req.getParameter(name));  
           }  
           if(req.getParameter(name)==null){  
                value=(String)req.getSession().getAttribute(name);  
           }  
           return value;  
      }  
 }  
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;
project structure image :&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-TKZwkCWIp6-RaRlgDWutNMLz5zCJ7oMjxF4DbP7bkC6R0dBnteOA3FJwFbQC0adp0cVj3N4CUMliyRDAfYhK3No1YzIsKQye9BhqZ7AaLB2wcXVOWoSRm9eSh0r2xyd19TEgbrABIOlJ/s1600/projectstructure.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi-TKZwkCWIp6-RaRlgDWutNMLz5zCJ7oMjxF4DbP7bkC6R0dBnteOA3FJwFbQC0adp0cVj3N4CUMliyRDAfYhK3No1YzIsKQye9BhqZ7AaLB2wcXVOWoSRm9eSh0r2xyd19TEgbrABIOlJ/s320/projectstructure.jpg&quot; width=&quot;208&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;br /&gt;
maven library dependency:&lt;br /&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwEEnuEMJ61m2_pEkT8HCaEj11ukfb-TFEFTDT2L7LWHOqRHjE4nCr9LaQzPc7d8mPmieMrQZtZilRH3BrfE_2ZNH64ptfUUVV9mldiMKNr-8B_pMNTNAsL8iKI-CX3Tc5QtckAA-Nc8Ph/s1600/maven+dependecy+jar.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiwEEnuEMJ61m2_pEkT8HCaEj11ukfb-TFEFTDT2L7LWHOqRHjE4nCr9LaQzPc7d8mPmieMrQZtZilRH3BrfE_2ZNH64ptfUUVV9mldiMKNr-8B_pMNTNAsL8iKI-CX3Tc5QtckAA-Nc8Ph/s1600/maven+dependecy+jar.jpg&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://prajith-javatechnical.blogspot.com/feeds/3893680130262514721/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://prajith-javatechnical.blogspot.com/2013/11/httpservletrequestwrapper-class-usage.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/3893680130262514721'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/3893680130262514721'/><link rel='alternate' type='text/html' href='http://prajith-javatechnical.blogspot.com/2013/11/httpservletrequestwrapper-class-usage.html' title='HttpServletRequestWrapper class usage or Modify HttpServletRequest Object including header information'/><author><name>Prajith</name><uri>http://www.blogger.com/profile/07475641510583354853</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/AVvXsEi-TKZwkCWIp6-RaRlgDWutNMLz5zCJ7oMjxF4DbP7bkC6R0dBnteOA3FJwFbQC0adp0cVj3N4CUMliyRDAfYhK3No1YzIsKQye9BhqZ7AaLB2wcXVOWoSRm9eSh0r2xyd19TEgbrABIOlJ/s72-c/projectstructure.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7304608991043014862.post-7095446859258742986</id><published>2013-03-25T13:17:00.001+05:30</published><updated>2013-03-25T13:17:38.737+05:30</updated><category scheme="http://www.blogger.com/atom/ns#" term="Class inside interface"/><title type='text'>Creating class inside Interface</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Recently i came to know that it is possible to create a class inside a interface. Its just for those people who don&#39;t know it is possible.&lt;br /&gt;
&lt;br /&gt;
First we will be creating one interface as below.&lt;br /&gt;
&lt;br /&gt;
TestClassinsideInterface.java&lt;br /&gt;
&lt;br /&gt;
package com.lnt.test;&lt;br /&gt;&lt;br /&gt;public interface TestClassinsideInterface {&lt;br /&gt;&amp;nbsp;void dofoo();&lt;br /&gt;&amp;nbsp;Ifoo ifoo=new Ifoo();&lt;br /&gt;&lt;br /&gt;&amp;nbsp;final class Ifoo implements TestClassinsideInterface{&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; @Override&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public void dofoo() {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; // TODO Auto-generated method stub&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println(&quot;inside dofoo&quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;}&lt;br /&gt;}&lt;br /&gt;&lt;br /&gt;
&lt;br /&gt;
Now creating class with main method to access the class inside interface.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
TestInnerInterfaceClass.java&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
package com.lnt.test;&lt;br /&gt;&lt;br /&gt;public class TestInnerInterfaceClass {&lt;br /&gt;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; public static void main(String[] args){&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;TestClassinsideInterface testInterface=TestClassinsideInterface.ifoo;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp; &amp;nbsp;testInterface.dofoo();&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;}&lt;br /&gt;&amp;nbsp;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://prajith-javatechnical.blogspot.com/feeds/7095446859258742986/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://prajith-javatechnical.blogspot.com/2013/03/creating-class-inside-interface.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/7095446859258742986'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/7095446859258742986'/><link rel='alternate' type='text/html' href='http://prajith-javatechnical.blogspot.com/2013/03/creating-class-inside-interface.html' title='Creating class inside Interface'/><author><name>Prajith</name><uri>http://www.blogger.com/profile/07475641510583354853</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-7304608991043014862.post-2682246319906540541</id><published>2012-08-23T19:16:00.000+05:30</published><updated>2012-08-23T19:16:43.378+05:30</updated><title type='text'>WebService using RESTeasy</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;Webservice using RESTeasy is too simple. For creating the simple application we have to use the maven plugin or you can download the jar file and keep it inside the lib folder of the project.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;&lt;br /&gt;&lt;/span&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;First create a Dynamic Web Project and give any name you would like and then convert the project to a maven project and add the below dependency to the pom.xml.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
pom.xml&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192; font-family: Monaco; font-size: 11px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;color: #3b3ffb; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;project&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://maven.apache.org/POM/4.0.0&quot;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns:xsi&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xsi:schemaLocation&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;modelVersion&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;4.0.0&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;modelVersion&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;groupId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;RestEasy&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;groupId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;artifactId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;RestEasy&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;artifactId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;version&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;0.0.1-SNAPSHOT&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;version&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;RestEasy&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;description&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;RestEasy&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;description&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;dependencies&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;org.jboss.resteasy&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;artifactId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;resteasy&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;jaxrs&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;artifactId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;2.2.1.GA&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;dependencies&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;build&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;sourceDirectory&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;src&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;sourceDirectory&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;plugins&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;plugin&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;				&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;artifactId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;maven&lt;/span&gt;-compiler-&lt;span style=&quot;text-decoration: underline;&quot;&gt;plugin&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;artifactId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;				&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;2.3.2&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;				&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;configuration&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;					&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;source&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;1.6&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;source&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;					&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;target&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;1.6&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;target&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;				&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;configuration&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;plugin&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;plugins&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;build&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;project&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;Once you have done that then we need to create a class file with the name RestEasyTest.java. In this class file, @Path you need to specify for which this class need to be called as a mapping. then you need to create a method name showMessage and mention for what kind of call this method should respond. In the below example we are using the @Get. Now we need the parameter passed from the url to use in the method so we are using the {param} which will take the rest of the url after the &quot;/test&quot; and store it inside the string msg. Once this method is called we are returning the object of the Response.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
RestEasyTest.java&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192; font-family: Monaco; font-size: 11px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
package com.lnt.rest;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
import javax.ws.rs.GET;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
import javax.ws.rs.Path;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
import javax.ws.rs.PathParam;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
import javax.ws.rs.core.Response;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
@Path(&quot;/test&quot;)&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
public class RestEasyExample {&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;@GET&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;@Path(&quot;/{param}&quot;)&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;public Response showMessage(@PathParam(&quot;param&quot;) String msg) {&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;String result = &quot;Restful example : &quot; + msg;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;return Response.status(200).entity(result).build();&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;Configuration of the project to use the resteasy servlets are done at the web.xml&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
web.xml&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;?&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;xml&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;version&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;1.0&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;encoding&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;UTF-8&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;web-app&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns:xsi&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://java.sun.com/xml/ns/javaee&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns:web&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xsi:schemaLocation&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;WebApp_ID&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;version&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;3.0&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;display-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;RestEasy&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;display-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;welcome-file-list&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;welcome-file&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;index.html&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;welcome-file&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;welcome-file&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;index.htm&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;welcome-file&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;welcome-file&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;index.jsp&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;welcome-file&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;welcome-file&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;default.html&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;welcome-file&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;welcome-file&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;default.htm&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;welcome-file&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;welcome-file&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;default.jsp&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;welcome-file&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;welcome-file-list&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&amp;lt;!-- Auto scan REST service --&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;context-param&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;param-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;resteasy.scan&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;param-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;param-value&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;param-value&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;context-param&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&amp;lt;!-- this need same with &lt;span style=&quot;text-decoration: underline;&quot;&gt;resteasy&lt;/span&gt; &lt;span style=&quot;text-decoration: underline;&quot;&gt;servlet&lt;/span&gt; &lt;span style=&quot;text-decoration: underline;&quot;&gt;url&lt;/span&gt;-pattern --&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;context-param&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;param-name&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;resteasy.servlet.mapping.prefix&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;param-name&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;param-value&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;/rest&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;param-value&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;context-param&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;listener&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;listener-class&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;listener-class&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;listener&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;servlet&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;servlet-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;resteasy&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;servlet&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;servlet-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;servlet-class&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;			&lt;/span&gt;org.jboss.resteasy.plugins.server.servlet.HttpServletDispatcher&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;servlet-class&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;servlet&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;servlet-mapping&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;servlet-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;resteasy&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;servlet&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;servlet-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;		&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;url-pattern&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;/rest/*&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;url-pattern&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;	&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;servlet-mapping&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;web-app&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;The listener&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;org.jboss.resteasy.plugins.server.servlet.ResteasyBootstrap &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;make sure that the REST services are registed and listened.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;we are also providing the &amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;esteasy.servlet.mapping.prefix &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;as &quot;/rest&quot; as the resteasy url pattern uses the /rest/*.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;Now start the server and hit the link as&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;&quot;http://localhost:8080/RestEasy/rest/test/hello%20prajith&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;Result would be :&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;Restful example : hello prajith&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;
</content><link rel='replies' type='application/atom+xml' href='http://prajith-javatechnical.blogspot.com/feeds/2682246319906540541/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/08/webservice-using-resteasy.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/2682246319906540541'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/2682246319906540541'/><link rel='alternate' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/08/webservice-using-resteasy.html' title='WebService using RESTeasy'/><author><name>Prajith</name><uri>http://www.blogger.com/profile/07475641510583354853</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-7304608991043014862.post-1222042854325108840</id><published>2012-07-12T15:34:00.000+05:30</published><updated>2012-08-02T17:39:58.656+05:30</updated><title type='text'>Reflections in Java</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Reflection is a feature in the Java 
programming language. It allows an executing Java program to examine or 
&quot;introspect&quot; upon itself, and manipulate internal properties of the program. 
For example, it&#39;s possible for a Java class to obtain the names of all its 
members and display them.&lt;br /&gt;
&lt;br /&gt;
There are three steps that must be followed to use 
these classes.&lt;br /&gt;
&lt;br /&gt;
1. Obtain a java.lang.Class&amp;nbsp;object for the class that you want to manipulate.&lt;br /&gt;
2. Call method defined in the java.lang.Class to get the information about the class you want to manipulate.&lt;br /&gt;
3. Use the 
reflection API to manipulate the information&lt;br /&gt;
&lt;br /&gt;
Example of Reflection feature.&lt;br /&gt;
&lt;br /&gt;
Reflection :&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;package&lt;/span&gt; com.lnt.scjp;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; java.lang.reflect.*;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;class&lt;/span&gt; Reflection {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;private&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;int&lt;/span&gt; &lt;span style=&quot;text-decoration: underline;&quot;&gt;f1(Object p, &lt;/span&gt;&lt;span style=&quot;color: #921f67; text-decoration: underline;&quot;&gt;int&lt;/span&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt; x) &lt;/span&gt;&lt;span style=&quot;color: #921f67; text-decoration: underline;&quot;&gt;throws&lt;/span&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt; NullPointerException&lt;/span&gt; {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;if&lt;/span&gt; (p == &lt;span style=&quot;color: #921f67;&quot;&gt;null&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;throw&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;new&lt;/span&gt; NullPointerException();&lt;/div&gt;
&lt;div style=&quot;color: #921f67; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;return&lt;span style=&quot;color: black;&quot;&gt; x;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;static&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;void&lt;/span&gt; main(String args[]) {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;try&lt;/span&gt; {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ffe599;&quot;&gt;Class&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ffe599;&quot;&gt; cls = Class.forName(&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ffe599;&quot;&gt;&quot;com.lnt.scjp.Reflection&quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ffe599;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ffe599;&quot;&gt;Method methlist[] = cls.getDeclaredMethods();&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;for&lt;/span&gt; (&lt;span style=&quot;color: #921f67;&quot;&gt;int&lt;/span&gt; i = 0; i &amp;lt; methlist.&lt;span style=&quot;color: #0a30c8;&quot;&gt;length&lt;/span&gt;; i++) {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;Method m = methlist[i];&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ffe599;&quot;&gt;System.&lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ffe599;&quot;&gt;out&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ffe599;&quot;&gt;.println(&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ffe599;&quot;&gt;&quot;name = &quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ffe599;&quot;&gt; + m.getName());&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ffe599;&quot;&gt;System.&lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ffe599;&quot;&gt;out&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ffe599;&quot;&gt;.println(&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ffe599;&quot;&gt;&quot;decl class = &quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ffe599;&quot;&gt; + m.getDeclaringClass());&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;Class&lt;/span&gt; pvec[] = m.getParameterTypes();&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;for&lt;/span&gt; (&lt;span style=&quot;color: #921f67;&quot;&gt;int&lt;/span&gt; j = 0; j &amp;lt; pvec.&lt;span style=&quot;color: #0a30c8;&quot;&gt;length&lt;/span&gt;; j++)&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;System.&lt;span style=&quot;color: #0a30c8;&quot;&gt;out&lt;/span&gt;.println(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;param #&quot;&lt;/span&gt; + j + &lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot; &quot;&lt;/span&gt; + pvec[j]);&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;Class&lt;/span&gt; evec[] = m.getExceptionTypes();&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;for&lt;/span&gt; (&lt;span style=&quot;color: #921f67;&quot;&gt;int&lt;/span&gt; j = 0; j &amp;lt; evec.&lt;span style=&quot;color: #0a30c8;&quot;&gt;length&lt;/span&gt;; j++)&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;System.&lt;span style=&quot;color: #0a30c8;&quot;&gt;out&lt;/span&gt;.println(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;exc #&quot;&lt;/span&gt; + j + &lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot; &quot;&lt;/span&gt; + evec[j]);&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;System.&lt;span style=&quot;color: #0a30c8;&quot;&gt;out&lt;/span&gt;.println(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;return type = &quot;&lt;/span&gt; + m.getReturnType());&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;System.&lt;span style=&quot;color: #0a30c8;&quot;&gt;out&lt;/span&gt;.println(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;-----&quot;&lt;/span&gt;);&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;} &lt;span style=&quot;color: #921f67;&quot;&gt;catch&lt;/span&gt; (Throwable e) {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;System.&lt;span style=&quot;color: #0a30c8;&quot;&gt;err&lt;/span&gt;.println(e);&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
Output:&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
name = main&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
decl class = class com.lnt.scjp.Reflection&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
param #0 class [Ljava.lang.String;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
return type = void&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
-----&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
name = f1&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
decl class = class com.lnt.scjp.Reflection&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
param #0 class java.lang.Object&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
param #1 int&lt;/div&gt;
&lt;div style=&quot;color: #052090; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;exc #0 class &lt;/span&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;java.lang.NullPointerException&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
return type = int&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
-----&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
In the above class we are printing the information of the same class using the Reflection feature of the java. In the above class we have only used the Method class under the java.lang.reflect package. There are other class which the same package provide for modifications. Which can be seen in the below link.&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;a href=&quot;http://docs.oracle.com/javase/6/docs/api/java/lang/reflect/package-summary.html&quot; target=&quot;_blank&quot;&gt;java.lang.reflect&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prajith-javatechnical.blogspot.com/feeds/1222042854325108840/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/07/reflections-in-java.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/1222042854325108840'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/1222042854325108840'/><link rel='alternate' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/07/reflections-in-java.html' title='Reflections in Java'/><author><name>Prajith</name><uri>http://www.blogger.com/profile/07475641510583354853</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-7304608991043014862.post-3200820409855058180</id><published>2012-06-15T20:16:00.002+05:30</published><updated>2012-06-15T20:16:29.550+05:30</updated><title type='text'>Getting Spring WebApplicationContext object in Spring non managed bean</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;In spring non managed bean its difficult to initialize the object using the spring framework. For this either you can use&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
ApplicationContext context = &lt;span style=&quot;color: #921f67;&quot;&gt;new&lt;/span&gt; ClassPathXmlApplicationContext(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;springapp-servlet.xml&quot;&lt;/span&gt;);&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #990000;&quot;&gt;but using the above code loads the springapp-servlet.xml once again in the memory. In case of standalone application the above code will be fine but in case its a application running on server, loading the xml again will be costlier.So fo&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #921f67;&quot;&gt;r getting the&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #921f67;&quot;&gt;Spring WebApplicationContext object&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #921f67;&quot;&gt;&amp;nbsp;you can do as code marked in colored background.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #921f67;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;package&lt;/span&gt; com.lntinfotech.office.common;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; java.util.ArrayList;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; java.util.List;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; javax.servlet.http.HttpServletRequest;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; javax.servlet.http.HttpServletResponse;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.slf4j.Logger;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.slf4j.LoggerFactory;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.springframework.web.context.WebApplicationContext;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.springframework.web.context.support.WebApplicationContextUtils;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; com.lntinfotech.office.dao.DAOImpl;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; com.lntinfotech.office.dao.DAOIntf;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; com.lntinfotech.office.domain.JiraTicket;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;class&lt;/span&gt; DWRImpl {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;private&lt;/span&gt; Logger &lt;span style=&quot;color: #0a30c8;&quot;&gt;logger&lt;/span&gt; = LoggerFactory.getLogger(getClass());&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; List&amp;lt;JiraTicket&amp;gt; jiraTicketDetails(String jiraTicket,&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;HttpServletRequest req, HttpServletResponse res) {&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;logger&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;.debug(&lt;/span&gt;&quot;--&amp;gt; jiraTicketDetails(String name)&amp;nbsp; &quot;&lt;span style=&quot;color: black;&quot;&gt; + jiraTicket);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;List&amp;lt;JiraTicket&amp;gt; list = &lt;span style=&quot;color: #921f67;&quot;&gt;new&lt;/span&gt; ArrayList&amp;lt;JiraTicket&amp;gt;();&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;try&lt;/span&gt; {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;WebApplicationContext applicationContext = WebApplicationContextUtils&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;.getRequiredWebApplicationContext(req.getSession()&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;       &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;.getServletContext());&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;logger&lt;/span&gt;.debug(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;--&amp;gt; applicationContext &amp;nbsp; &quot;&lt;/span&gt; + applicationContext);&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;DAOIntf daoIntf = (DAOImpl) applicationContext.getBean(&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;&quot;daoIntf&quot;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;/* the above code gets the DAOImpl object via Spring IOC&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* and its initializes all the other objects mapped in the spring &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;WebApplicationContext&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;* removed unwanted code from the method......&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;*/&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;} &lt;span style=&quot;color: #921f67;&quot;&gt;catch&lt;/span&gt; (Exception e) {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;logger&lt;/span&gt;.error(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;Error &amp;nbsp; : &quot;&lt;/span&gt;, e);&lt;/div&gt;
&lt;div style=&quot;color: #921f67; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;return&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;null&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;logger&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;.debug(&lt;/span&gt;&quot;&amp;lt;-- jiraTicketDetails(String name)&quot;&lt;span style=&quot;color: black;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;return&lt;/span&gt; list;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
}&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prajith-javatechnical.blogspot.com/feeds/3200820409855058180/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/06/getting-spring-webapplicationcontext.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/3200820409855058180'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/3200820409855058180'/><link rel='alternate' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/06/getting-spring-webapplicationcontext.html' title='Getting Spring WebApplicationContext object in Spring non managed bean'/><author><name>Prajith</name><uri>http://www.blogger.com/profile/07475641510583354853</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-7304608991043014862.post-2320698645923226014</id><published>2012-06-15T19:38:00.002+05:30</published><updated>2012-06-15T19:39:33.741+05:30</updated><title type='text'>Custom Converter in Struts 2.3 and utilizing using annotations</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;In Struts we can write our own custom converter by extending to the StrutsTypeConverter and overriding the methods of the parent class. In the below example i have converted the string value received from the jsp to a Role object using the Struts annotation and the custom converter. I have not kept the Role class over here as you can convert this string to any object as per your requirement. Please don&#39;t forget to create a constructor in the POJO class as per the requirement other wise this converter wont work.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #921f67;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;I have not overridden the convertToString method of the StrutsTypeConverter. This only because I am not using this conversion. It depends on the developer to override the methods according to the application need.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;package&lt;/span&gt; com.lntinfotech.office.common;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; java.util.Map;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.apache.struts2.util.StrutsTypeConverter;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.slf4j.Logger;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.slf4j.LoggerFactory;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; com.lntinfotech.office.domain.Role;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; com.opensymphony.xwork2.conversion.TypeConversionException;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;/span&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;class&lt;/span&gt; RoleConverter &lt;span style=&quot;color: #921f67;&quot;&gt;extends&lt;/span&gt; StrutsTypeConverter {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;private&lt;/span&gt; Logger &lt;span style=&quot;color: #0a30c8;&quot;&gt;logger&lt;/span&gt;=LoggerFactory.getLogger(getClass());&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #777777; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;@Override&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; Role convertFromString(&lt;span style=&quot;text-decoration: underline;&quot;&gt;Map&lt;/span&gt; context, String[] values, &lt;span style=&quot;text-decoration: underline;&quot;&gt;Class&lt;/span&gt; toClass){&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;logger&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;.debug(&lt;/span&gt;&quot;--&amp;gt; convertFromString String :&quot;&lt;span style=&quot;color: black;&quot;&gt;+values[0]);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Role role;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;if&lt;/span&gt; (values != &lt;span style=&quot;color: #921f67;&quot;&gt;null&lt;/span&gt; &amp;amp;&amp;amp; values.&lt;span style=&quot;color: #0a30c8;&quot;&gt;length&lt;/span&gt; &amp;gt; 0 &amp;amp;&amp;amp; values[0] != &lt;span style=&quot;color: #921f67;&quot;&gt;null&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&amp;amp;&amp;amp; values[0].length() &amp;gt; 0) {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;try&lt;/span&gt; {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;int&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt; id=Integer.valueOf(values[0]);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;role=&lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;new&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt; Role(id);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;} &lt;span style=&quot;color: #921f67;&quot;&gt;catch&lt;/span&gt; (Exception e) {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;throw&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;new&lt;/span&gt; TypeConversionException(e);&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;logger&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;.debug(&lt;/span&gt;&quot;&amp;lt;-- convertFromString String :&quot;&lt;span style=&quot;color: black;&quot;&gt;+values[0]);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;return&lt;/span&gt; role;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;logger&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;.debug(&lt;/span&gt;&quot;&amp;lt;-- convertFromString null&quot;&lt;span style=&quot;color: black;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #921f67; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;return&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;null&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #777777; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;@Override&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; String convertToString(&lt;span style=&quot;text-decoration: underline;&quot;&gt;Map&lt;/span&gt; arg0, Object arg1) {&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;logger&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;.debug(&lt;/span&gt;&quot;--&amp;gt; convertToString(Map arg0, Object arg1)&quot;&lt;span style=&quot;color: black;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #508f73; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;// &lt;span style=&quot;color: #92b0c9;&quot;&gt;TODO&lt;/span&gt; Auto-generated method stub&lt;/div&gt;
&lt;div style=&quot;color: #921f67; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;return&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;null&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
In the above class we have created the a converter. So to use this we can use the Struts annotation. In the action class where you need this conversion to happen just annotate as&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #777777; font-family: Monaco; font-size: 11px;&quot;&gt;@TypeConversion&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Monaco; font-size: 11px;&quot;&gt;and give the complete path of the converter. I have removed other variables and method as its not necessary for this example. At run time when we are getting the dynamic value from the frontend the below code will call the converter and convert the value to the Role object and process the form as per the code.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #777777; font-family: Monaco; font-size: 11px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;package&lt;/span&gt; com.lntinfotech.office.controller;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;class&lt;/span&gt; RegistrationAction &lt;span style=&quot;color: #921f67;&quot;&gt;extends&lt;/span&gt; ActionSupport {&lt;/div&gt;
&lt;div style=&quot;color: #921f67; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;private&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;static&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;final&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;long&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;serialVersionUID&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; = 1L;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;private&lt;/span&gt; Logger &lt;span style=&quot;color: #0a30c8;&quot;&gt;logger&lt;/span&gt; = LoggerFactory.getLogger(getClass());&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #921f67;&quot;&gt;private&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #921f67;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt; Role &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #921f67;&quot;&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;role&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #921f67;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #921f67;&quot;&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;public&lt;/span&gt; Role getRole() {&lt;/div&gt;
&lt;div style=&quot;color: #921f67; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;return&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;role&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #777777;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;@TypeConversion&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;(converter = &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;&quot;com.lntinfotech.office.common.RoleConverter&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;)&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;void&lt;/span&gt; setRole(Role role) {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;this&lt;/span&gt;.&lt;span style=&quot;color: #0a30c8;&quot;&gt;role&lt;/span&gt; = role;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #777777;&quot;&gt;@Action&lt;/span&gt;(value = &lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;/createuser&quot;&lt;/span&gt;, results = {&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #777777;&quot;&gt;@Result&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(location = &lt;/span&gt;&quot;registrationSuccess.jsp&quot;&lt;span style=&quot;color: black;&quot;&gt;, name = &lt;/span&gt;&quot;success&quot;&lt;span style=&quot;color: black;&quot;&gt;),&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #777777;&quot;&gt;@Result&lt;/span&gt;(location = &lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;registration.jsp&quot;&lt;/span&gt;, name = &lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;input&quot;&lt;/span&gt;),&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #777777;&quot;&gt;@Result&lt;/span&gt;(location = &lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;registration.jsp&quot;&lt;/span&gt;, name = &lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;error&quot;&lt;/span&gt;) }, className = &lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;registerUser&quot;&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; String createUser() {&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;logger&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;.debug(&lt;/span&gt;&quot;--&amp;gt; createUser()&quot;&lt;span style=&quot;color: black;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;//method code removed.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;return&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&quot;success&quot;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
}&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prajith-javatechnical.blogspot.com/feeds/2320698645923226014/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/06/custom-converter-in-struts-23-using.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/2320698645923226014'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/2320698645923226014'/><link rel='alternate' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/06/custom-converter-in-struts-23-using.html' title='Custom Converter in Struts 2.3 and utilizing using annotations'/><author><name>Prajith</name><uri>http://www.blogger.com/profile/07475641510583354853</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-7304608991043014862.post-6648900089964699197</id><published>2012-06-15T18:58:00.000+05:30</published><updated>2012-06-15T18:58:01.486+05:30</updated><title type='text'>Casting list of array of objects and utilizing the same in jsp</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
In the below code the DAO class returns a list of objects. Now we need to iterate it and get the values of all the classes separately.&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
In the debug mode the list of array of object will look like as below.&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_hQRCiVGXGvMmW0yhGaUUUifuQyRBeGaOqtk3CF520pNJW9I4O9-l95HF_RPSkWeMgLz6LdB4sCuArbGtay23GELTBIjZAS-gCDGPzCI8z4WJet9azdVeJ6Hc0Kv4pgaiiKJVzHzQo9Rs/s1600/Screen+shot+2012-06-15+at+5.43.22+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj_hQRCiVGXGvMmW0yhGaUUUifuQyRBeGaOqtk3CF520pNJW9I4O9-l95HF_RPSkWeMgLz6LdB4sCuArbGtay23GELTBIjZAS-gCDGPzCI8z4WJet9azdVeJ6Hc0Kv4pgaiiKJVzHzQo9Rs/s1600/Screen+shot+2012-06-15+at+5.43.22+PM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqpVxoVZyCQeYXYa8uYIJV2qWmazsPNx5qWF5Rhb7Tg92aMtiK3f_JqmLc0Pco0n-TRnMflSXX9O0unw_GKirjLpH3TCNuJgLt4zCAaktKU4cSA737wtKyAougXGCF9ejQaIzBJdEGhyphenhyphenrJ/s1600/Screen+shot+2012-06-15+at+5.43.43+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;232&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhqpVxoVZyCQeYXYa8uYIJV2qWmazsPNx5qWF5Rhb7Tg92aMtiK3f_JqmLc0Pco0n-TRnMflSXX9O0unw_GKirjLpH3TCNuJgLt4zCAaktKU4cSA737wtKyAougXGCF9ejQaIzBJdEGhyphenhyphenrJ/s320/Screen+shot+2012-06-15+at+5.43.43+PM.png&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
Now to iterate this kind of list you need to first iterate as usual list and then cast it to Object array. Once its casted then we can get individual POJO classes. Only we need is to cast as per the sequence of the &amp;nbsp;POJO class. Please find the below code.&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;List&lt;/span&gt; mainMenu = &lt;span style=&quot;color: #0a30c8;&quot;&gt;daoIntf&lt;/span&gt;.getMenu();&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;logger&lt;/span&gt;.debug(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;List size &quot;&lt;/span&gt;+mainMenu.size());&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;logger&lt;/span&gt;.debug(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;lsit&amp;nbsp; : &quot;&lt;/span&gt;+mainMenu.get(0));&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;Iterator&lt;/span&gt; itr=mainMenu.iterator();&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;while&lt;/span&gt;(itr.hasNext()){&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;Object[] str=(Object[])itr.next();&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;logger&lt;/span&gt;.debug(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;str.length :&quot;&lt;/span&gt;+str.&lt;span style=&quot;color: #0a30c8;&quot;&gt;length&lt;/span&gt;);&lt;/div&gt;
&lt;div style=&quot;color: #508f73; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;//menu=(Menu)&lt;span style=&quot;text-decoration: underline;&quot;&gt;str&lt;/span&gt;[0];&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;subMenuRole&lt;/span&gt;=(SubMenuRole)str[0];&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;subMenu&lt;/span&gt;=(SubMenu)str[1];&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;logger&lt;/span&gt;.debug(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;Menu Name :&amp;nbsp; &quot;&lt;/span&gt; +&lt;span style=&quot;color: #0a30c8;&quot;&gt;subMenu&lt;/span&gt;.getMenu().getName()+ &lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;&amp;nbsp; SubMenu :&amp;nbsp; &quot;&lt;/span&gt;+&lt;span style=&quot;color: #0a30c8;&quot;&gt;subMenu&lt;/span&gt;.getName()+&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot; Role : &quot;&lt;/span&gt;+&lt;span style=&quot;color: #0a30c8;&quot;&gt;subMenuRole&lt;/span&gt;.getRole().getName());&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
We are setting the list in the session as we have got from the DAO class. In this list there are 2 POJO classes so we need to iterate and show it in the front end.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
menu.jsp&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
In the below jsp, please note the &amp;lt;s:iterator&amp;gt; tag is iterating the list which we have set in the session and we have given the list name during iteration is &quot;usermenu&quot;. Once we have iterated the list then you can point to the pojo class by using the list name &quot;usermenu[i]&quot; where i is the sequence of pojo class which we have used to iterate the list in the java coding above.&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #ca7454;&quot;&gt;&amp;lt;%@&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;taglib&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;prefix&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;s&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;uri&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;/struts-tags&quot;&lt;span style=&quot;color: #ca7454;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #ca7454;&quot;&gt;&amp;lt;%@&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;taglib&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;prefix&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;c&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;uri&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://java.sun.com/jsp/jstl/core&quot;&lt;span style=&quot;color: #ca7454;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;html&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;head&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #509091;&quot;&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;head&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;body&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;div&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;arrowlistmenu&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;s:iterator&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;value&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;&quot;%{#session.mainMenuList}&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;var&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;&quot;usermenu&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;status&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;&quot;user&quot;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;s:if&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;test&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;#user.first&amp;nbsp; == true&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;c:set&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;menuElement&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;scope&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;page&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;s:property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;#usermenu[0].name&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;c:set&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;h3&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;menuheader expandable&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;${menuElement}&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;h3&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192; text-decoration: underline;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091; text-decoration: underline;&quot;&gt;ul&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790; text-decoration: underline;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;&quot;categoryitems&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192; text-decoration: underline;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;s:if&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;c:set&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;currentMenuElement&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;scope&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;page&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;s:property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;#usermenu[0].name&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;c:set&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;c:choose&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;c:when&lt;/span&gt; &lt;span style=&quot;color: #922790;&quot;&gt;test&lt;/span&gt;=&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;&lt;/span&gt;${currentMenuElement==menuElement}&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;href&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: #ca7454;&quot;&gt;&amp;lt;%=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;request.getContextPath() &lt;/span&gt;&lt;span style=&quot;color: #ca7454;&quot;&gt;%&amp;gt;&lt;/span&gt;/&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;s:property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;#usermenu[2].link&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;.html&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;s:property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;#usermenu[2].name&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;c:when&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;c:otherwise&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;&lt;span style=&quot;color: #019192; text-decoration: underline;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091; text-decoration: underline;&quot;&gt;ul&lt;/span&gt;&lt;span style=&quot;color: #019192; text-decoration: underline;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;c:set&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;var&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;menuElement&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;scope&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;page&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;s:property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;#usermenu[0].name&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;c:set&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;h3&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;menuheader expandable&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;${menuElement}&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;h3&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192; text-decoration: underline;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091; text-decoration: underline;&quot;&gt;ul&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790; text-decoration: underline;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;&quot;categoryitems&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192; text-decoration: underline;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;c:if&lt;/span&gt; &lt;span style=&quot;color: #922790;&quot;&gt;test&lt;/span&gt;=&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;&lt;/span&gt;${currentMenuElement==menuElement}&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;        &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;href&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;&lt;span style=&quot;color: #ca7454;&quot;&gt;&amp;lt;%=&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;request.getContextPath() &lt;/span&gt;&lt;span style=&quot;color: #ca7454;&quot;&gt;%&amp;gt;&lt;/span&gt;/&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;s:property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;#usermenu[2].link&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;.html&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;s:property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;#usermenu[2].name&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;       &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;c:if&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;c:otherwise&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;c:choose&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;s:if&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;test&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;#user.last&amp;nbsp; == true&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;span style=&quot;color: #019192; text-decoration: underline;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091; text-decoration: underline;&quot;&gt;ul&lt;/span&gt;&lt;span style=&quot;color: #019192; text-decoration: underline;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;s:if&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;s:iterator&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;div&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;body&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;html&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;Hope this code helps some of the developers.&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prajith-javatechnical.blogspot.com/feeds/6648900089964699197/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/06/casting-list-of-array-of-objects-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/6648900089964699197'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/6648900089964699197'/><link rel='alternate' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/06/casting-list-of-array-of-objects-and.html' title='Casting list of array of objects and utilizing the same in jsp'/><author><name>Prajith</name><uri>http://www.blogger.com/profile/07475641510583354853</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_hQRCiVGXGvMmW0yhGaUUUifuQyRBeGaOqtk3CF520pNJW9I4O9-l95HF_RPSkWeMgLz6LdB4sCuArbGtay23GELTBIjZAS-gCDGPzCI8z4WJet9azdVeJ6Hc0Kv4pgaiiKJVzHzQo9Rs/s72-c/Screen+shot+2012-06-15+at+5.43.22+PM.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7304608991043014862.post-7139588836295385296</id><published>2012-06-12T14:09:00.001+05:30</published><updated>2012-06-12T14:09:50.883+05:30</updated><title type='text'>Difference between Comparable and Comparator interface and usage</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #921f67;&quot;&gt;Comparable interface provide compareTo method which can be used to do sorting in natural order but the Comparator interface provide the method compare which takes two arguments which can be used to sort based on more than one parameter.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #921f67;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #921f67;&quot;&gt;For instance I have created a class UserDetails and comparing via Comparable interface and Comparator interface. Using comparator interface I am comparing the fname, in case the fname is equal then the sorting is done based on lName.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;class&lt;/span&gt; UserDetails &lt;span style=&quot;color: #921f67;&quot;&gt;implements&lt;/span&gt; &lt;span style=&quot;text-decoration: underline;&quot;&gt;Comparable&lt;/span&gt; {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;String &lt;span style=&quot;color: #0a30c8;&quot;&gt;fName&lt;/span&gt;;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;String &lt;span style=&quot;color: #0a30c8;&quot;&gt;lName&lt;/span&gt;;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; UserDetails(String fName, String lName) {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;super&lt;/span&gt;();&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;this&lt;/span&gt;.&lt;span style=&quot;color: #0a30c8;&quot;&gt;fName&lt;/span&gt; = fName;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;this&lt;/span&gt;.&lt;span style=&quot;color: #0a30c8;&quot;&gt;lName&lt;/span&gt; = lName;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; String getfName() {&lt;/div&gt;
&lt;div style=&quot;color: #921f67; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;return&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;fName&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;void&lt;/span&gt; setfName(String fName) {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;this&lt;/span&gt;.&lt;span style=&quot;color: #0a30c8;&quot;&gt;fName&lt;/span&gt; = fName;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; String getlName() {&lt;/div&gt;
&lt;div style=&quot;color: #921f67; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;return&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;lName&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;void&lt;/span&gt; setlName(String lName) {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;this&lt;/span&gt;.&lt;span style=&quot;color: #0a30c8;&quot;&gt;lName&lt;/span&gt; = lName;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #777777; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;@Override&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;int&lt;/span&gt; compareTo(Object o) {&lt;/div&gt;
&lt;div style=&quot;color: #508f73; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;// System.out.println(&quot;inside compareTo&quot;);&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;return&lt;/span&gt; getfName().compareTo(((UserDetails) o).getfName());&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; String toString() {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #0a30c8;&quot;&gt;fName&lt;/span&gt; + &lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot; : &quot;&lt;/span&gt; + &lt;span style=&quot;color: #0a30c8;&quot;&gt;lName&lt;/span&gt;;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #921f67;&quot;&gt;------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; java.util.ArrayList;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; java.util.Collections;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; java.util.Comparator;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; java.util.List;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;class&lt;/span&gt; NameComparator &lt;span style=&quot;color: #921f67;&quot;&gt;implements&lt;/span&gt; &lt;span style=&quot;text-decoration: underline;&quot;&gt;Comparator&lt;/span&gt; {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #508f73; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;// this comparator compares the first name and if its same it compares with&lt;/div&gt;
&lt;div style=&quot;color: #508f73; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;// the last name and gives the output&lt;/div&gt;
&lt;div style=&quot;color: #777777; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;@Override&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;int&lt;/span&gt; compare(Object o1, Object o2) {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;UserDetails userDetails1 = (UserDetails) o1;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;UserDetails &lt;span style=&quot;text-decoration: underline;&quot;&gt;userDetails2&lt;/span&gt; = (UserDetails) o2;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;if&lt;/span&gt; (userDetails1.getfName().equals(userDetails1.getfName())) {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;return&lt;/span&gt; userDetails1.getlName().compareTo(userDetails1.getlName());&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;span style=&quot;color: #921f67;&quot;&gt;else&lt;/span&gt; {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;return&lt;/span&gt; userDetails1.getfName().compareTo(userDetails1.getfName());&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;static&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;void&lt;/span&gt; main(String args[]) {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;List&amp;lt;UserDetails&amp;gt; userList = &lt;span style=&quot;color: #921f67;&quot;&gt;new&lt;/span&gt; ArrayList&amp;lt;UserDetails&amp;gt;();&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;userList.add(&lt;span style=&quot;color: #921f67;&quot;&gt;new&lt;/span&gt; UserDetails(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;Prajith&quot;&lt;/span&gt;, &lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;k&quot;&lt;/span&gt;));&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;userList.add(&lt;span style=&quot;color: #921f67;&quot;&gt;new&lt;/span&gt; UserDetails(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;Prajith&quot;&lt;/span&gt;, &lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;a&quot;&lt;/span&gt;));&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;userList.add(&lt;span style=&quot;color: #921f67;&quot;&gt;new&lt;/span&gt; UserDetails(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;Prajith&quot;&lt;/span&gt;, &lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;A&quot;&lt;/span&gt;));&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;userList.add(&lt;span style=&quot;color: #921f67;&quot;&gt;new&lt;/span&gt; UserDetails(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;Chandan&quot;&lt;/span&gt;, &lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;urs&quot;&lt;/span&gt;));&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;userList.add(&lt;span style=&quot;color: #921f67;&quot;&gt;new&lt;/span&gt; UserDetails(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;Gayatri&quot;&lt;/span&gt;, &lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;c&quot;&lt;/span&gt;));&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;userList.add(&lt;span style=&quot;color: #921f67;&quot;&gt;new&lt;/span&gt; UserDetails(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;Geeta&quot;&lt;/span&gt;, &lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;P&quot;&lt;/span&gt;));&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;userList.add(&lt;span style=&quot;color: #921f67;&quot;&gt;new&lt;/span&gt; UserDetails(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;Ajay&quot;&lt;/span&gt;, &lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;kumar&quot;&lt;/span&gt;));&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;userList.add(&lt;span style=&quot;color: #921f67;&quot;&gt;new&lt;/span&gt; UserDetails(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;Beena&quot;&lt;/span&gt;, &lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;P&quot;&lt;/span&gt;));&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;userList.add(&lt;span style=&quot;color: #921f67;&quot;&gt;new&lt;/span&gt; UserDetails(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;Akita&quot;&lt;/span&gt;, &lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;D&quot;&lt;/span&gt;));&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #508f73;&quot;&gt;/*&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #508f73; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; *Comparing using the comparator interface implementation&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;color: #508f73; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; * In &lt;span style=&quot;text-decoration: underline;&quot;&gt;assending&lt;/span&gt; order of the&amp;nbsp; &lt;span style=&quot;text-decoration: underline;&quot;&gt;fname&lt;/span&gt; and &lt;span style=&quot;text-decoration: underline;&quot;&gt;lname&lt;/span&gt;,&lt;/div&gt;
&lt;div style=&quot;color: #508f73; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; */&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;Collections.sort(userList, &lt;/span&gt;&lt;span style=&quot;color: #921f67; text-decoration: underline;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt; NameComparator())&lt;/span&gt;;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.&lt;span style=&quot;color: #0a30c8;&quot;&gt;out&lt;/span&gt;.println(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;Name Comparator output :&amp;nbsp; &quot;&lt;/span&gt; + userList);&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #508f73; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;// In &lt;span style=&quot;text-decoration: underline;&quot;&gt;desending&lt;/span&gt; order of the&amp;nbsp; &lt;span style=&quot;text-decoration: underline;&quot;&gt;fname&lt;/span&gt; and &lt;span style=&quot;text-decoration: underline;&quot;&gt;lname&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;Collections.sort(userList, Collections.reverseOrder(&lt;/span&gt;&lt;span style=&quot;color: #921f67; text-decoration: underline;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt; NameComparator()))&lt;/span&gt;;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.&lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;out&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;.println(&lt;/span&gt;&quot;Name Comparator output in decending order&amp;nbsp; : &quot;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;+ userList);&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #508f73;&quot;&gt;/*&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #508f73; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; *Comparing using the Comparable interface implementation&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;color: #508f73; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; * In &lt;span style=&quot;text-decoration: underline;&quot;&gt;assending&lt;/span&gt; order of the &lt;span style=&quot;text-decoration: underline;&quot;&gt;fname&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;color: #508f73; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; */&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;Collections.sort(userList)&lt;/span&gt;;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.&lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;out&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;.println(&lt;/span&gt;&quot;Name Comparator output using Comparable interface :&amp;nbsp; &quot;&lt;span style=&quot;color: black;&quot;&gt; + userList);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #508f73; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;// In &lt;span style=&quot;text-decoration: underline;&quot;&gt;desending&lt;/span&gt; order of the &lt;span style=&quot;text-decoration: underline;&quot;&gt;fname&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Collections.sort(userList, Collections.reverseOrder());&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.&lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;out&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;.println(&lt;/span&gt;&quot;Name Comparator output using Comparable interface in decending order&amp;nbsp; : &quot;&lt;span style=&quot;color: black;&quot;&gt;+ userList);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
}&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #921f67; font-family: Monaco; font-size: 11px;&quot;&gt;------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #921f67; font-family: Monaco; font-size: 11px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
Output of the above program is as below.&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #921f67; font-family: Monaco; font-size: 11px;&quot;&gt;------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
Name Comparator output :&amp;nbsp; [Prajith : k, Prajith : a, Prajith : A, Chandan : urs, Gayatri : c, Geeta : P, Ajay : kumar, Beena : P, Akita : D]&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
Name Comparator output in decending order&amp;nbsp; : [Prajith : k, Prajith : a, Prajith : A, Chandan : urs, Gayatri : c, Geeta : P, Ajay : kumar, Beena : P, Akita : D]&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
Name Comparator output using Comparable interface :&amp;nbsp; [Ajay : kumar, Akita : D, Beena : P, Chandan : urs, Gayatri : c, Geeta : P, Prajith : k, Prajith : a, Prajith : A]&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
Name Comparator output using Comparable interface in decending order&amp;nbsp; : [Prajith : k, Prajith : a, Prajith : A, Geeta : P, Gayatri : c, Chandan : urs, Beena : P, Akita : D, Ajay : kumar]&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #921f67;&quot;&gt;------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prajith-javatechnical.blogspot.com/feeds/7139588836295385296/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/06/difference-between-comparable-and.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/7139588836295385296'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/7139588836295385296'/><link rel='alternate' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/06/difference-between-comparable-and.html' title='Difference between Comparable and Comparator interface and usage'/><author><name>Prajith</name><uri>http://www.blogger.com/profile/07475641510583354853</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-7304608991043014862.post-5195083824874557378</id><published>2012-06-05T21:28:00.001+05:30</published><updated>2012-07-12T15:08:17.440+05:30</updated><title type='text'>Java Collections</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: #45818e; font-size: large;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;Collection:&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #134f5c;&quot;&gt; Java collection&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;is simply an object that groups multiple elements into a single unit. Collections are used to store, retrieve, manipulate, and communicate aggregate data.&lt;/span&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;Benefits of Java Collection framework:&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;1. Reduces programming efforts.&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;text-align: -webkit-auto;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;span style=&quot;text-align: -webkit-auto;&quot;&gt;2. Increase programming speed and quality.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;3. Reduces efforts to design new APIs.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;4. Standard collections interface are reusable.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;Interfaces:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4Ai2BbLVnnNdtgY7QzTeISE_yDvuX5p5wDrjj3ukFTRkzQgfMIeLMic_dmKF0WiqSZlzPRcAhWDoeLbMpDkpsfSUa1rvQayH81eJrGnjiED1y4TilmXwvZH_70lxjqElKnSmjuTZB_J_f/s1600/colls-coreInterfaces.gif&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;163&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEh4Ai2BbLVnnNdtgY7QzTeISE_yDvuX5p5wDrjj3ukFTRkzQgfMIeLMic_dmKF0WiqSZlzPRcAhWDoeLbMpDkpsfSUa1rvQayH81eJrGnjiED1y4TilmXwvZH_70lxjqElKnSmjuTZB_J_f/s400/colls-coreInterfaces.gif&quot; width=&quot;400&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;===========================================================&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;Collection Interface :&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;This interface is root of collection&amp;nbsp;hierarchy. Java platform does&#39;t provide any direct implementation of the this&amp;nbsp;interface but provides implementations of more specific subinterfaces, such as Set, List and Queue. &amp;nbsp;Collection interface is generic. A Collection represents group of objects, known as its elements.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;Interface declaration :&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;public interface Collection&amp;lt;E&amp;gt; extends Iterable&amp;lt;E&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Known Exception : UnsupportedOperationException&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;===========================================================&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;Set Interface :&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;This interface implements Collections interface. In this type of collections no&amp;nbsp;duplicate values are allowed.&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;Interface declaration :&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;public interface Set &amp;lt;E&amp;gt; extends Collection &amp;lt;E&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;Features :&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;1. Set does not allow duplicate elements.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;2. Set contains at most one null element.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;3. Set is unordered collection.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;4. Set does not allow positional access.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;Known Exception :NullPointerException or ClassCastException&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;----------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;General purpose Implementation classes of Set Interface are :&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;1. HashSet :&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;This class implements the Set interface backed by Hash table.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Class declaration :&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;public class HastSet &amp;lt;E&amp;gt; extends AbstractSet &amp;lt;E&amp;gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;implements Set &amp;lt;E&amp;gt;, Cloneable, Serializable&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Features :&amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;1.&amp;nbsp;HashSet&amp;nbsp;does not allow duplicate elements.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;2.&amp;nbsp;HashSet&amp;nbsp;contains at most one null element.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;3.&amp;nbsp;HashSet&amp;nbsp;is unordered collection.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;4.&amp;nbsp;HashSet&amp;nbsp;does not allow positional access.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;5. Unsychronized collection set.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;HashSet can be converted into a synchronized collection.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;ex.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Set s = Collections.synchronizedSet(new HashSet(.........));&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;----------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;2. LinkedHashSet :&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;This class implements the Set interface and extends to HashSet. It maintains the order in which the elements were inserted in this set.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Class declaration :&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;public class LinkedHashSet &amp;lt;E&amp;gt; extends HashSet &amp;lt;E&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;implements Set &amp;lt;E&amp;gt;, Cloneable, Serializable&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Features :&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;It carries all the features of HashSet except the ordering of collection maintained by the LinkedHashSet is the order in which the elements were inserted into it.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;HashSet can be converted into a synchronized collection.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;ex.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Set s = Collections.synchronizedSet(new LinkedHashSet(.........));&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;===========================================================&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;SortedSet interface :&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
This interface extends to set interface. This set&amp;nbsp;guarantees that its iterator will traverse the set in
 ascending element order, sorted according to the natural ordering&amp;nbsp;of
 its elements.&lt;/div&gt;
&lt;/span&gt;&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Class declaration :&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;public class SortedSet &amp;lt;E&amp;gt; extends Set &amp;lt;E&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Features :&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;1. Ordered collection set.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;2. Does not allow duplicate elements.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;3. All element inserted into an sorted set must implement Comparable interface.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;----------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;General purpose Implementation classes of SortedSet Interface are :&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;1. TreeSet :&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;This set implements SortedSet interface.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Class declaration :&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;public class TreeSet &amp;lt;E&amp;gt; extends AbstractSet &amp;lt;E&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;implements SortedSet &amp;lt;E&amp;gt;, Cloneable, Serializable&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Features :&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Carries all the features of the SortedSet interface and this class is unsynchronized.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Can be converted to synchronized collection.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;ex.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;pre&gt;SortedSet s = Collections.synchronizedSortedSet(new TreeSet(...));&lt;/pre&gt;
&lt;/span&gt;&lt;/span&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;===========================================================&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;List Interface :&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;This interface implements Collections interface.&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&amp;nbsp;&lt;/span&gt;An ordered Collection also known as sequence.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;Interface declaration :&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;public interface List &amp;lt;E&amp;gt; extends Collection &amp;lt;E&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;Features :&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;1. List allows duplicate elements.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;2. List contains null elements.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;3. List is a ordered collection.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;4. Allows positional access.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;5.List interface provides specialized Iterator called ListIterator that allows insertion, replacement and bidirectional access in addition to the normal operations that the iterator interface provides.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;Known Exception :NullPointerException or ClassCastException&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;----------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;General purpose Implementation classes of SortedSet Interface are :&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;1. ArrayList :&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;This&amp;nbsp;ArrayList&amp;nbsp;implements List interface.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Class declaration :&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;public class&amp;nbsp;ArrayList&amp;nbsp;&amp;lt;E&amp;gt; extends AbstractList &amp;lt;E&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;implements List &amp;lt;E&amp;gt;, RandomAccess, Cloneable, Serializable&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Features :&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;1. Resizable-array implementation of the List interface.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;2. Permits duplicate elements.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;3.&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Both LinkedList and the ArrayList maintain the order in which the elements are inserted.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;4. Roughly equivalent to Vector except that it is unsynchronized.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;5.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;The iterators returned by this class&#39;s &lt;tt&gt;iterator&lt;/tt&gt; and
 &lt;tt&gt;listIterator&lt;/tt&gt; methods are &lt;i&gt;fail-fast.&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;i&gt;&lt;br /&gt;&lt;/i&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Can be converted to synchronized collection.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;ex.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;pre&gt;List list = Collections.synchronizedList(new ArrayList(...));&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;----------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;2. LinkedList :&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;Doubly-linked list implementation of List interface. In addition to implementing the List interface the linkedList class provides uniformly named methods to get, remove and insert element at the beginning and end of the list. These operations allow linked lists to be use as a stack, queue, or double-ended queue(deque)&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;.&lt;/span&gt;Provide better performance if the elements are frequently inserted or deleted within the list. Also implements Queue interface. When accessed via the queue interface, LinkedList behaves as FIFO (First In First Out) Queue.&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Class declaration :&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;public class&amp;nbsp;LinkedList&amp;nbsp;&amp;lt;E&amp;gt; extends AbstractSequentialList &amp;lt;E&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;implements List &amp;lt;E&amp;gt;, Queue &amp;lt;E&amp;gt;, Cloneable, Serializable&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Features :&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;1. Resizable-array implementation of the List interface.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;2. Permits duplicate elements.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;3. Both LinkedList and the ArrayList maintain the order in which the elements are inserted.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;4. All of the operations perform as could be expected for a doubly-linked
 list&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;5. Unsynchronized list.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Can be converted to synchronized collection.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;ex.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;pre&gt;List list = Collections.synchronizedList(new LinkedList(...));&lt;/pre&gt;
&lt;/pre&gt;
&lt;/pre&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/pre&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;===========================================================&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;Map interface :&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;An object which maps keys to value. A map can not contain duplicate values and each key can map to only one value.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Class declaration :&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;public interface Map &amp;lt;K,V&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Features :&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;1. Object maps key and value.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;2. Map cannot contain duplicate key.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;3. Each key can map at most one value.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;4. Map at most contain one null key value.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;5. Unordered collection.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Exception : NullPointerException, ClassCastException or UnsupportedOpertionException&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: monospace; white-space: pre;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;----------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;General purpose Implementation classes of Map Interface are :&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;1. HashMap :&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Hash table based implementation of the Map interface.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Class declaration :&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;public class HashMap &amp;lt;K,V&amp;gt; extends AbstractMap&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&amp;nbsp;&amp;lt;K,V&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;implements Map&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&amp;nbsp;&amp;lt;K,V&amp;gt;, Cloneable, Serializable&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Features :&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;1.&amp;nbsp;Unsynchronized map.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;2.&amp;nbsp;Unordered map.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;3.&amp;nbsp;Allows null key and value at most one.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;4.&amp;nbsp;HashMap is roughly equivalent to the Hash table except that it is unsynchronized and allows null.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;HashMap&amp;nbsp;can be converted into a synchronized map.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;ex.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;pre&gt;Map m = Collections.synchronizedMap(new HashMap(...));&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;----------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;2. LinkedHashMap :&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;Hash table and linked list implementation of the &lt;tt&gt;Map&lt;/tt&gt; interface,
 with predictable iteration order.&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;This implementation differs from HashMap&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&amp;nbsp;in that it maintains a doubly-linked list running through
 all of its entries.  This linked list defines the iteration ordering,
 which is normally the order in which keys were inserted into the map
 (&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;i&gt;insertion-order&lt;/i&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;).  Note that insertion order is not affected
 if a key is &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;i&gt;re-inserted&lt;/i&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt; into the map.&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Class declaration :&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;public class LinkedHashMap &amp;lt;K,V&amp;gt; extends HashMap&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&amp;nbsp;&amp;lt;K,V&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;implements Map&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&amp;nbsp;&amp;lt;K,V&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Features :&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;1.&amp;nbsp;Unsynchronized map.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;2. Maintain the insertion order.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;LinkedHashMap&amp;nbsp;can be converted into a synchronized map.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;ex.&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;

&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;pre&gt;Map m = Collections.synchronizedMap(new LinkedHashMap(...));&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;===========================================================&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;SortedMap interface :&lt;/span&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;A map whose mapping are automatically sorted by key, either in keys natural ordering by a compartor provided when a sortedMap instance is created. It extends Map interface.&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Interface declaration :&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;public interface SortedMap &amp;lt;K,V&amp;gt; extends Map&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&amp;lt;K,V&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Features :&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;1. Sorted Key in ascending.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;2. EntrySet, KeySet for iterating over map&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;----------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;General purpose Implementation classes of SortedMap Interface is :&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;TreeMap :&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;Implementation of SortedMap interface.&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Class declaration :&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;public class T&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;reeMap&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&amp;nbsp;&amp;lt;K,V&amp;gt; extends AbstractMap&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&amp;nbsp;&amp;lt;K,V&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;implements SortedMap&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&amp;nbsp;&amp;lt;K,V&amp;gt;, Cloneable, Serializable&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Features :&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;1.&amp;nbsp;ascending key order.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;2. Iterator are fail-safe.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;===========================================================&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;strong&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;Legacy Implementations&lt;/span&gt;&lt;/strong&gt; - Older collection classes have
been retrofitted to implement the collection interfaces.&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;Vector :&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;Synchronized resizable-array implementation of the &lt;tt&gt;List&lt;/tt&gt; interface
with additional &quot;legacy methods.&quot;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;

&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;Class declaration :&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;public class Vector&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&amp;nbsp;&amp;lt;E&amp;gt; extends AbstractList&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&amp;nbsp;&amp;lt;E&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;implements List&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&amp;nbsp;&amp;lt;E&amp;gt;, RandomAccess, Cloneable, Serializable&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;Features :&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;1.&amp;nbsp;Synchronized resizable array implementation od List interface with additional Legacy methods.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;2. Size of vector can grow or shrink as the needed to accommodate adding and removing items after the vector has been created.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;----------------------------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ea9999;&quot;&gt;Hashtable :&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;Synchronized hash table implementation of the &lt;tt&gt;Map&lt;/tt&gt; interface
that does not allow &lt;tt&gt;null&lt;/tt&gt; keys or values, with additional
&quot;legacy methods.&quot;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;Class declaration :&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;public class Hashtable &amp;lt;K,V&amp;gt; extends Dictionary&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&amp;lt;K,V&amp;gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;implements Map&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&amp;lt;K,V&amp;gt;, Cloneable , Serializable&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;Features:&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;1. Synchronized Map.&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;2. Does not allow null values for key and value.&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;===========================================================&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0c343d; font-family: Times;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #134f5c;&quot;&gt;&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0c343d;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ffe599;&quot;&gt;Difference between HashMap &amp;amp; HashTable&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal;&quot;&gt;1. HashTable is synchronized while HashMap is&#39;t.&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal;&quot;&gt;2. Iterator in HashMap is fail-safe while enumerator in Hashtable is&#39;t.&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal;&quot;&gt;3. HashMap permits null value in it but Hashtable does&#39;t.&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times;&quot;&gt;
&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0c343d;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ffe599;&quot;&gt;Difference between ArrayList &amp;amp; LinkedList&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0c343d;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #ffe599;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0c343d;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;1. ArrayList can Random access elements in the list so its faster while accessing, even though the LinkedList has the method get(int index), the LinkedList has to iterate over the list to get the index value so its slower as compared to ArrayList while doing random access.&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0c343d; font-family: Times;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal;&quot;&gt;2. LinkedList is faster while doing the delete and add operations than ArrayList.&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0c343d; font-family: Times;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;white-space: normal;&quot;&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;a href=&quot;http://docs.oracle.com/javase/1.5.0/docs/guide/collections/reference.html&quot;&gt;Reference of the Collection&lt;/a&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;

&lt;div style=&quot;color: black; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #134f5c;&quot;&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prajith-javatechnical.blogspot.com/feeds/5195083824874557378/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/06/java-collections.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/5195083824874557378'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/5195083824874557378'/><link rel='alternate' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/06/java-collections.html' title='Java Collections'/><author><name>Prajith</name><uri>http://www.blogger.com/profile/07475641510583354853</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/AVvXsEh4Ai2BbLVnnNdtgY7QzTeISE_yDvuX5p5wDrjj3ukFTRkzQgfMIeLMic_dmKF0WiqSZlzPRcAhWDoeLbMpDkpsfSUa1rvQayH81eJrGnjiED1y4TilmXwvZH_70lxjqElKnSmjuTZB_J_f/s72-c/colls-coreInterfaces.gif" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7304608991043014862.post-6960580090613170357</id><published>2012-05-25T16:43:00.002+05:30</published><updated>2012-05-25T16:43:28.687+05:30</updated><title type='text'>CustomValidation using Annotation in Struts</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394;&quot;&gt;While doing the validation, the developer can write his own custom validation to validate the fields. In Struts2 it can be done by using @CustomValidator. The Custom Validator takes mandatory fields as:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394;&quot;&gt;1. type - it is the name to the validator which will be defined in the validation.xml&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394;&quot;&gt;2. message - it is the message which you would like to show on the validation failure.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394;&quot;&gt;3.fieldName - this will be necessary if you are not defining the validator above the field name. In the below example i have used the validator at the class level so its necessary to mention the name of the validator.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Arial, Helvetica, sans-serif;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394;&quot;&gt;A custom validator can be implemented by implementing the FieldValidatorSupport or the ValidatorSupport. Below is the example to write a custom validator.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;-----------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;PhoneNumberValidator.java :&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;-----------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;package&lt;/span&gt; com.lntinfotech.office.common;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.slf4j.Logger;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.slf4j.LoggerFactory;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; com.opensymphony.xwork2.validator.ValidationException;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; com.opensymphony.xwork2.validator.validators.FieldValidatorSupport;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;class&lt;/span&gt; PhoneNumberFieldValidator &lt;span style=&quot;color: #921f67;&quot;&gt;extends&lt;/span&gt; FieldValidatorSupport {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;private&lt;/span&gt; Logger &lt;span style=&quot;color: #0a30c8;&quot;&gt;logger&lt;/span&gt;=LoggerFactory.getLogger(getClass());&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;void&lt;/span&gt; validate(Object object) &lt;span style=&quot;color: #921f67;&quot;&gt;throws&lt;/span&gt; ValidationException {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;String fieldName = getFieldName();&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Object value = &lt;span style=&quot;color: #921f67;&quot;&gt;this&lt;/span&gt;.getFieldValue(fieldName, object);&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;if&lt;/span&gt; (!(value &lt;span style=&quot;color: #921f67;&quot;&gt;instanceof&lt;/span&gt; String)) {&lt;/div&gt;
&lt;div style=&quot;color: #921f67; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;return&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;String str = ((String) value).trim();&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;try&lt;/span&gt;{&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;if&lt;/span&gt; (str.length() != 0) {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;if&lt;/span&gt; (str.indexOf(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;-&quot;&lt;/span&gt;, 0) &amp;lt;= 5) {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;if&lt;/span&gt; (str.indexOf(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;-&quot;&lt;/span&gt;) == str.lastIndexOf(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;-&quot;&lt;/span&gt;)) {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;String stdcode = str.substring(0, str.indexOf(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;-&quot;&lt;/span&gt;));&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;String phoneNo = str.substring((str.indexOf(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;-&quot;&lt;/span&gt;) + 1));&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;if&lt;/span&gt;(phoneNo.length()&amp;lt;6){&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;addFieldError(fieldName, object);&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;try&lt;/span&gt; {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;Integer.parseInt(stdcode);&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;Integer.parseInt(phoneNo);&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;} &lt;span style=&quot;color: #921f67;&quot;&gt;catch&lt;/span&gt; (NumberFormatException nfe) {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;addFieldError(fieldName, object);&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;logger&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;.error(&lt;/span&gt;&quot;&amp;lt;-- validate(Object object) :&quot;&lt;span style=&quot;color: black;&quot;&gt;+nfe);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;return&lt;/span&gt;;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;return&lt;/span&gt;;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;span style=&quot;color: #921f67;&quot;&gt;catch&lt;/span&gt;(Exception e ){&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;addFieldError(fieldName, object);&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;logger&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;.error(&lt;/span&gt;&quot;&amp;lt;-- validate(Object object) :&quot;&lt;span style=&quot;color: black;&quot;&gt;+e);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #921f67; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;return&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394;&quot;&gt;note:&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394;&quot;&gt;The&amp;nbsp;fieldName and&amp;nbsp;getFieldValue are implemented in superclass and are used to retrieve the name and value of the field&amp;nbsp;getting validated&amp;nbsp;respectively.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394;&quot;&gt;The addFieldError method is used to add any failed validations to the list of error to be displayed.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;-----------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394;&quot;&gt;The validators.xml is used to map the validator class with a name which will be used in the class which will request validation.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;-----------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
validators.xml&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;-----------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;?&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;xml&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;version&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;1.0&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;encoding&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;UTF-8&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #019192; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;lt;!&lt;span style=&quot;color: #509091;&quot;&gt;DOCTYPE&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;validators&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #929292;&quot;&gt;PUBLIC&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #019192; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&quot;-//OpenSymphony Group//XWork Validator Config 1.0//EN&quot;&lt;/div&gt;
&lt;div style=&quot;color: #508f73; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&quot;http://www.opensymphony.com/xwork/xwork-validator-config-1.0.dtd&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;validators&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;validator&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;phoneNumberFieldValidator&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;com.lntinfotech.office.common.PhoneNumberFieldValidator&quot;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;validators&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;-----------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #0b5394;&quot;&gt;In the below class we will be validating the phone number using the custom validator. I have removed various other fields from the class as its not necessary. For validating the field either you can define the validation at the class level as I have done below or can be done on the getter method of the field. for doing the validation at the getter method you need to define the validator just above the getter method.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;-----------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;RegistrationAction.java&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;-----------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;package&lt;/span&gt; &lt;span style=&quot;text-decoration: underline;&quot;&gt;com.lntinfotech.office.controller&lt;/span&gt;;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.apache.struts2.convention.annotation.Action;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.apache.struts2.convention.annotation.InterceptorRef;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.apache.struts2.convention.annotation.ParentPackage;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.apache.struts2.convention.annotation.Result;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.slf4j.Logger;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.slf4j.LoggerFactory;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; com.opensymphony.xwork2.ActionSupport;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; com.opensymphony.xwork2.validator.annotations.CustomValidator;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; com.opensymphony.xwork2.validator.annotations.Validations;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #777777; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
@ParentPackage&lt;span style=&quot;color: black;&quot;&gt;(value = &lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;office&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #777777;&quot;&gt;@InterceptorRef&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&quot;jsonValidationWorkflowStack&quot;&lt;span style=&quot;color: black;&quot;&gt;)&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #777777; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
@Validations&lt;span style=&quot;color: black;&quot;&gt;(&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #d9ead3;&quot;&gt;customValidators = { &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #777777;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #d9ead3;&quot;&gt;@CustomValidator&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #d9ead3;&quot;&gt;(fieldName = &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #d9ead3;&quot;&gt;&quot;phoneNo&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #d9ead3;&quot;&gt;, message = &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #d9ead3;&quot;&gt;&quot;Please enter the phone number in STD-Phone(XXX-XXXXXX) Format&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #d9ead3;&quot;&gt;, type = &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #d9ead3;&quot;&gt;&quot;phoneNumberFieldValidator&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #d9ead3;&quot;&gt;) })&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;class&lt;/span&gt; &lt;span style=&quot;text-decoration: underline;&quot;&gt;RegistrationAction&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;extends&lt;/span&gt; ActionSupport {&lt;/div&gt;
&lt;div style=&quot;color: #921f67; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;private&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;static&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;final&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;long&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;serialVersionUID&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; = 1L;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;private&lt;/span&gt; Logger &lt;span style=&quot;color: #0a30c8;&quot;&gt;logger&lt;/span&gt; = LoggerFactory.getLogger(getClass());&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;private&lt;/span&gt; String &lt;span style=&quot;color: #0a30c8;&quot;&gt;phoneNo&lt;/span&gt;;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; String getPhoneNo() {&lt;/div&gt;
&lt;div style=&quot;color: #0a30c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;phoneNo&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;void&lt;/span&gt; setPhoneNo(String phoneNo) {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;this&lt;/span&gt;.&lt;span style=&quot;color: #0a30c8;&quot;&gt;phoneNo&lt;/span&gt; = phoneNo;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #777777;&quot;&gt;@Action&lt;/span&gt;(value = &lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;/createuser&quot;&lt;/span&gt;, results = {&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #777777;&quot;&gt;@Result&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;(location = &lt;/span&gt;&quot;registrationSuccess.jsp&quot;&lt;span style=&quot;color: black;&quot;&gt;, name = &lt;/span&gt;&quot;success&quot;&lt;span style=&quot;color: black;&quot;&gt;),&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #777777;&quot;&gt;@Result&lt;/span&gt;(location = &lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;registration.jsp&quot;&lt;/span&gt;, name = &lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;input&quot;&lt;/span&gt;),&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #777777;&quot;&gt;@Result&lt;/span&gt;(location = &lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;registration.jsp&quot;&lt;/span&gt;, name = &lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;error&quot;&lt;/span&gt;) }, className = &lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;registerUser&quot;&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; String createUser() {&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;logger&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;.debug(&lt;/span&gt;&quot;--&amp;gt; createUser()&quot;&lt;span style=&quot;color: black;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&quot;success&quot;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
}&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000; font-family: Monaco; font-size: 11px;&quot;&gt;-----------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prajith-javatechnical.blogspot.com/feeds/6960580090613170357/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/05/customvalidation-using-annotation-in.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/6960580090613170357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/6960580090613170357'/><link rel='alternate' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/05/customvalidation-using-annotation-in.html' title='CustomValidation using Annotation in Struts'/><author><name>Prajith</name><uri>http://www.blogger.com/profile/07475641510583354853</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-7304608991043014862.post-3203381032818121025</id><published>2012-05-17T01:20:00.000+05:30</published><updated>2012-05-25T17:52:26.017+05:30</updated><title type='text'>Struts 2.3.3 integration with Spring 3.0.5 using Struts annotation</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span style=&quot;color: #3d85c6;&quot;&gt;An example application to integrate Struts and Spring using the struts annotation. The application is very simple, just shown the way to do the confuguration and hence not implemented variuos features given by the two framework.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6;&quot;&gt;First we will do the configuration in the Deployment discriptor to use Struts FilterDispatcher and the spring WebApplicationContext. Below is the web.xml &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #3d85c6;&quot;&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;web.xml&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;?&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;xml&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;version&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;1.0&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;encoding&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;UTF-8&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;web-app&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;starter&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;version&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;2.4&quot;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://java.sun.com/xml/ns/j2ee&quot;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns:xsi&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xsi:schemaLocation&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;display-name&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;Struts 2 - &lt;span style=&quot;text-decoration: underline;&quot;&gt;Maven&lt;/span&gt; Archetype - Starter&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;display-name&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;context-param&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;param-name&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;contextConfigLocation&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;param-name&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;param-value&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;classpath&lt;/span&gt;*:applicationContext*.&lt;span style=&quot;text-decoration: underline;&quot;&gt;xml&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;param-value&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;context-param&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&amp;lt;!-- Filters --&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;filter&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;filter-name&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;action2-cleanup&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;filter-name&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;filter-class&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;org.apache.struts2.dispatcher.ActionContextCleanUp&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;filter-class&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;filter&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;filter&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;filter-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;action2&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;filter-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;filter-class&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;org.apache.struts2.dispatcher.FilterDispatcher&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;filter-class&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;filter&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;filter-mapping&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;filter-name&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;action2-cleanup&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;filter-name&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;url-pattern&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;/*&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;url-pattern&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;filter-mapping&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;filter-mapping&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;filter-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;action2&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;filter-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;url-pattern&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;/*&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;url-pattern&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;filter-mapping&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&amp;lt;!-- Listeners --&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;listener&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;listener-class&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;org.springframework.web.context.ContextLoaderListener&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;listener-class&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;listener&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&amp;lt;!-- &lt;span style=&quot;text-decoration: underline;&quot;&gt;Servlets&lt;/span&gt; --&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;servlet&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;servlet-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;jspSupportServlet&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;servlet-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;servlet-class&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;org.apache.struts2.views.JspSupportServlet&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;servlet-class&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;load-on-startup&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;5&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;load-on-startup&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;servlet&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&amp;lt;!-- Welcome file lists --&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;welcome-file-list&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;welcome-file&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;index.jsp&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;welcome-file&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;welcome-file&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;default.jsp&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;welcome-file&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;welcome-file&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;index.html&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;welcome-file&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;welcome-file-list&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;web-app&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #45818e;&quot;&gt;now we will define the struts.xml for the basic configuration. This can be moved as per your requirment.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;struts.xml&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;div style=&quot;color: #019192; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;lt;!&lt;span style=&quot;color: #509091;&quot;&gt;DOCTYPE&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;struts&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #929292;&quot;&gt;PUBLIC&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #019192; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&quot;-//Apache Software Foundation//DTD Struts Configuration 2.3//EN&quot;&lt;/div&gt;
&lt;div style=&quot;color: #508f73; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&quot;http://struts.apache.org/dtds/struts-2.3.dtd&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;struts&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;constant&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;struts.enable.DynamicMethodInvocation&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;false&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;constant&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;struts.devMode&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;false&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;constant&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;struts.convention.result.path&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;/pages&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;constant&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;struts.convention.action.packages&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;com.lnt.struts&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;constant&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;struts.objectFactory.spring.autoWire&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;auto&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;package&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;showcase&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;extends&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;struts-default,json-default&quot;&lt;/div&gt;
&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;namespace&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;/&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;package&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;struts&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #45818e;&quot;&gt;Now we will configure the spring webapplicationcontext so that we can integrate the spring with the struts.xml&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;applicationContext.xml&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;?&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;xml&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;version&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;1.0&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;encoding&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;UTF-8&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;!&lt;/span&gt;DOCTYPE&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;beans&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #929292;&quot;&gt;PUBLIC&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #019192; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&quot;-//SPRING//DTD BEAN//EN&quot;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #508f73; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&quot;http://www.springframework.org/dtd/spring-beans.dtd&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;beans&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;default-autowire&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;autodetect&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;bean&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;helloworld&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;com.lnt.struts.Testing&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;singleton&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;false&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;bean&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;beans&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #45818e;&quot;&gt;Now we will configure the struts mapping using the annotation in the class file. In the below java class we have annotated the method. The annotation &quot;Action&quot; has been used which tells the application that&amp;nbsp; for which&amp;nbsp;url mapping which method or class has to be executed . In the below class we have defined the Action value as &quot;helloworld&quot;, so when the url &quot;/helloworld.action&quot; will be hit the application knows which method it has to execute. We have also defined few more attributes. I&amp;nbsp;mean results, which tells the application once it has executed the class as per the definition which view&amp;nbsp;it has to redirect the control. The last configuration&lt;span style=&quot;color: #cc0000;&quot;&gt; &quot;className&quot;&lt;/span&gt; is too important in the StrutsSpring application, As this attribute tells the application to look into the applicationContext of the spring for the particular bean definition defined. &lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #45818e;&quot;&gt;Please note as our application is started the url &quot;/helloworld.action&quot; will be hit, so as per the configuration we have done the control will be coming to the HelloWorldAction.java. Once the control comes here the other configuration plays their part. The configuration &lt;span style=&quot;color: #cc0000;&quot;&gt;&quot;className&quot;&lt;/span&gt; done above the method hello() tells the application to look for the name helloworld in the applicationcontext.xml.(the attribute &quot;className&quot; need not be same as url. you can give the same name you will define in the applicationContext.xml). Once the bean definition is seen the control moves to the class defined as per the applicationContext.xml. In our application the control moves to the Testing.java and executes the method hello(). This is because we have defined the configuration above the hello() method in the HelloWorldAction.java.(The controller takes the name of the method above which the configuration is defined and search and execute the same name method in the class defined by the spring bean).&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #45818e;&quot;&gt;Now&amp;nbsp;if&amp;nbsp;you dont want your spring&amp;nbsp;configuration to overwrite the method defined by the struts, you just hace to remove the configuration &lt;span style=&quot;color: #cc0000;&quot;&gt;&quot;className&quot;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #45818e;&quot;&gt;. In that case the application will execute the method above which the mapping configuration&amp;nbsp;has been defined. In our application that would be hello() method from the HelloWorldAction.java.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;HelloWorldAction .java&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;
package com.lnt.struts;&lt;br /&gt;
&lt;br /&gt;
import org.apache.struts2.convention.annotation.Action;&lt;br /&gt;
import org.apache.struts2.convention.annotation.ParentPackage;&lt;br /&gt;
import org.apache.struts2.convention.annotation.Result;&lt;br /&gt;
&lt;br /&gt;
import com.opensymphony.xwork2.ActionSupport;&lt;br /&gt;
&lt;br /&gt;
@ParentPackage(value = &quot;showcase&quot;)&lt;br /&gt;
&lt;br /&gt;
public class HelloWorldAction extends ActionSupport {&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;@Action(value=&quot;helloworld&quot;,results={@Result(location=&quot;hello.jsp&quot;,name=&quot;success&quot;),@Result(location=&quot;input.jsp&quot;,name=&quot;input&quot;),@Result(location=&quot;error.jsp&quot;,name=&quot;error&quot;)},className=&quot;helloworld&quot;)&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public String hello(){&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.out.println(&quot;inside Helloworld hello&quot;);&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;return &quot;error&quot;;&lt;br /&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;public String execute() throws Exception {&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;System.out.println(&quot;inside execute method&quot;);&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;return SUCCESS;&lt;br /&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;br /&gt;
}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6aa84f;&quot;&gt;&lt;/span&gt;&lt;span style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;Testing.java&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6aa84f;&quot;&gt;package com.lnt.struts;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6aa84f;&quot;&gt;public class Testing {&lt;br /&gt;&amp;nbsp;public String hello(){&lt;br /&gt;&amp;nbsp;&amp;nbsp;System.out.println(&quot;inside Testing hello&quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;return &quot;error&quot;;&lt;br /&gt;&amp;nbsp;}&lt;br /&gt;&lt;br /&gt;&amp;nbsp; public String execute() throws Exception {&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; System.out.println(&quot;inside Testing execute method&quot;);&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;return &quot;success&quot;;&lt;br /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&lt;br /&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6aa84f;&quot;&gt;&lt;/span&gt;&amp;nbsp;&lt;span style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #45818e;&quot;&gt;Now you may be wondering why other methods are been defined if its not used any where...... It is just to let you know how to define the same configuration for a class. For example&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #6aa84f;&quot;&gt;@ParentPackage(value = &quot;showcase&quot;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6aa84f;&quot;&gt;@Action(value=&quot;helloworld&quot;,results={@Result(location=&quot;hello.jsp&quot;,name=&quot;success&quot;),@Result(location=&quot;input.jsp&quot;,name=&quot;input&quot;),@Result(location=&quot;error.jsp&quot;,name=&quot;error&quot;)},className=&quot;helloworld&quot;)&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6aa84f;&quot;&gt;public class HelloWorldAction extends ActionSupport {&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6aa84f;&quot;&gt;// same code as above except the configuration above the method.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6aa84f;&quot;&gt;}&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #45818e;&quot;&gt;When you are defining configuration for the class the same configuration you need to put above the class declaration. Now the application will act the same way it has done for the method but instead of executing the hello() method defined in the class it will execute the execute() method of the class. This is because we have exetended our class to ActionSupport. Now as per the configuration of the &lt;span style=&quot;color: #cc0000;&quot;&gt;&quot;className&quot;&lt;/span&gt;, the application will decide which method to execute from which class the same way it does for the method configuration.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;error.jsp&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #ca7454;&quot;&gt;&amp;lt;%@&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;page&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;language&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;java&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;contentType&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;text/html; charset=ISO-8859-1&quot;&lt;/div&gt;
&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;pageEncoding&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;ISO-8859-1&quot;&lt;/span&gt;&lt;span style=&quot;color: #ca7454;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #019192; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;lt;!&lt;span style=&quot;color: #509091;&quot;&gt;DOCTYPE&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;html&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #929292;&quot;&gt;PUBLIC&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #508f73;&quot;&gt;&quot;http://www.w3.org/TR/html4/loose.dtd&quot;&lt;/span&gt;&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;html&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;head&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;meta&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;http-equiv&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;Content-Type&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;content&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;text/html; charset=ISO-8859-1&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;Insert title here&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;head&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;body&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
error&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;body&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;html&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #6aa84f;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;input.jsp&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ca7454;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ca7454;&quot;&gt;&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #ca7454;&quot;&gt;&amp;lt;%@&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;page&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;language&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;java&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;contentType&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;text/html; charset=ISO-8859-1&quot;&lt;/div&gt;
&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;pageEncoding&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;ISO-8859-1&quot;&lt;/span&gt;&lt;span style=&quot;color: #ca7454;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #019192; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;lt;!&lt;span style=&quot;color: #509091;&quot;&gt;DOCTYPE&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;html&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #929292;&quot;&gt;PUBLIC&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #508f73;&quot;&gt;&quot;http://www.w3.org/TR/html4/loose.dtd&quot;&lt;/span&gt;&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;html&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;head&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;meta&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;http-equiv&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;Content-Type&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;content&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;text/html; charset=ISO-8859-1&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;Insert title here&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;head&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;body&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
input&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;body&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;html&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;hello.jsp&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #ca7454;&quot;&gt;&amp;lt;%@&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;page&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;language&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;java&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;contentType&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;text/html; charset=ISO-8859-1&quot;&lt;/div&gt;
&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;pageEncoding&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;ISO-8859-1&quot;&lt;/span&gt;&lt;span style=&quot;color: #ca7454;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #019192; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;lt;!&lt;span style=&quot;color: #509091;&quot;&gt;DOCTYPE&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;html&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #929292;&quot;&gt;PUBLIC&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #508f73;&quot;&gt;&quot;http://www.w3.org/TR/html4/loose.dtd&quot;&lt;/span&gt;&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;html&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;head&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;meta&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;http-equiv&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;Content-Type&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;content&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;text/html; charset=ISO-8859-1&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;Insert title here&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;head&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;body&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
Hello&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;body&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;html&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: red;&quot;&gt;index.jsp&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6aa84f;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #ca7454;&quot;&gt;&amp;lt;%&lt;/span&gt; response.sendRedirect(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;helloworld.action&quot;&lt;/span&gt;); &lt;span style=&quot;color: #ca7454;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #45818e;&quot;&gt;the index.jsp can be avoided by configuring the welcome tag in the web.xml to directly pointing helloworld.action url.&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;Project Sturcture&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmfSkIUzBe9M31KycweuuYq0EmFHkq9bhw0WosdZzKfsfZW9EJLxpIyzReaSwKpjjX4ORn5ewkmVo5rgEwOELtc-o5BbcnfXh_-6C-1tWg43dw0AnGQDBOaFuQWEfdymyR8VgQAMVpDBT5/s1600/springstrutsexample.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;400&quot; kba=&quot;true&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjmfSkIUzBe9M31KycweuuYq0EmFHkq9bhw0WosdZzKfsfZW9EJLxpIyzReaSwKpjjX4ORn5ewkmVo5rgEwOELtc-o5BbcnfXh_-6C-1tWg43dw0AnGQDBOaFuQWEfdymyR8VgQAMVpDBT5/s400/springstrutsexample.jpg&quot; width=&quot;238&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;library required&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #45818e;&quot;&gt;this jar list is for various other needs. Whole jars may not be needed for this application&lt;/span&gt;&lt;br /&gt;
&lt;ol style=&quot;text-align: left;&quot;&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;antlr-2.7.6.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;aopalliance-1.0.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;asm-3.3.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;asm-commons-3.3.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;asm-tree-3.3.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;c3p0-0.9.1.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;commons-collections-3.1.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;commons-fileupload-1.1.1.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;commons-io-2.0.1.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;commons-lang3-3.1.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;commons-logging-1.0.4.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;dom4j-1.6.1.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;dwr-1.1-beta-3.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;freemarker-2.3.19.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;hibernate-c3p0-3.6.3.Final.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;hibernate-commons-annotations-3.2.0.Final.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;hibernate-core-3.6.3.Final.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;hibernate-jpa-2.0-api-1.0.0.Final.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;javassist-3.11.0.GA.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;jta-1.1.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;log4j-1.2.16.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;mysql-connector-java-5.1.9.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;ognl-3.0.5.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;sitemesh-2.4.2.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;slf4j-api-1.6.4.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;slf4j-jcl-1.6.4.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;slf4j-log4j12-1.6.4.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;spring-2.5.6.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;spring-aop-3.0.5.RELEASE.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;spring-asm-3.0.5.RELEASE.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;spring-beans-3.0.5.RELEASE.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;spring-context-3.0.5.RELEASE.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;spring-core-3.0.5.RELEASE.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;spring-expression-3.0.5.RELEASE.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;spring-web-3.0.5.RELEASE.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;struts2-config-browser-plugin-2.3.3.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;struts2-convention-plugin-2.3.3.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;struts2-core-2.3.3.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;struts2-sitemesh-plugin-2.3.3.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;struts2-spring-plugin-2.3.3.jar&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span style=&quot;color: #6aa84f;&quot;&gt;xwork-core-2.3.3.jar&lt;/span&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;pom.xml configuration for the above project:&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;this pom.xml is configured to use Struts 2.3.3 , Spring 3.0.5 , Hibernate 3.6.3 and mysql 5.1&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;?&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;xml&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;version&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;1.0&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;encoding&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;UTF-8&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;project&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://maven.apache.org/POM/4.0.0&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns:xsi&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xsi:schemaLocation&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;modelVersion&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;4.0.0&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;modelVersion&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;groupId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;com.lnt&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;groupId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;artifactId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;struts&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;artifactId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;StrutsSpringproject&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;packaging&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;war&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;packaging&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;version&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;1.0.0-BUILD-SNAPSHOT&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;version&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;properties&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;struts2.version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;2.3.3&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;struts2.version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;properties&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;dependencies&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&amp;lt;!-- &lt;span style=&quot;text-decoration: underline;&quot;&gt;Junit&lt;/span&gt; --&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;groupId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;junit&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;groupId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;artifactId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;junit&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;artifactId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;3.8.1&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;scope&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;test&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;scope&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&amp;lt;!-- Struts 2 --&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;org.apache.struts&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;artifactId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;struts2-core&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;artifactId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;version&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;${struts2.version}&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;version&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;org.apache.struts&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;artifactId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;struts2-&lt;span style=&quot;text-decoration: underline;&quot;&gt;sitemesh&lt;/span&gt;-&lt;span style=&quot;text-decoration: underline;&quot;&gt;plugin&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;artifactId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;version&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;${struts2.version}&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;version&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;org.apache.struts&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;artifactId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;struts2-spring-&lt;span style=&quot;text-decoration: underline;&quot;&gt;plugin&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;artifactId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;version&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;${struts2.version}&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;version&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;org.apache.struts&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;artifactId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;struts2-&lt;span style=&quot;text-decoration: underline;&quot;&gt;config&lt;/span&gt;-browser-&lt;span style=&quot;text-decoration: underline;&quot;&gt;plugin&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;artifactId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;version&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;${struts2.version}&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;version&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;org.apache.struts&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;artifactId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;struts2-convention-&lt;span style=&quot;text-decoration: underline;&quot;&gt;plugin&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;artifactId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;version&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;${struts2.version}&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;version&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&amp;lt;!-- &lt;span style=&quot;text-decoration: underline;&quot;&gt;Servlet&lt;/span&gt; &amp;amp; &lt;span style=&quot;text-decoration: underline;&quot;&gt;Jsp&lt;/span&gt; --&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;javax.servlet&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;artifactId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;servlet&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;api&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;artifactId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;2.4&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;scope&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;provided&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;scope&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;javax.servlet&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;artifactId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;jsp&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;-&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;api&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;artifactId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;2.0&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;scope&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;provided&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;scope&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&amp;lt;!-- &lt;span style=&quot;text-decoration: underline;&quot;&gt;Jakarta&lt;/span&gt; Commons --&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;commons-&lt;span style=&quot;text-decoration: underline;&quot;&gt;fileupload&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;artifactId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;commons-&lt;span style=&quot;text-decoration: underline;&quot;&gt;fileupload&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;artifactId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;1.1.1&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&amp;lt;!-- &lt;span style=&quot;text-decoration: underline;&quot;&gt;Dwr&lt;/span&gt; --&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;uk.ltd.getahead&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;artifactId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;dwr&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;artifactId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;1.1-beta-3&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;org.hibernate&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;artifactId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;hibernate&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;-core&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;artifactId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;version&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;3.6.3.Final&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;version&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&amp;lt;!-- &lt;span style=&quot;text-decoration: underline;&quot;&gt;Hibernate&lt;/span&gt; c3p0 connection pool --&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;org.hibernate&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;artifactId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;hibernate&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;-c3p0&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;artifactId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;version&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;3.6.3.Final&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;version&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&amp;lt;!-- log4j dependency --&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;groupId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;org.slf4j&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;groupId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;artifactId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;slf4j-log4j12&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;artifactId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;1.6.4&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;groupId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;org.slf4j&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;groupId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;artifactId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;slf4j-&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;jcl&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;artifactId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;1.6.4&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;groupId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;org.slf4j&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;groupId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;artifactId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;slf4j-&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;api&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;artifactId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;1.6.4&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;org.springframework&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;artifactId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;spring&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;artifactId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;2.5.6&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&amp;lt;!-- MySQL database driver --&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;groupId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;mysql&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;groupId&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;artifactId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;mysql&lt;/span&gt;-connector-java&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;artifactId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;5.1.9&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;dependency&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&amp;lt;!-- &lt;span style=&quot;text-decoration: underline;&quot;&gt;Strutsjquery&lt;/span&gt; &lt;span style=&quot;text-decoration: underline;&quot;&gt;plugin&lt;/span&gt; dependency start --&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&amp;lt;!-- &amp;lt;dependency&amp;gt; &amp;lt;groupId&amp;gt;com.jgeppert.struts2.&lt;span style=&quot;text-decoration: underline;&quot;&gt;jquery&lt;/span&gt;&amp;lt;/groupId&amp;gt; &amp;lt;artifactId&amp;gt;struts2-&lt;span style=&quot;text-decoration: underline;&quot;&gt;jquery&lt;/span&gt;-&lt;span style=&quot;text-decoration: underline;&quot;&gt;plugin&lt;/span&gt;&amp;lt;/artifactId&amp;gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;version&amp;gt;3.3.1&amp;lt;/version&amp;gt; &amp;lt;/dependency&amp;gt; &amp;lt;dependency&amp;gt; &amp;lt;groupId&amp;gt;com.jgeppert.struts2.&lt;span style=&quot;text-decoration: underline;&quot;&gt;jquery&lt;/span&gt;&amp;lt;/groupId&amp;gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;artifactId&amp;gt;struts2-&lt;span style=&quot;text-decoration: underline;&quot;&gt;jquery&lt;/span&gt;-grid-&lt;span style=&quot;text-decoration: underline;&quot;&gt;plugin&lt;/span&gt;&amp;lt;/artifactId&amp;gt; &amp;lt;version&amp;gt;3.3.1&amp;lt;/version&amp;gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;/dependency&amp;gt; &amp;lt;dependency&amp;gt; &amp;lt;groupId&amp;gt;com.jgeppert.struts2.&lt;span style=&quot;text-decoration: underline;&quot;&gt;jquery&lt;/span&gt;&amp;lt;/groupId&amp;gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;artifactId&amp;gt;struts2-&lt;span style=&quot;text-decoration: underline;&quot;&gt;jquery&lt;/span&gt;-&lt;span style=&quot;text-decoration: underline;&quot;&gt;richtext&lt;/span&gt;-&lt;span style=&quot;text-decoration: underline;&quot;&gt;plugin&lt;/span&gt;&amp;lt;/artifactId&amp;gt; &amp;lt;version&amp;gt;3.3.1&amp;lt;/version&amp;gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;/dependency&amp;gt; &amp;lt;dependency&amp;gt; &amp;lt;groupId&amp;gt;com.jgeppert.struts2.&lt;span style=&quot;text-decoration: underline;&quot;&gt;jquery&lt;/span&gt;&amp;lt;/groupId&amp;gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;artifactId&amp;gt;struts2-&lt;span style=&quot;text-decoration: underline;&quot;&gt;jquery&lt;/span&gt;-tree-&lt;span style=&quot;text-decoration: underline;&quot;&gt;plugin&lt;/span&gt;&amp;lt;/artifactId&amp;gt; &amp;lt;version&amp;gt;3.3.1&amp;lt;/version&amp;gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;/dependency&amp;gt; &amp;lt;dependency&amp;gt; &amp;lt;groupId&amp;gt;com.jgeppert.struts2.&lt;span style=&quot;text-decoration: underline;&quot;&gt;jquery&lt;/span&gt;&amp;lt;/groupId&amp;gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;artifactId&amp;gt;struts2-&lt;span style=&quot;text-decoration: underline;&quot;&gt;jquery&lt;/span&gt;-mobile-&lt;span style=&quot;text-decoration: underline;&quot;&gt;plugin&lt;/span&gt;&amp;lt;/artifactId&amp;gt; &amp;lt;version&amp;gt;3.3.1&amp;lt;/version&amp;gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&amp;lt;/dependency&amp;gt; --&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;dependencies&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;build&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;plugins&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;plugin&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;artifactId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;maven&lt;/span&gt;-eclipse-&lt;span style=&quot;text-decoration: underline;&quot;&gt;plugin&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;artifactId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;2.9&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;configuration&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;additionalProjectnatures&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;projectnature&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;org.springframework.ide.eclipse.core.springnature&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;projectnature&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;additionalProjectnatures&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;additionalBuildcommands&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;      &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;buildcommand&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;org.springframework.ide.eclipse.core.springbuilder&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;buildcommand&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;additionalBuildcommands&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;downloadSources&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;downloadSources&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;downloadJavadocs&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;downloadJavadocs&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;configuration&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;plugin&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;plugin&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;org.apache.maven.plugins&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;artifactId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;maven&lt;/span&gt;-compiler-&lt;span style=&quot;text-decoration: underline;&quot;&gt;plugin&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;artifactId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;2.3.2&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;configuration&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;source&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;1.6&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;source&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;target&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;1.6&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;target&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;compilerArgument&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;-Xlint:all&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;compilerArgument&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;showWarnings&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;showWarnings&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;showDeprecation&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;showDeprecation&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;configuration&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;plugin&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;plugin&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;org.codehaus.mojo&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;groupId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;artifactId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;exec&lt;/span&gt;-&lt;span style=&quot;text-decoration: underline;&quot;&gt;maven&lt;/span&gt;-&lt;span style=&quot;text-decoration: underline;&quot;&gt;plugin&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;artifactId&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;1.2.1&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;version&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;configuration&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;mainClass&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;org.test.int1.Main&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;mainClass&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;configuration&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;plugin&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;plugins&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;build&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;project&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;project structure as a maven project&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjH68fp7rXXayk54oE1TMDSeTfbe-TgG0to7jonYXDjewFvJZB5Xf1FMX6FF0CWB6UNgeqlKiBbtbmmcUL3t30Y0qyPmOvJzhcALeDRvvJpxnw5eDzN8MtZfJiO33YNc5lwLPrVF1Kha1xq/s1600/Screen+shot+2012-05-17+at+12.02.52+PM.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjH68fp7rXXayk54oE1TMDSeTfbe-TgG0to7jonYXDjewFvJZB5Xf1FMX6FF0CWB6UNgeqlKiBbtbmmcUL3t30Y0qyPmOvJzhcALeDRvvJpxnw5eDzN8MtZfJiO33YNc5lwLPrVF1Kha1xq/s1600/Screen+shot+2012-05-17+at+12.02.52+PM.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prajith-javatechnical.blogspot.com/feeds/3203381032818121025/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/05/spring-233-integration-with-spring-305.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/3203381032818121025'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/3203381032818121025'/><link rel='alternate' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/05/spring-233-integration-with-spring-305.html' title='Struts 2.3.3 integration with Spring 3.0.5 using Struts annotation'/><author><name>Prajith</name><uri>http://www.blogger.com/profile/07475641510583354853</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/AVvXsEjmfSkIUzBe9M31KycweuuYq0EmFHkq9bhw0WosdZzKfsfZW9EJLxpIyzReaSwKpjjX4ORn5ewkmVo5rgEwOELtc-o5BbcnfXh_-6C-1tWg43dw0AnGQDBOaFuQWEfdymyR8VgQAMVpDBT5/s72-c/springstrutsexample.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7304608991043014862.post-1143986897065390204</id><published>2012-04-30T17:52:00.000+05:30</published><updated>2012-04-30T17:52:04.951+05:30</updated><title type='text'>Configure HTTPS in local server(Tomcat)</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;The below instructions explain how to configure Tomcat for SSL/TLS. 
After following below instructions, users may access web applications securely through port 8443. &amp;nbsp;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;The instructions show how to generate a self-signed certificate 
that browsers can use to authenticate the server.  
Consequently, browsers will not be able verify the authenticity of the certificate 
because it will not have been signed by a trusted third party 
whose certificates are pre-installed in the client system or added to the client system but still&amp;nbsp;you can use HTTPS without doing any of the above procedures, 
but your users will need to accept an un-trusted certificate each time they visit your site.  
&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;h3&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;Create Keystore with Self-Signed Certificate&lt;/span&gt;&lt;/h3&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;You need to generate a self-signed certificate and store it 
in a file called &lt;/span&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;keystore&lt;/span&gt;&lt;/i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; under the &lt;/span&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;conf&lt;/span&gt;&lt;/i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; folder within the Tomcat.&amp;nbsp;To do this, run the keytool command as shown below,
leaving the storepass and keypass values both equal to &lt;/span&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;changeit&lt;/span&gt;&lt;/i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;.
&lt;/span&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;This command may take a long time to complete, so be patient.&lt;/span&gt;&lt;/i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;
After generating the keystore file, move it into the conf folder.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;
To run the command, you need to be at an operating system command prompt. &amp;nbsp;The keytool command is part of the Java SDK.
If your system only contains the Java JRE, 
then you will need to install the JDK to get access to this command.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000; font-size: 19px; font-weight: bold;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000; font-size: 19px; font-weight: bold;&quot;&gt;Running keytool under Windows&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;


&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f4cccc;&quot;&gt;keytool -genkey ^
        -keystore keystore ^
        -alias tomcat ^
        -keyalg RSA ^
        -keysize 2048 ^
        -dname CN=localhost ^
        -storepass changeit ^
        -keypass changeit&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;If you get a message that the command is unknown, then you need to provide the
full pathname to the keytool executable 
(or add the bin folder in your jdk installation to the path variable in your environment).
&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;The keystore file will be created at the level where you are running the above command. eg. if you are running the command from C:/ then search the file in c:/ itself. This file then you need to copy inside the tomcat conf folder.&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;h3&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;Running keytool under Linux and Mac OS X&lt;/span&gt;&lt;/h3&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f4cccc;&quot;&gt;keytool -genkey \
        -keystore keystore \
        -alias tomcat \
        -keyalg RSA \
        -keysize 2048 \
        -dname CN=localhost \
        -storepass changeit \
        -keypass changeit&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f4cccc;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;The &lt;/span&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;CN&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; variable in the certificate should contain the domain name of your server.Because you are running Tomcat and your browser from the same machine,&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;setting the&lt;/span&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;CN&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; variable to &lt;/span&gt;&lt;b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;localhost&lt;/span&gt;&lt;/b&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; as done above is OK.&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;However, if you wanted to access Tomcat from a remote machine, &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;you would need to replace localhost with the domain name of the machine on which Tomcat is running. &lt;/span&gt;&lt;/pre&gt;
&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;Once you have moved the file keystore under the apache-tomcat-7.0.23/conf folder then you need to modify the server.xml file under the apache-tomcat-7.0.23/conf folder. Now edit the file and uncomment the Connector element with the port 8443. for your connivence i am pasting the commented code in my server.xml file which you need to uncomment it.&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f4cccc;&quot;&gt;   &amp;lt;!--
    &amp;lt;Connector port=&quot;8443&quot; protocol=&quot;HTTP/1.1&quot; SSLEnabled=&quot;true&quot;
               maxThreads=&quot;150&quot; scheme=&quot;https&quot; secure=&quot;true&quot;
               clientAuth=&quot;false&quot; sslProtocol=&quot;TLS&quot; /&amp;gt;
    --&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;then add the below attribute to the above element &lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;keystoreFile=&quot;conf/keystore&quot;&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;The following is an example Connector element that sets up HTTPS on port 8443.&lt;/span&gt;&lt;/pre&gt;
&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;
&lt;/span&gt;&lt;pre&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f4cccc;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;&amp;lt;Connector port=&quot;8443&quot;
           maxThreads=&quot;200&quot; 
           minSpareThreads=&quot;5&quot; 
           maxSpareThreads=&quot;75&quot;
           enableLookups=&quot;true&quot; 
           disableUploadTimeout=&quot;true&quot;
           acceptCount=&quot;100&quot;
           scheme=&quot;https&quot;
           secure=&quot;true&quot;
           SSLEnabled=&quot;true&quot;
           clientAuth=&quot;false&quot;
           sslProtocol=&quot;TLS&quot;
           keystorePass=&quot;changeit&quot;
           keystoreFile=&quot;conf/keystore&quot; /&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;If you are running Windows Vista, regular users may not have the privileges
to modify server.xml.  In this case, you need to edit server.xml as adminstrator.
To do this, right click on wordpad in the Windows start menu and select &lt;/span&gt;&lt;i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;run as adminstrator&lt;/span&gt;&lt;/i&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;once you are done the above procedure then you need to run your application and test it using 8443 port.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;a href=&quot;https://localhost:8443/publisher/home&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;https://localhost:8443/&lt;/span&gt;&lt;/a&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;&amp;lt;ServletContest&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prajith-javatechnical.blogspot.com/feeds/1143986897065390204/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/04/configure-https-in-local-servertomcat.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/1143986897065390204'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/1143986897065390204'/><link rel='alternate' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/04/configure-https-in-local-servertomcat.html' title='Configure HTTPS in local server(Tomcat)'/><author><name>Prajith</name><uri>http://www.blogger.com/profile/07475641510583354853</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-7304608991043014862.post-1201548616393394676</id><published>2012-04-30T12:51:00.000+05:30</published><updated>2012-04-30T17:54:10.505+05:30</updated><title type='text'>A Simple News Feed Application</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #76a5af;&quot;&gt;We will be using RSS for achieving the simple news feed application. People interpret the acronym RSS in several ways.  
For example, you may hear that RSS stands for Rich Site Summary, 
or Really Simple Syndication, or even RDF Site Summary.  
Most people simply refer to the technology as RSS. RSS&amp;nbsp;is an XML-based format that allows the &lt;/span&gt;&lt;em&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #76a5af;&quot;&gt;syndication&lt;/span&gt;&lt;/em&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #76a5af;&quot;&gt;
of lists of hyperlinks, along with other information, or &lt;/span&gt;&lt;em&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #76a5af;&quot;&gt;metadata&lt;/span&gt;&lt;/em&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #76a5af;&quot;&gt;,
that helps viewers decide whether they want to follow the link.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #76a5af;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #76a5af;&quot;&gt;RSS allows peoples’ computers to fetch and understand the information, so
that all of the lists they’re interested in can be tracked and personalized
for them. It is a format that’s intended for use by computers on behalf of
people, rather than being directly presented to them (like HTML). To enable this, a Web site will make a &lt;/span&gt;&lt;em&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #76a5af;&quot;&gt;feed&lt;/span&gt;&lt;/em&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #76a5af;&quot;&gt;, or channel,
available, just like any other file or resource on the server. Once a feed is
available, computers can regularly fetch the file to get the most recent
items on the list.&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #76a5af;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #76a5af;&quot;&gt;&amp;nbsp;FEED&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #76a5af;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #76a5af;&quot;&gt;A feed contains a list of &lt;/span&gt;&lt;em&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #76a5af;&quot;&gt;items&lt;/span&gt;&lt;/em&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #76a5af;&quot;&gt; or &lt;/span&gt;&lt;em&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #76a5af;&quot;&gt;entries&lt;/span&gt;&lt;/em&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #76a5af;&quot;&gt;, each of which is 
identified by a link. Each item can have any amount of other metadata associated 
with it as well. A simple example of feed&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;pre class=&quot;example&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ea9999;&quot;&gt;&amp;lt;item&amp;gt;
  &amp;lt;title&amp;gt;test&amp;lt;/title&amp;gt;
  &amp;lt;link&amp;gt;any site which provide data in RSS&amp;lt;/link&amp;gt;
  &amp;lt;description&amp;gt;description goes here&amp;lt;/description&amp;gt;
&amp;lt;/item&amp;gt;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;example&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;pre class=&quot;example&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6fa8dc;&quot;&gt;---------------------------------------------------------------&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;example&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6fa8dc;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;example&quot;&gt;Flow of information for RSS&lt;/pre&gt;
&lt;pre class=&quot;example&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6fa8dc;&quot;&gt;---------------------------------------------------------------&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;example&quot;&gt;&lt;/pre&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3Ny5ED94SjWPHbWZrAZwfd7DzRNSXPOR8vdt7ZcNtGi6CDB4usHJInoadQvTl9D8bIDYq2kNn9WDUmUx80mS7BXDAwOdka9HsY3LAb4McY5XesYvc4OUAa9RcF93zx3wAY-T6-l0xnHho/s1600/Flow_of_information_for_RSS.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;155&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi3Ny5ED94SjWPHbWZrAZwfd7DzRNSXPOR8vdt7ZcNtGi6CDB4usHJInoadQvTl9D8bIDYq2kNn9WDUmUx80mS7BXDAwOdka9HsY3LAb4McY5XesYvc4OUAa9RcF93zx3wAY-T6-l0xnHho/s320/Flow_of_information_for_RSS.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;pre class=&quot;example&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;pre class=&quot;example&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6fa8dc;&quot;&gt;---------------------------------------------------------------&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;example&quot;&gt;Create the simple news feed application&lt;/pre&gt;
&lt;pre class=&quot;example&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;-----------------------------------------&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;example&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;example&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: red;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;example&quot;&gt;Create a simple dynamic web project using the eclipse. Now create a new servlet by name RSSServlet&lt;/pre&gt;
&lt;pre class=&quot;example&quot;&gt;&lt;/pre&gt;
&lt;pre class=&quot;example&quot;&gt;&lt;/pre&gt;
&lt;pre class=&quot;example&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Times; white-space: normal;&quot;&gt;&lt;pre class=&quot;example&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;RSSServlet&lt;/pre&gt;
&lt;pre class=&quot;example&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/pre&gt;
&lt;pre class=&quot;example&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;example&quot;&gt;&lt;/pre&gt;
&lt;pre class=&quot;example&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #76a5af;&quot;&gt;package com.lnt.web;
 
import java.io.IOException;
import java.net.URL;

import javax.servlet.RequestDispatcher;
import javax.servlet.ServletConfig;
import javax.servlet.ServletContext;
import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.log4j.Logger;

import com.sun.syndication.feed.synd.SyndFeed;
import com.sun.syndication.io.FeedException;
import com.sun.syndication.io.SyndFeedInput;
import com.sun.syndication.io.XmlReader;

public class RSSServlet extends HttpServlet {

 private Logger logger = Logger.getLogger(this.getClass());
 private RequestDispatcher homeJsp;
 
 @Override
 public void init(ServletConfig config) throws ServletException {
  ServletContext context = config.getServletContext();
  homeJsp = context.getRequestDispatcher(&quot;/WEB-INF/jsp/home.jsp&quot;);
 }

 @Override
 protected void doGet(HttpServletRequest req, HttpServletResponse resp)
   throws ServletException, IOException {
  logger.debug(&quot;Retrieving yahoo news feed&quot;);
  URL url = new URL(&quot;http://rss.news.yahoo.com/rss/tech&quot;);
  SyndFeedInput syndFeedInput = new SyndFeedInput();
  SyndFeed syndFeed = null;
  XmlReader xmlReader = new XmlReader(url);
  try {
   syndFeed = syndFeedInput.build(xmlReader);
  } catch (IllegalArgumentException e) {
   logger.error(&quot;&quot;, e);
  } catch (FeedException e) {
   logger.error(&quot;&quot;, e);
  }
  logger.debug(&quot;Forwarding to home.jsp&quot;);
  req.setAttribute(&quot;syndFeed&quot;, syndFeed);
  homeJsp.forward(req, resp);
 }
}
&lt;/span&gt;&lt;/pre&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #76a5af;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #76a5af;&quot;&gt;you need to add the below mentioned library to your project.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #76a5af;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #76a5af;&quot;&gt;1. jdom-1.1.3.jar&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #76a5af;&quot;&gt;2. log4j-1.2.14.jar&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #76a5af;&quot;&gt;3. rome-1.0.jar&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;pre class=&quot;example&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6fa8dc;&quot;&gt;---------------------------------------------------------------&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Create a jsp inside the WEB-INF/jsp folder of the project.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
home.jsp&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #ca7454;&quot;&gt;&amp;lt;%@&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;page&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;language&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;java&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;contentType&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;text/html; charset=ISO-8859-1&quot;&lt;/div&gt;
&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;pageEncoding&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;ISO-8859-1&quot;&lt;/span&gt;&lt;span style=&quot;color: #ca7454;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #ca7454;&quot;&gt;&amp;lt;%@&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;page&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;import&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;com.sun.syndication.feed.synd.SyndFeed&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #ca7454;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #ca7454;&quot;&gt;&amp;lt;%@&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;page&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;import&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;com.sun.syndication.feed.synd.SyndEntry&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #ca7454;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #ca7454;&quot;&gt;&amp;lt;%@&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;page&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;import&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;java.util.Iterator&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #ca7454;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;jsp:useBean&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;syndFeed&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;scope&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;request&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;&quot;SyndFeed&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;html&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;head&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;website&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;head&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;body&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;h1&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;Home&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;h1&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;h2&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ca7454;&quot;&gt;&amp;lt;%=&lt;/span&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;syndFeed&lt;/span&gt;.getTitle()&lt;span style=&quot;color: #ca7454;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;h2&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;ul&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #ca7454;&quot;&gt;&amp;lt;%&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;text-decoration: underline;&quot;&gt;Iterator&lt;/span&gt; it = &lt;span style=&quot;text-decoration: underline;&quot;&gt;syndFeed&lt;/span&gt;.getEntries().iterator();&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #921f67;&quot;&gt;while&lt;/span&gt; (it.hasNext())&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; SyndEntry entry = (SyndEntry) it.next();&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #ca7454;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;a&lt;/span&gt; &lt;span style=&quot;color: #922790;&quot;&gt;href&lt;/span&gt;=&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #ca7454;&quot;&gt;&amp;lt;%=&lt;/span&gt;entry.getLink()&lt;span style=&quot;color: #ca7454;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #ca7454;&quot;&gt;&amp;lt;%=&lt;/span&gt;entry.getTitle()&lt;span style=&quot;color: #ca7454;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;li&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #ca7454;&quot;&gt;&amp;lt;%&lt;/span&gt; } &lt;span style=&quot;color: #ca7454;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;ul&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;body&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;html&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;Some times the above jsp may show error as undefined type Syndfeed, please ignore the same.&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
In the deployment Descriptor add the mapping as below.&lt;/div&gt;
&lt;div&gt;
&lt;pre class=&quot;example&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6fa8dc;&quot;&gt;---------------------------------------------------------------&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;example&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6fa8dc;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;example&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6fa8dc;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;div&gt;
web.xml&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;?&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;xml&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;version&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;1.0&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;encoding&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;UTF-8&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;web-app&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns:xsi&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://java.sun.com/xml/ns/javaee&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns:web&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xsi:schemaLocation&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;WebApp_ID&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;version&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;3.0&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;display-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;RSStest&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;display-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;servlet&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;servlet-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;home&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;servlet-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;servlet-class&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;com.lnt.web.RSSServlet&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;servlet-class&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;servlet&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;servlet-mapping&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;servlet-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;home&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;servlet-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;url-pattern&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;/home&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;url-pattern&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;servlet-mapping&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;web-app&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-family: Times; font-size: small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;pre class=&quot;example&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6fa8dc;&quot;&gt;---------------------------------------------------------------&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;example&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6fa8dc;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;example&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6fa8dc;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;Required library&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black; font-family: Times; font-size: small;&quot;&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;div&gt;
1. jdom-1.1.3.jar&lt;/div&gt;
&lt;div&gt;
2. log4j-1.2.14.jar&lt;/div&gt;
&lt;div&gt;
3. rome-1.0.jar&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: black;&quot;&gt;&lt;pre class=&quot;example&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6fa8dc;&quot;&gt;---------------------------------------------------------------&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;example&quot; style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #6fa8dc;&quot;&gt;
&lt;/span&gt;&lt;/pre&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
now run the project you should be able to see the news links in your page.&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prajith-javatechnical.blogspot.com/feeds/1201548616393394676/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/04/simple-news-feed-application.html#comment-form' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/1201548616393394676'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/1201548616393394676'/><link rel='alternate' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/04/simple-news-feed-application.html' title='A Simple News Feed Application'/><author><name>Prajith</name><uri>http://www.blogger.com/profile/07475641510583354853</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/AVvXsEi3Ny5ED94SjWPHbWZrAZwfd7DzRNSXPOR8vdt7ZcNtGi6CDB4usHJInoadQvTl9D8bIDYq2kNn9WDUmUx80mS7BXDAwOdka9HsY3LAb4McY5XesYvc4OUAa9RcF93zx3wAY-T6-l0xnHho/s72-c/Flow_of_information_for_RSS.jpg" height="72" width="72"/><thr:total>4</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7304608991043014862.post-1681149798999463973</id><published>2012-04-23T18:42:00.004+05:30</published><updated>2012-04-24T12:52:55.291+05:30</updated><title type='text'>Spring hibernate integration</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3d85c6;&quot;&gt;In Spring the hibernate integration becomes easy and you need not to create separate hibernate.cfg.xml for the project. You can configure the hibernate settings in the spring web application context itself. Please find the simple project using the spring hibernate configuration.&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;web.xml&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;?&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;xml&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;version&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;1.0&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;encoding&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;UTF-8&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;web-app&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns:xsi&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://java.sun.com/xml/ns/javaee&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns:web&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xsi:schemaLocation&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;WebApp_ID&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;version&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;3.0&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;display-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;CaptionContest&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;display-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;welcome-file-list&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;welcome-file&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;/home.html&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;welcome-file&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;welcome-file-list&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;servlet&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;servlet-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;SpringHibernate&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;servlet-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;servlet-class&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;org.springframework.web.servlet.DispatcherServlet&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;servlet-class&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;load-on-startup&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;load-on-startup&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;servlet&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;servlet-mapping&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;servlet-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;SpringHibernate&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;servlet-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;url-pattern&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;*.&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;url-pattern&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;servlet-mapping&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;session-config&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;session-timeout&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;30&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;session-timeout&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;session-config&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;web-app&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;----------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;SpringHibernate-servlet.xml&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;Please replace your username, password&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;and database name&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&amp;nbsp;of the database in the below file in the respective positions.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;?&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;xml&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;version&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;1.0&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;encoding&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;UTF-8&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;beans&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://www.springframework.org/schema/beans&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns:xsi&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns:dwr&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://www.directwebremoting.org/schema/spring-dwr&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xsi:schemaLocation&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://www.springframework.org/schema/beans&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; http://www.springframework.org/schema/beans/spring-beans-2.5.xsd&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; http://www.directwebremoting.org/schema/spring-dwr&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; http://www.directwebremoting.org/schema/spring-dwr-3.0.xsd&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;bean&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;viewResolver&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;org.springframework.web.servlet.view.InternalResourceViewResolver&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;viewClass&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;org.springframework.web.servlet.view.JstlView&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;prefix&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;/jsp/&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;property&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;suffix&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;.jsp&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;property&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;bean&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;bean&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;myDataSource&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;org.springframework.jdbc.datasource.DriverManagerDataSource&quot;&lt;/div&gt;
&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;destroy-method&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;close&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;driverClassName&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;com.mysql.jdbc.Driver&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;url&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;jdbc:mysql://localhost:3306/YourDatabasename&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;username&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;YourUsername&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;password&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;YourPassword&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;bean&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;bean&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;mySessionFactory&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;dataSource&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;ref&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;myDataSource&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;annotatedClasses&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;list&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;com.lnt.spring.User&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;list&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;property&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;hibernateProperties&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;props&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;prop&lt;/span&gt; &lt;span style=&quot;color: #922790;&quot;&gt;key&lt;/span&gt;=&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;hibernate.dialect&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;org.hibernate.dialect.MySQLDialect&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;prop&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;prop&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;key&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;hibernate.show_sql&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;prop&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;prop&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;key&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;hibernate.hbm2ddl.auto&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;validate&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;prop&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;prop&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;key&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;hibernate.c3p0.minPoolSize&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;5&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;prop&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;prop&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;key&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;hibernate.c3p0.maxPoolSize&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;20&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;prop&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;prop&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;key&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;hibernate.c3p0.timeout&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;600&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;prop&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;prop&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;key&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;hibernate.c3p0.max_statement&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;50&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;prop&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;prop&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;key&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;hibernate.c3p0.testConnectionOnCheckout&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;false&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;prop&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;props&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;property&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;bean&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;bean&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;user&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;com.lnt.spring.User&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;bean&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;/home.html&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;com.lnt.spring.TestController&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;user&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;ref&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;user&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;testDAO&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;ref&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;testDAO&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;bean&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;bean&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;testDAO&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;com.lnt.spring.TestDAO&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;sessionFactory&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;ref&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;mySessionFactory&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;bean&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;beans&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;-------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;TestController.java&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;package&lt;/span&gt; com.lnt.spring;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; java.util.List;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; java.util.ListIterator;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; javax.servlet.http.HttpServletRequest;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; javax.servlet.http.HttpServletResponse;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.springframework.web.servlet.ModelAndView;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.springframework.web.servlet.mvc.multiaction.MultiActionController;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;class&lt;/span&gt; TestController &lt;span style=&quot;color: #921f67;&quot;&gt;extends&lt;/span&gt; MultiActionController{&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;private&lt;/span&gt; User &lt;span style=&quot;color: #0a30c8;&quot;&gt;user&lt;/span&gt;;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;private&lt;/span&gt; TestDAO &lt;span style=&quot;color: #0a30c8;&quot;&gt;testDAO&lt;/span&gt;;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;void&lt;/span&gt; setTestDAO(TestDAO testDAO) {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;this&lt;/span&gt;.&lt;span style=&quot;color: #0a30c8;&quot;&gt;testDAO&lt;/span&gt; = testDAO;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;void&lt;/span&gt; setUser(User user) {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;this&lt;/span&gt;.&lt;span style=&quot;color: #0a30c8;&quot;&gt;user&lt;/span&gt; = user;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; ModelAndView home(HttpServletRequest request,HttpServletResponse response) &lt;span style=&quot;color: #921f67;&quot;&gt;throws&lt;/span&gt; Exception{&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;List&amp;lt;User&amp;gt; list=&lt;span style=&quot;color: #0a30c8;&quot;&gt;testDAO&lt;/span&gt;.loginRequest(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;prajith&quot;&lt;/span&gt;, &lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;prajith&quot;&lt;/span&gt;);&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ListIterator&amp;lt;User&amp;gt; itr=list.listIterator();&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.&lt;span style=&quot;color: #0a30c8;&quot;&gt;out&lt;/span&gt;.println(list.get(0).getFname());&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.&lt;span style=&quot;color: #0a30c8;&quot;&gt;out&lt;/span&gt;.println(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;list size :&quot;&lt;/span&gt;+list.size());&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;while&lt;/span&gt;(itr.hasNext()){&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;user&lt;/span&gt;=itr.next();&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;System.&lt;span style=&quot;color: #0a30c8;&quot;&gt;out&lt;/span&gt;.println(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;user fname&amp;nbsp; :&quot;&lt;/span&gt;+&lt;span style=&quot;color: #0a30c8;&quot;&gt;user&lt;/span&gt;.getFname());&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;new&lt;/span&gt; ModelAndView(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;home&quot;&lt;/span&gt;,&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;user&quot;&lt;/span&gt;,&lt;span style=&quot;color: #0a30c8;&quot;&gt;user&lt;/span&gt;.getFname());&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
}&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
------------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;TestDAO.java&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;package&lt;/span&gt; com.lnt.spring;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; java.util.List;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.hibernate.SessionFactory;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.springframework.orm.hibernate3.HibernateTemplate;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;class&lt;/span&gt; TestDAO {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;private&lt;/span&gt; HibernateTemplate &lt;span style=&quot;color: #0a30c8;&quot;&gt;hibernateTemplate&lt;/span&gt;;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;void&lt;/span&gt; setSessionFactory(SessionFactory sessionFactory){&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;this&lt;/span&gt;.&lt;span style=&quot;color: #0a30c8;&quot;&gt;hibernateTemplate&lt;/span&gt; = &lt;span style=&quot;color: #921f67;&quot;&gt;new&lt;/span&gt; HibernateTemplate(sessionFactory);&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; List&amp;lt;User&amp;gt; loginRequest(String userName, String password) &lt;span style=&quot;color: #921f67;&quot;&gt;throws&lt;/span&gt; Exception{&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;List&amp;lt;User&amp;gt; list=&lt;span style=&quot;color: #0a30c8; text-decoration: underline;&quot;&gt;hibernateTemplate&lt;/span&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;.find(&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb; text-decoration: underline;&quot;&gt;&quot;from User u where u.username = ? and u.password=? &quot;&lt;/span&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;,&lt;/span&gt;&lt;span style=&quot;color: #921f67; text-decoration: underline;&quot;&gt;new&lt;/span&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt; Object[] {userName,password})&lt;/span&gt;;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.&lt;span style=&quot;color: #0a30c8;&quot;&gt;out&lt;/span&gt;.println(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;list size :&quot;&lt;/span&gt;+list.size());&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;return&lt;/span&gt; list;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
}&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;-------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;User.java&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
package com.lnt.spring;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
import java.io.Serializable;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
import javax.persistence.*;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
/**&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;* The persistent class for the user database table.&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;*&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;*/&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
@Entity&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
public class User implements Serializable {&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;private static final long serialVersionUID = 1L;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;@Id&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;@GeneratedValue(strategy=GenerationType.AUTO)&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;private int id;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;private String fname;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;private String password;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;private String username;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;public User() {&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public int getId() {&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;return this.id;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void setId(int id) {&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;this.id = id;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public String getFname() {&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;return this.fname;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void setFname(String fname) {&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;this.fname = fname;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public String getPassword() {&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;return this.password;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void setPassword(String password) {&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;this.password = password;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public String getUsername() {&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;return this.username;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void setUsername(String username) {&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;this.username = username;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
}&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
----------------------------------------------------------------------------------------------------&lt;/div&gt;
&lt;div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #cc0000;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;home.jsp&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;color: #3b3ffb; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #ca7454;&quot;&gt;&amp;lt;%@&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;page&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;language&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;java&quot;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;contentType&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;text/html; charset=ISO-8859-1&quot;&lt;/div&gt;
&lt;div style=&quot;color: #922790; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp;&amp;nbsp;&lt;/span&gt;pageEncoding&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;ISO-8859-1&quot;&lt;/span&gt;&lt;span style=&quot;color: #ca7454;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #019192; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&amp;lt;!&lt;span style=&quot;color: #509091;&quot;&gt;DOCTYPE&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;html&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #929292;&quot;&gt;PUBLIC&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #508f73;&quot;&gt;&quot;http://www.w3.org/TR/html4/loose.dtd&quot;&lt;/span&gt;&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;html&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;head&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;meta&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;http-equiv&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;Content-Type&quot;&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;content&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;text/html; charset=ISO-8859-1&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;Insert title here&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;head&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;body&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;h1&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;The user First Name &quot;${user}&quot; is coming form the database using spring&amp;nbsp;&lt;span style=&quot;text-decoration: underline;&quot;&gt;hibernate&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;h1&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;body&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;html&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;--------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;Please find the project structure of the project.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBxVN-qE0cxwrGPh0lYlG9dJTwfQR-HffxdRuvk-WSkR5er0dYp_1fJvGm3fkMm6x_K7T2ljn1vNxcl88Vfqigah09pb-bjzdDJn_pqbx7J06kp8d283gN0NRg4Q_IJGUOGtfd79CauOZ3/s1600/projectstructure.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjBxVN-qE0cxwrGPh0lYlG9dJTwfQR-HffxdRuvk-WSkR5er0dYp_1fJvGm3fkMm6x_K7T2ljn1vNxcl88Vfqigah09pb-bjzdDJn_pqbx7J06kp8d283gN0NRg4Q_IJGUOGtfd79CauOZ3/s320/projectstructure.png&quot; width=&quot;156&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;--------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;Please note the required jar list.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;1. antlr-2.7.6.jar&lt;br /&gt;
2 .commons-collections-3.1.jar&lt;br /&gt;
3. commons-logging.jar&lt;br /&gt;
4. dom4j-1.6.1.jar&lt;br /&gt;
5. hibernate-jpa-2.0-api-1.0.0.Final.jar&lt;br /&gt;
6. hibernate3.jar&lt;br /&gt;
7. javassist-3.9.0.GA.jar&lt;br /&gt;
8. jcl-over-slf4j-1.6.4-sources.jar&lt;br /&gt;
9. jstl.jar&lt;br /&gt;
10. jta-1.1.jar&lt;br /&gt;
11. mysql-connector-java-5.1.18-bin.jar&lt;br /&gt;
12. slf4j-api-1.6.4.jar&lt;br /&gt;
13. slf4j-jcl-1.6.4.jar&lt;br /&gt;
14. slf4j-log4j12-1.6.4-sources.jar&lt;br /&gt;
15. spring-webmvc.jar&lt;br /&gt;
16. spring.jar&lt;br /&gt;
17. standard.jar&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e; font-family: Times;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prajith-javatechnical.blogspot.com/feeds/1681149798999463973/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/04/spring-hibernate-integration.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/1681149798999463973'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/1681149798999463973'/><link rel='alternate' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/04/spring-hibernate-integration.html' title='Spring hibernate integration'/><author><name>Prajith</name><uri>http://www.blogger.com/profile/07475641510583354853</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/AVvXsEjBxVN-qE0cxwrGPh0lYlG9dJTwfQR-HffxdRuvk-WSkR5er0dYp_1fJvGm3fkMm6x_K7T2ljn1vNxcl88Vfqigah09pb-bjzdDJn_pqbx7J06kp8d283gN0NRg4Q_IJGUOGtfd79CauOZ3/s72-c/projectstructure.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7304608991043014862.post-327777904511424191</id><published>2012-04-21T15:44:00.003+05:30</published><updated>2012-04-24T12:55:41.450+05:30</updated><title type='text'>Properties file usage in Spring framework</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
Create a property file with the required messages and keep the file under the project class path. below is a sample property file.&lt;br /&gt;
&lt;br /&gt;
default-message.properties&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;menu.one=&lt;/span&gt;testing&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;property&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;file&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
report.mainmenu.one=&lt;span style=&quot;color: #3b3ffb;&quot;&gt;Report&lt;/span&gt; &lt;span style=&quot;color: #3b3ffb;&quot;&gt;one&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
report.mainmenu.two=&lt;span style=&quot;color: #3b3ffb;&quot;&gt;Report&lt;/span&gt; &lt;span style=&quot;color: #3b3ffb;&quot;&gt;two&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
report.mainmenu.three=&lt;span style=&quot;color: #3b3ffb;&quot;&gt;Report&lt;/span&gt; &lt;span style=&quot;color: #3b3ffb;&quot;&gt;three&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
report.mainmenu.four=&lt;span style=&quot;color: #3b3ffb;&quot;&gt;Report&lt;/span&gt; &lt;span style=&quot;color: #3b3ffb;&quot;&gt;four&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
report.mainmenu.five=&lt;span style=&quot;color: #3b3ffb;&quot;&gt;Report&lt;/span&gt; &lt;span style=&quot;color: #3b3ffb;&quot;&gt;five&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #3b3ffb;&quot;&gt;---------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3b3ffb;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3b3ffb;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3b3ffb;&quot;&gt;In your web application context xml specify the bean as below&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3b3ffb;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3b3ffb;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3b3ffb;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3b3ffb;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3b3ffb;&quot;&gt;&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;bean&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;messageSource&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;org.springframework.context.support.ReloadableResourceBundleMessageSource&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;property&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;name&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&quot;basename&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;value&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&quot;/WEB-INF/classes/default-messages&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;/&lt;/span&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;bean&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;When ever you want to use the property value in the backend you can use the Spring injection and inject the property value to the class. Example as below.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;bean&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;/propertyFile.html&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;com.lnt.rg.web.ReportController&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;template&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;ref&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;basicTemplate&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;property&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;name&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&quot;messages&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;ref&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&quot;messageSource&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;bean&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;---------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;Usage of the property value in the class. example as below.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #509091;&quot;&gt;ReportController.java&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #509091;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #509091;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
package com.lnt.rg.web;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
import javax.servlet.http.HttpServletRequest;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
import javax.servlet.http.HttpServletResponse;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
import org.apache.commons.logging.Log;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
import org.apache.commons.logging.LogFactory;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
import org.springframework.context.MessageSource;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
import org.springframework.web.servlet.ModelAndView;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
import org.springframework.web.servlet.mvc.multiaction.MultiActionController;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
import com.lnt.rg.common.Template;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
public class ReportController extends MultiActionController {&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;protected final Log logger=LogFactory.getLog(getClass());&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;private Template template;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;private MessageSource messages;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;public void setMessages(MessageSource messages) {&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;this.messages = messages;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;}&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public void setTemplate(Template template) {&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;this.template = template;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;public ModelAndView propertyFile(HttpServletRequest request, HttpServletResponse response){&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;if(messages!=null){&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;String str=messages.getMessage(&quot;menu.one&quot;, null, null);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;System.out.println(&quot;str &amp;nbsp; &amp;nbsp;::::&quot;+str);&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}else{&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;System.out.println(&quot;messageSourc is null&quot;);&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;return new ModelAndView(&quot;test&quot;);&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
}&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;As shown above the we can use the property value in backend(in java code).&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;------------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;Getting the value from the property file to the frontend JSP. below is the code.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;test.jsp&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #ca7454;&quot;&gt;&amp;lt;%@&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;page&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;language&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;java&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;contentType&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;text/html; charset=ISO-8859-1&quot;&lt;/div&gt;
&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;pageEncoding&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;ISO-8859-1&quot;&lt;/span&gt;&lt;span style=&quot;color: #ca7454;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #ca7454;&quot;&gt;&amp;lt;%@&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;taglib&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;prefix&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;spring&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;uri&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://www.springframework.org/tags&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #ca7454;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #ca7454;&quot;&gt;&amp;lt;%@&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;taglib&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;prefix&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;c&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;uri&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://java.sun.com/jsp/jstl/core&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #ca7454;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #019192; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;lt;!&lt;span style=&quot;color: #509091;&quot;&gt;DOCTYPE&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;html&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #929292;&quot;&gt;PUBLIC&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #508f73;&quot;&gt;&quot;http://www.w3.org/TR/html4/loose.dtd&quot;&lt;/span&gt;&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;html&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;head&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;meta&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;http-equiv&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;Content-Type&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;content&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;text/html; charset=ISO-8859-1&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;Insert title here&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;head&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;body&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;u&gt;&lt;br /&gt;&lt;/u&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;h1&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;spring:message&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;code&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;&quot;menu.one&quot;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: yellow;&quot;&gt;/&amp;gt;&lt;/span&gt;&amp;lt;/&lt;/span&gt;h1&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;body&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;html&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prajith-javatechnical.blogspot.com/feeds/327777904511424191/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/04/property-file-usage-in-spring-framework.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/327777904511424191'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/327777904511424191'/><link rel='alternate' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/04/property-file-usage-in-spring-framework.html' title='Properties file usage in Spring framework'/><author><name>Prajith</name><uri>http://www.blogger.com/profile/07475641510583354853</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-7304608991043014862.post-413521944757686282</id><published>2012-04-21T12:07:00.000+05:30</published><updated>2012-04-24T12:53:59.723+05:30</updated><title type='text'>Displaytags1.2 integration with spring</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #ca7454;&quot;&gt;Below is an example to implement display tag in jsp.&amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #ca7454;&quot;&gt;-----------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ca7454;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #ca7454;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&amp;lt;%@&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;taglib&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;uri&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&quot;http://displaytag.sf.net&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;prefix&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&quot;display&quot;&lt;/span&gt;&lt;span style=&quot;color: #ca7454;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;html&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;head&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;meta&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;http-equiv&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;Content-Type&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;content&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;text/html; charset=ISO-8859-1&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;All Cartoon&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;head&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;body&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;form&lt;/span&gt; &lt;span style=&quot;color: #922790;&quot;&gt;method&lt;/span&gt;=&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;post&quot;&lt;/span&gt; &lt;span style=&quot;color: #922790;&quot;&gt;action&lt;/span&gt;=&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #ca7454;&quot;&gt;&amp;lt;%=&lt;/span&gt;request.getContextPath() &lt;span style=&quot;color: #ca7454;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;/publishCartoon.html&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;display:table&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;uid&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;cartoon&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;export&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: lime;&quot;&gt;&quot;true&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;sessionScope.cartoonList&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;defaultsort&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;1&quot;&lt;/div&gt;
&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;defaultorder&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;ascending&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;pagesize&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;3&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;requestURI&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;/prePublishCartoon.html&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;display:setProperty&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;export.pdf&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;true&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;display:caption&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;Cartoon Details&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;display:caption&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;display:column&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;ID&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;input&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;radio&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;id&quot;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;=&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;c:out&lt;/span&gt; &lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;=&quot;${cartoon.id}&quot;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;c:if&lt;/span&gt; &lt;span style=&quot;color: #922790;&quot;&gt;test&lt;/span&gt;=&quot;${param.id == test.id &lt;span style=&quot;color: #921f67;&quot;&gt;and &lt;/span&gt;param.method != &#39;Save&#39;}&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;c:if&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;style&lt;span style=&quot;color: black;&quot;&gt;=&quot;&lt;/span&gt;margin&lt;span style=&quot;color: black;&quot;&gt;: &lt;/span&gt;&lt;span style=&quot;color: #3b39e3;&quot;&gt;0 0 0 4px&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&quot; &lt;/span&gt;onclick&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;radio(this)&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;display:column&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;display:column&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;image_Name&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;Image Name&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;display:column&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;published&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;Published(Y/N)&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;display:column&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;publishDate&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;Published Date&quot;&lt;/div&gt;
&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;sortable&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;true&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;display:column&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;upload_Date&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;Upload Date&quot;&lt;/div&gt;
&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;sortable&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;true&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;display:column&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;user.fname&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;Artist&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;display:column&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;Cartoon&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;autolink&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;true&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;img&lt;/span&gt; &lt;span style=&quot;color: #922790;&quot;&gt;src&lt;/span&gt;=&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;&lt;/span&gt;&lt;span style=&quot;color: #ca7454;&quot;&gt;&amp;lt;%=&lt;/span&gt;request.getContextPath() &lt;span style=&quot;color: #ca7454;&quot;&gt;%&amp;gt;&lt;/span&gt;${cartoon.file_path}&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;alt&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;image&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;height&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;145&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;width&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;145&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;display:column&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;display:table&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;div&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;div&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;div&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;input&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;type&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;submit&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;publish&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;div&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;form&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;body&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;html&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
Including the taglib is very important in the jsp. Without which the display tag wont work.&lt;br /&gt;
before redirecting your application to the above jsp it is mandatory to keep your list ready and pass to the jsp. You can pass the list via&lt;br /&gt;
&lt;br /&gt;
&lt;ul&gt;
&lt;li&gt;pageScope&lt;/li&gt;
&lt;li&gt;requestScope (default)&lt;/li&gt;
&lt;li&gt;sessionScope&lt;/li&gt;
&lt;li&gt;applicationScope&lt;/li&gt;
&lt;/ul&gt;
&lt;div&gt;
In the above example i have used sessionScope.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
-----------------------------------------------------------------------------------------------------------------&lt;/div&gt;
&lt;div&gt;
To enable the export functionality add export=&quot;true&quot; inside the tag &amp;lt;display:table&amp;gt;. Also create one property file named displaytag.properties and put the below content.&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
displaytag.properties&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
sort.amount=&lt;span style=&quot;color: #3b3ffb;&quot;&gt;list&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
paging.banner.placement=&lt;span style=&quot;color: #3b3ffb;&quot;&gt;top&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
export.types=&lt;span style=&quot;color: #3b3ffb; text-decoration: underline;&quot;&gt;csv&lt;/span&gt; &lt;span style=&quot;color: #3b3ffb;&quot;&gt;excel&lt;/span&gt; &lt;span style=&quot;color: #3b3ffb; text-decoration: underline;&quot;&gt;xml&lt;/span&gt; &lt;span style=&quot;color: #3b3ffb; text-decoration: underline;&quot;&gt;pdf&lt;/span&gt; &lt;span style=&quot;color: #3b3ffb; text-decoration: underline;&quot;&gt;rtf&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
export.excel=&lt;span style=&quot;color: #3b3ffb;&quot;&gt;true&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
export.csv=&lt;span style=&quot;color: #3b3ffb;&quot;&gt;true&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
export.xml=&lt;span style=&quot;color: #3b3ffb;&quot;&gt;true&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
export.pdf=&lt;span style=&quot;color: #3b3ffb;&quot;&gt;true&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
export.rtf=&lt;span style=&quot;color: #3b3ffb;&quot;&gt;true&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;export.excel.class=&lt;/span&gt;org.displaytag.export.excel.DefaultHssfExportView&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;export.pdf.class=&lt;/span&gt;org.displaytag.export.DefaultPdfExportView&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;export.rtf.class=&lt;/span&gt;org.displaytag.export.DefaultRtfExportView&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
export.excel.filename=&lt;span style=&quot;color: #3b3ffb;&quot;&gt;Cartoon.xls&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
export.pdf.filename=&lt;span style=&quot;color: #3b3ffb;&quot;&gt;Cartoon.pdf&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
export.xml.filename=&lt;span style=&quot;color: #3b3ffb;&quot;&gt;Cartoon.xml&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
export.csv.filename=&lt;span style=&quot;color: #3b3ffb;&quot;&gt;Cartoon.csv&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Monaco; font-size: 11px;&quot;&gt;export.rtf.filename=&lt;span style=&quot;color: #3b3ffb;&quot;&gt;Cartoon.rtf&lt;/span&gt;&lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;br /&gt;
Error&lt;br /&gt;
-----------------------------------------------------------------------------------------------------------------&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
SEVERE: Servlet.service() for servlet jsp threw exception&lt;/div&gt;
&lt;div style=&quot;color: #052090; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;java.lang.ClassNotFoundException&lt;/span&gt;&lt;span style=&quot;color: #ff2a1a;&quot;&gt;: &lt;/span&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;org.apache.commons.lang.UnhandledException&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.loader.WebappClassLoader.loadClass(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;WebappClassLoader.java:1688&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.loader.WebappClassLoader.loadClass(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;WebappClassLoader.java:1533&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at java.lang.Class.getDeclaredConstructors0(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Native Method&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at java.lang.Class.privateGetDeclaredConstructors(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Class.java:2389&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at java.lang.Class.getConstructor0(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Class.java:2699&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at java.lang.Class.newInstance0(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Class.java:326&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at java.lang.Class.newInstance(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Class.java:308&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at java.beans.Introspector.instantiate(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Introspector.java:1449&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at java.beans.Introspector.findExplicitBeanInfo(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Introspector.java:431&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at java.beans.Introspector.&amp;lt;init&amp;gt;(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Introspector.java:380&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at java.beans.Introspector.getBeanInfo(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Introspector.java:167&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Generator$TagHandlerInfo.&amp;lt;init&amp;gt;(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Generator.java:3944&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Generator$GenerateVisitor.getTagHandlerInfo(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Generator.java:2212&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Generator.java:1640&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Node$CustomTag.accept(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Node.java:1539&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Node$Nodes.visit(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Node.java:2376&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Node$Visitor.visitBody(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Node.java:2428&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Generator.java:1770&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Node$CustomTag.accept(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Node.java:1539&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Node$Nodes.visit(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Node.java:2376&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Node$Visitor.visitBody(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Node.java:2428&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Node$Visitor.visit(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Node.java:2434&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Node$Root.accept(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Node.java:475&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Node$Nodes.visit(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Node.java:2376&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Generator.generate(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Generator.java:3490&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Compiler.generateJava(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Compiler.java:250&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Compiler.compile(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Compiler.java:373&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Compiler.compile(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Compiler.java:353&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Compiler.compile(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Compiler.java:340&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.JspCompilationContext.compile(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;JspCompilationContext.java:646&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.servlet.JspServletWrapper.service(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;JspServletWrapper.java:357&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.servlet.JspServlet.serviceJspFile(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;JspServlet.java:390&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.servlet.JspServlet.service(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;JspServlet.java:334&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at javax.servlet.http.HttpServlet.service(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;HttpServlet.java:722&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ApplicationFilterChain.java:305&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ApplicationFilterChain.java:210&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.sitemesh.webapp.contentfilter.ContentBufferingFilter.doFilter(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ContentBufferingFilter.java:112&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.sitemesh.config.ConfigurableSiteMeshFilter.doFilter(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ConfigurableSiteMeshFilter.java:163&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ApplicationFilterChain.java:243&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ApplicationFilterChain.java:210&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.ApplicationDispatcher.invoke(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ApplicationDispatcher.java:684&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.ApplicationDispatcher.processRequest(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ApplicationDispatcher.java:471&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.ApplicationDispatcher.doForward(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ApplicationDispatcher.java:402&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.ApplicationDispatcher.forward(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ApplicationDispatcher.java:329&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;InternalResourceView.java:240&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.springframework.web.servlet.view.AbstractView.render(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;AbstractView.java:258&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.springframework.web.servlet.DispatcherServlet.render(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;DispatcherServlet.java:1174&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.springframework.web.servlet.DispatcherServlet.doDispatch(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;DispatcherServlet.java:901&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.springframework.web.servlet.DispatcherServlet.doService(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;DispatcherServlet.java:809&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.springframework.web.servlet.FrameworkServlet.processRequest(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;FrameworkServlet.java:571&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.springframework.web.servlet.FrameworkServlet.doGet(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;FrameworkServlet.java:501&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at javax.servlet.http.HttpServlet.service(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;HttpServlet.java:621&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at javax.servlet.http.HttpServlet.service(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;HttpServlet.java:722&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ApplicationFilterChain.java:305&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ApplicationFilterChain.java:210&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.sitemesh.webapp.contentfilter.ContentBufferingFilter.bufferAndPostProcess(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ContentBufferingFilter.java:169&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.sitemesh.webapp.contentfilter.ContentBufferingFilter.doFilter(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ContentBufferingFilter.java:126&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.sitemesh.config.ConfigurableSiteMeshFilter.doFilter(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ConfigurableSiteMeshFilter.java:163&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ApplicationFilterChain.java:243&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ApplicationFilterChain.java:210&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.StandardWrapperValve.invoke(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;StandardWrapperValve.java:224&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.StandardContextValve.invoke(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;StandardContextValve.java:169&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.authenticator.AuthenticatorBase.invoke(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;AuthenticatorBase.java:472&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.StandardHostValve.invoke(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;StandardHostValve.java:168&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.valves.ErrorReportValve.invoke(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ErrorReportValve.java:98&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.valves.AccessLogValve.invoke(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;AccessLogValve.java:928&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.StandardEngineValve.invoke(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;StandardEngineValve.java:118&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.connector.CoyoteAdapter.service(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;CoyoteAdapter.java:407&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.coyote.http11.AbstractHttp11Processor.process(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;AbstractHttp11Processor.java:987&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;AbstractProtocol.java:539&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;JIoEndpoint.java:300&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ThreadPoolExecutor.java:886&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ThreadPoolExecutor.java:908&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at java.lang.Thread.run(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Thread.java:680&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
Apr 19, 2012 5:56:31 PM org.apache.catalina.core.StandardWrapperValve invoke&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
SEVERE: Servlet.service() for servlet [captionContest] in context with path [/CaptionContest] threw exception [java.lang.NoClassDefFoundError: org/apache/commons/lang/UnhandledException] with root cause&lt;/div&gt;
&lt;div style=&quot;color: #052090; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;java.lang.ClassNotFoundException&lt;/span&gt;&lt;span style=&quot;color: #ff2a1a;&quot;&gt;: &lt;/span&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;org.apache.commons.lang.UnhandledException&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.loader.WebappClassLoader.loadClass(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;WebappClassLoader.java:1688&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.loader.WebappClassLoader.loadClass(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;WebappClassLoader.java:1533&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at java.lang.Class.getDeclaredConstructors0(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Native Method&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at java.lang.Class.privateGetDeclaredConstructors(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Class.java:2389&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at java.lang.Class.getConstructor0(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Class.java:2699&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at java.lang.Class.newInstance0(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Class.java:326&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at java.lang.Class.newInstance(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Class.java:308&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at java.beans.Introspector.instantiate(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Introspector.java:1449&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at java.beans.Introspector.findExplicitBeanInfo(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Introspector.java:431&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at java.beans.Introspector.&amp;lt;init&amp;gt;(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Introspector.java:380&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at java.beans.Introspector.getBeanInfo(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Introspector.java:167&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Generator$TagHandlerInfo.&amp;lt;init&amp;gt;(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Generator.java:3944&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Generator$GenerateVisitor.getTagHandlerInfo(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Generator.java:2212&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Generator.java:1640&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Node$CustomTag.accept(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Node.java:1539&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Node$Nodes.visit(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Node.java:2376&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Node$Visitor.visitBody(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Node.java:2428&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Generator$GenerateVisitor.visit(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Generator.java:1770&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Node$CustomTag.accept(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Node.java:1539&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Node$Nodes.visit(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Node.java:2376&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Node$Visitor.visitBody(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Node.java:2428&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Node$Visitor.visit(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Node.java:2434&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Node$Root.accept(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Node.java:475&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Node$Nodes.visit(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Node.java:2376&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Generator.generate(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Generator.java:3490&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Compiler.generateJava(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Compiler.java:250&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Compiler.compile(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Compiler.java:373&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Compiler.compile(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Compiler.java:353&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.compiler.Compiler.compile(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Compiler.java:340&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.JspCompilationContext.compile(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;JspCompilationContext.java:646&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.servlet.JspServletWrapper.service(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;JspServletWrapper.java:357&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.servlet.JspServlet.serviceJspFile(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;JspServlet.java:390&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.jasper.servlet.JspServlet.service(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;JspServlet.java:334&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at javax.servlet.http.HttpServlet.service(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;HttpServlet.java:722&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ApplicationFilterChain.java:305&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ApplicationFilterChain.java:210&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.sitemesh.webapp.contentfilter.ContentBufferingFilter.doFilter(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ContentBufferingFilter.java:112&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.sitemesh.config.ConfigurableSiteMeshFilter.doFilter(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ConfigurableSiteMeshFilter.java:163&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ApplicationFilterChain.java:243&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ApplicationFilterChain.java:210&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.ApplicationDispatcher.invoke(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ApplicationDispatcher.java:684&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.ApplicationDispatcher.processRequest(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ApplicationDispatcher.java:471&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.ApplicationDispatcher.doForward(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ApplicationDispatcher.java:402&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.ApplicationDispatcher.forward(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ApplicationDispatcher.java:329&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.springframework.web.servlet.view.InternalResourceView.renderMergedOutputModel(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;InternalResourceView.java:240&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.springframework.web.servlet.view.AbstractView.render(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;AbstractView.java:258&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.springframework.web.servlet.DispatcherServlet.render(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;DispatcherServlet.java:1174&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.springframework.web.servlet.DispatcherServlet.doDispatch(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;DispatcherServlet.java:901&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.springframework.web.servlet.DispatcherServlet.doService(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;DispatcherServlet.java:809&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.springframework.web.servlet.FrameworkServlet.processRequest(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;FrameworkServlet.java:571&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.springframework.web.servlet.FrameworkServlet.doGet(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;FrameworkServlet.java:501&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at javax.servlet.http.HttpServlet.service(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;HttpServlet.java:621&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at javax.servlet.http.HttpServlet.service(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;HttpServlet.java:722&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ApplicationFilterChain.java:305&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ApplicationFilterChain.java:210&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.sitemesh.webapp.contentfilter.ContentBufferingFilter.bufferAndPostProcess(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ContentBufferingFilter.java:169&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.sitemesh.webapp.contentfilter.ContentBufferingFilter.doFilter(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ContentBufferingFilter.java:126&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.sitemesh.config.ConfigurableSiteMeshFilter.doFilter(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ConfigurableSiteMeshFilter.java:163&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ApplicationFilterChain.java:243&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.ApplicationFilterChain.doFilter(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ApplicationFilterChain.java:210&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.StandardWrapperValve.invoke(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;StandardWrapperValve.java:224&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.StandardContextValve.invoke(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;StandardContextValve.java:169&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.authenticator.AuthenticatorBase.invoke(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;AuthenticatorBase.java:472&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.StandardHostValve.invoke(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;StandardHostValve.java:168&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.valves.ErrorReportValve.invoke(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ErrorReportValve.java:98&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.valves.AccessLogValve.invoke(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;AccessLogValve.java:928&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.core.StandardEngineValve.invoke(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;StandardEngineValve.java:118&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.catalina.connector.CoyoteAdapter.service(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;CoyoteAdapter.java:407&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.coyote.http11.AbstractHttp11Processor.process(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;AbstractHttp11Processor.java:987&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;AbstractProtocol.java:539&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at org.apache.tomcat.util.net.JIoEndpoint$SocketProcessor.run(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;JIoEndpoint.java:300&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ThreadPoolExecutor.java:886&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at java.util.concurrent.ThreadPoolExecutor$Worker.run(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;ThreadPoolExecutor.java:908&lt;/span&gt;)&lt;/div&gt;
&lt;div style=&quot;color: #ff2a1a; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;at java.lang.Thread.run(&lt;span style=&quot;color: #052090; text-decoration: underline;&quot;&gt;Thread.java:680&lt;/span&gt;)&lt;/div&gt;
&lt;div&gt;
---------------------------------------------------------------------------------------------------------&lt;br /&gt;
If you are getting similar error as above, then the&amp;nbsp;two jars are missing:&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
1. commons-lang.jar&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
2. commons-beanutils.jar&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
---------------------------------------------------------------------------------------------------------&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
Required Jar&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
-------------------------------&lt;/div&gt;
&lt;div style=&quot;margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;/div&gt;
&lt;ul&gt;
&lt;li&gt;commons-logging.jar&lt;/li&gt;
&lt;li&gt;commons-lang.jar&lt;/li&gt;
&lt;li&gt;commons-collections.jar&lt;/li&gt;
&lt;li&gt;commons-beanutils.jar&lt;/li&gt;
&lt;li&gt;log4j.jar&lt;/li&gt;
&lt;li&gt;displaytag-1.2.jar&lt;/li&gt;
&lt;li&gt;displaytag-export-poi-1.2.jar(Used to export the table in csv, xml and excel.)&lt;/li&gt;
&lt;li&gt;&lt;div&gt;
displaytag-portlet-1.2.jar&lt;/div&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;br /&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prajith-javatechnical.blogspot.com/feeds/413521944757686282/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/04/displaytags12-integration-with-spring.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/413521944757686282'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/413521944757686282'/><link rel='alternate' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/04/displaytags12-integration-with-spring.html' title='Displaytags1.2 integration with spring'/><author><name>Prajith</name><uri>http://www.blogger.com/profile/07475641510583354853</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-7304608991043014862.post-4308186302189357360</id><published>2012-04-10T14:42:00.002+05:30</published><updated>2012-04-30T20:37:23.433+05:30</updated><title type='text'>Using PropertyEditorSupport</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;text-align: left;&quot;&gt;
Your class can be extended to&amp;nbsp;java.beans.PropertyEditorSupport&amp;nbsp;class to convert the datatype of the variable to any other datatype or object. For example you have a user bean class defined as below.&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Monaco; font-size: 11px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Monaco; font-size: 11px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Monaco; font-size: 11px;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Monaco; font-size: 11px;&quot;&gt;&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
User.java&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #921f67; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
public&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;class&lt;span style=&quot;color: black;&quot;&gt; User {&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #921f67; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;private&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;double&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;private&lt;/span&gt; String &lt;span style=&quot;color: #0a30c8;&quot;&gt;fname&lt;/span&gt;;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;private&lt;/span&gt; UserType &lt;span style=&quot;color: #0a30c8;&quot;&gt;userType&lt;/span&gt;;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;double&lt;/span&gt; getId() {&lt;/div&gt;
&lt;div style=&quot;color: #921f67; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;return&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;color: #921f67; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;public&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;void&lt;span style=&quot;color: black;&quot;&gt; setId(&lt;/span&gt;double&lt;span style=&quot;color: black;&quot;&gt; id) {&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;this&lt;/span&gt;.&lt;span style=&quot;color: #0a30c8;&quot;&gt;id&lt;/span&gt; = id;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; String getFname() {&lt;/div&gt;
&lt;div style=&quot;color: #921f67; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;return&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;fname&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;void&lt;/span&gt; setFname(String fname) {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;this&lt;/span&gt;.&lt;span style=&quot;color: #0a30c8;&quot;&gt;fname&lt;/span&gt; = fname;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; UserType getUserType() {&lt;/div&gt;
&lt;div style=&quot;color: #0a30c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;userType&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;void&lt;/span&gt; setUserType(UserType userType) {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;this&lt;/span&gt;.&lt;span style=&quot;color: #0a30c8;&quot;&gt;userType&lt;/span&gt; = userType;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
}&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
As you can see, the user class have a field userType which is a object (related to another POJO class UserType) and in case if you want the user to enter the details from front end and enter it in the database it wont be possible. As the userType field may be in any other datatype other than UserType object. So you need to specify how to convert the data to userType. Please find the code for the UserType bean below.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
UserType.java&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;class&lt;/span&gt; UserType {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #921f67; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;private&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;double&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;user_type_id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;private&lt;/span&gt; String &lt;span style=&quot;color: #0a30c8;&quot;&gt;user_Type&lt;/span&gt;;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; UserType(&lt;span style=&quot;color: #921f67;&quot;&gt;double&lt;/span&gt; user_type_id) {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;super&lt;/span&gt;();&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;this&lt;/span&gt;.&lt;span style=&quot;color: #0a30c8;&quot;&gt;user_type_id&lt;/span&gt; = user_type_id;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; UserType() {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;super&lt;/span&gt;();&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;double&lt;/span&gt; getUser_type_id() {&lt;/div&gt;
&lt;div style=&quot;color: #0a30c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;user_type_id&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;void&lt;/span&gt; setUser_type_id(&lt;span style=&quot;color: #921f67;&quot;&gt;double&lt;/span&gt; user_type_id) {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;this&lt;/span&gt;.&lt;span style=&quot;color: #0a30c8;&quot;&gt;user_type_id&lt;/span&gt; = user_type_id;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; String getUser_Type() {&lt;/div&gt;
&lt;div style=&quot;color: #0a30c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;return&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;user_Type&lt;span style=&quot;color: black;&quot;&gt;;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;void&lt;/span&gt; setUser_Type(String user_Type) {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;this&lt;/span&gt;.&lt;span style=&quot;color: #0a30c8;&quot;&gt;user_Type&lt;/span&gt; = user_Type;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
}&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Now the code which will specify how to convert the datatype to UserType object is done in UserTypeEditor.java&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
UserTypeEditor.java&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;class&lt;/span&gt; UserTypeEditor &lt;span style=&quot;color: #921f67;&quot;&gt;extends&lt;/span&gt; java.beans.PropertyEditorSupport{&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #777777; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;@Override&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;void&lt;/span&gt; setAsText(String text)&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;span style=&quot;color: #921f67;&quot;&gt;double&lt;/span&gt; test=Double.valueOf(text);&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;UserType userType=&lt;span style=&quot;color: #921f67;&quot;&gt;new&lt;/span&gt; UserType(test);&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;setValue(userType);&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp; &amp;nbsp; }&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #777777; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;@Override&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; String getAsText(){&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;UserType userType=(UserType)getValue();&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;return&lt;/span&gt; userType.toString();&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
}&lt;/div&gt;
&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
In the above class you can see that the method setAsText(String text) is overridden in the UserTypeEditor class. this particular method specified how to change the String value to a object of type UserType. Below is the xml which specifies how to use the&amp;nbsp;&lt;/div&gt;
&lt;div&gt;
UserTypeEditor.java.&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3b3ffb;&quot;&gt;UserType.xml&lt;/span&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;?&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;xml&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;version&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;1.0&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;encoding&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;UTF-8&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;beans&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://www.springframework.org/schema/beans&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns:xsi&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xsi:schemaLocation&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://www.springframework.org/schema/beans&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; http://www.springframework.org/schema/beans/spring-beans-2.5.xsd&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;bean&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;viewResolver&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;org.springframework.web.servlet.view.InternalResourceViewResolver&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;viewClass&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;org.springframework.web.servlet.view.JstlView&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;prefix&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;/jsp/&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;property&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;suffix&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;.jsp&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;property&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;bean&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;bean&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;customEditorConfigurer&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;org.springframework.beans.factory.config.CustomEditorConfigurer&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;customEditors&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;map&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;entry&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;key&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;UserType&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;bean&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;UserTypeEditor&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;UserTypeEditor&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;bean&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;entry&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;map&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;property&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;bean&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;bean&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;reg&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;Registration&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;user&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;ref&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;user&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;userType&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;ref&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;userType&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;bean&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;bean&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;user&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;User&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;name&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;id&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;value&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;1&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;fname&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;Prajith&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;userType&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;1&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;bean&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;bean&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;userType&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;UserType&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;user_type_id&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;1&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;user_Type&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;Admin&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;bean&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;beans&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
Registration.java&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;class&lt;/span&gt; Registration {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;private&lt;/span&gt; User &lt;span style=&quot;color: #0a30c8;&quot;&gt;user&lt;/span&gt;;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;private&lt;/span&gt; UserType &lt;span style=&quot;color: #0a30c8;&quot;&gt;userType&lt;/span&gt;;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;void&lt;/span&gt; setUser(User user) {&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.&lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;out&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;.println(&lt;/span&gt;&quot;registration setUser &quot;&lt;span style=&quot;color: black;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;this&lt;/span&gt;.&lt;span style=&quot;color: #0a30c8;&quot;&gt;user&lt;/span&gt; = user;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;void&lt;/span&gt; setUserType(UserType userType) {&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.&lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;out&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;.println(&lt;/span&gt;&quot;registration setUserType &quot;&lt;span style=&quot;color: black;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;this&lt;/span&gt;.&lt;span style=&quot;color: #0a30c8;&quot;&gt;userType&lt;/span&gt; = userType;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;void&lt;/span&gt; printDetails(){&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.&lt;span style=&quot;color: #0a30c8;&quot;&gt;out&lt;/span&gt;.println(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;UserId&quot;&lt;/span&gt; +&lt;span style=&quot;color: #0a30c8;&quot;&gt;user&lt;/span&gt;.getId());&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.&lt;span style=&quot;color: #0a30c8;&quot;&gt;out&lt;/span&gt;.println(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;Fname&quot;&lt;/span&gt; +&lt;span style=&quot;color: #0a30c8;&quot;&gt;user&lt;/span&gt;.getFname());&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.&lt;span style=&quot;color: #0a30c8;&quot;&gt;out&lt;/span&gt;.println(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;UserTypeId&quot;&lt;/span&gt; +&lt;span style=&quot;color: #0a30c8;&quot;&gt;userType&lt;/span&gt;.getUser_type_id());&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.&lt;span style=&quot;color: #0a30c8;&quot;&gt;out&lt;/span&gt;.println(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;UserTypeName&quot;&lt;/span&gt; +&lt;span style=&quot;color: #0a30c8;&quot;&gt;userType&lt;/span&gt;.getUser_Type());&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
}&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
Main.java&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.springframework.context.ApplicationContext;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.springframework.context.support.ClassPathXmlApplicationContext;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #921f67; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
public&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;class&lt;span style=&quot;color: black;&quot;&gt; Main {&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;/**&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; * &lt;span style=&quot;color: #92b0c9;&quot;&gt;@param&lt;/span&gt; args&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; */&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;static&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;void&lt;/span&gt; main(String[] args) {&lt;/div&gt;
&lt;div style=&quot;color: #508f73; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;// &lt;span style=&quot;color: #92b0c9;&quot;&gt;TODO&lt;/span&gt; Auto-generated method stub&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt; ApplicationContext context = &lt;span style=&quot;color: #921f67;&quot;&gt;new&lt;/span&gt; ClassPathXmlApplicationContext(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;UserType.xml&quot;&lt;/span&gt;);&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp; Registration reg=(Registration)context.getBean(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;reg&quot;&lt;/span&gt;);&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt; &amp;nbsp; &amp;nbsp; reg.printDetails();&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
}&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prajith-javatechnical.blogspot.com/feeds/4308186302189357360/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/04/implementing-propertyeditorsupport.html#comment-form' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/4308186302189357360'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/4308186302189357360'/><link rel='alternate' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/04/implementing-propertyeditorsupport.html' title='Using PropertyEditorSupport'/><author><name>Prajith</name><uri>http://www.blogger.com/profile/07475641510583354853</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>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7304608991043014862.post-3594848193958808488</id><published>2012-03-23T01:07:00.001+05:30</published><updated>2012-03-23T01:07:33.916+05:30</updated><title type='text'>Spring&#39;s DispatcherServlet</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;div style=&quot;color: #45818e; font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
Spring&#39;s &lt;span class=&quot;classname&quot; style=&quot;color: #e06666;&quot;&gt;DispatcherServlet&lt;/span&gt;&lt;span style=&quot;color: #e06666;&quot;&gt; &lt;/span&gt;do more than just dispatches requests to controllers. It is completely integrated with the Spring IoC container and as such 
allows you to use every other feature that Spring has.&lt;/div&gt;
&lt;div style=&quot;color: #45818e; font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; color: #45818e; font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpzc8xtu2BWijLK-_IgLlZYLnWRSqVVY6JWOAY2SGrO-RVOieog55lkjc_rgLtvmk0ZoIPS_rFEOND-GjPTpOcL9RJQ226LCF_05a4b00EyEjC-H1j052Nc65TlJwKMBIVJ_MBHRy5gTRZ/s1600/mvc.jpg&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;205&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhpzc8xtu2BWijLK-_IgLlZYLnWRSqVVY6JWOAY2SGrO-RVOieog55lkjc_rgLtvmk0ZoIPS_rFEOND-GjPTpOcL9RJQ226LCF_05a4b00EyEjC-H1j052Nc65TlJwKMBIVJ_MBHRy5gTRZ/s320/mvc.jpg&quot; width=&quot;320&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;color: #45818e; font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;
&lt;/div&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;span style=&quot;color: #45818e; font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;The &lt;/span&gt;&lt;span class=&quot;classname&quot; style=&quot;color: #e06666; font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;DispatcherServlet&lt;/span&gt;&lt;span style=&quot;color: #e06666; font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;emphasis&quot; style=&quot;color: #45818e; font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;&lt;em&gt;is&lt;/em&gt;&lt;/span&gt;&lt;span style=&quot;color: #45818e; font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt; an actual &lt;/span&gt;&lt;span class=&quot;interfacename&quot; style=&quot;color: #45818e; font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;Servlet&lt;/span&gt;&lt;span style=&quot;color: #45818e; font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt; 
(it inherits from the &lt;/span&gt;&lt;span class=&quot;classname&quot; style=&quot;color: #45818e; font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;HttpServlet&lt;/span&gt;&lt;span style=&quot;color: #45818e; font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt; base class), and as 
such is declared in the &lt;/span&gt;&lt;span class=&quot;literal&quot; style=&quot;color: #45818e; font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;web.xml&lt;/span&gt;&lt;span style=&quot;color: #45818e; font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt; of your web application. 
Requests that you want the &lt;/span&gt;&lt;span class=&quot;classname&quot; style=&quot;color: #45818e; font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;DispatcherServlet&lt;/span&gt;&lt;span style=&quot;color: #45818e; font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt; to handle 
will have to be mapped using a URL mapping in the same &lt;/span&gt;&lt;span class=&quot;literal&quot; style=&quot;color: #45818e; font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt;web.xml&lt;/span&gt;&lt;span style=&quot;color: #45818e; font-family: Times,&amp;quot;Times New Roman&amp;quot;,serif;&quot;&gt; file. This is standard J2EE servlet configuration&lt;/span&gt;.&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #e06666; font-family: Arial,Helvetica,sans-serif;&quot;&gt;
code eg:&lt;/div&gt;
&lt;br /&gt;
&lt;pre class=&quot;programlisting&quot; style=&quot;color: #45818e; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;lt;web-app&amp;gt;

    &amp;lt;servlet&amp;gt;
        &amp;lt;servlet-name&amp;gt;example&amp;lt;/servlet-name&amp;gt;
        &amp;lt;servlet-class&amp;gt;org.springframework.web.servlet.DispatcherServlet&lt;/pre&gt;
&lt;pre class=&quot;programlisting&quot; style=&quot;color: #45818e; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;        &amp;lt;/servlet-class&amp;gt;
        &amp;lt;load-on-startup&amp;gt;1&amp;lt;/load-on-startup&amp;gt;
    &amp;lt;/servlet&amp;gt;

    &amp;lt;servlet-mapping&amp;gt;
        &amp;lt;servlet-name&amp;gt;example&amp;lt;/servlet-name&amp;gt;
        &amp;lt;url-pattern&amp;gt;*.html&amp;lt;/url-pattern&amp;gt;
    &amp;lt;/servlet-mapping&amp;gt;

&amp;lt;/web-app&amp;gt;&lt;/pre&gt;
&lt;pre class=&quot;programlisting&quot; style=&quot;color: #45818e; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre class=&quot;programlisting&quot; style=&quot;color: #45818e; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;In a application there can be more than one &lt;span class=&quot;classname&quot;&gt;DispatcherServlet&lt;/span&gt; defined&amp;nbsp;&lt;/pre&gt;
&lt;pre class=&quot;programlisting&quot; style=&quot;color: #45818e; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;and each&lt;span class=&quot;classname&quot;&gt; DispatcherServlet&lt;/span&gt; have its own WebApplicationContest.&lt;/pre&gt;
&lt;pre class=&quot;programlisting&quot; style=&quot;color: #45818e; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;
&lt;/pre&gt;
&lt;div style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace; text-align: justify;&quot;&gt;
&lt;span style=&quot;color: #45818e;&quot;&gt;The framework will, on initialization of a &lt;/span&gt;&lt;span class=&quot;classname&quot; style=&quot;color: #45818e;&quot;&gt;DispatcherServlet&lt;/span&gt;&lt;span style=&quot;color: #45818e;&quot;&gt;, &lt;/span&gt;&lt;span class=&quot;emphasis&quot; style=&quot;color: #45818e;&quot;&gt;&lt;em&gt;look for a file 
named &lt;span class=&quot;literal&quot;&gt;[servlet-name]-servlet.xml&lt;/span&gt;&lt;/em&gt;&lt;/span&gt;&lt;span style=&quot;color: #45818e;&quot;&gt; in the &lt;/span&gt;&lt;span class=&quot;literal&quot; style=&quot;color: #45818e;&quot;&gt;WEB-INF&lt;/span&gt; &lt;span style=&quot;color: #45818e;&quot;&gt;directory of your web application and create the 
beans defined there (overriding the definitions of any beans defined with the 
same name in the global scope).&lt;/span&gt;&lt;/div&gt;
&lt;pre class=&quot;programlisting&quot; style=&quot;color: #45818e; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&amp;nbsp;&lt;/pre&gt;
&lt;pre class=&quot;programlisting&quot; style=&quot;color: #45818e; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;The &lt;span class=&quot;interfacename&quot;&gt;WebApplicationContext&lt;/span&gt; is an extension of the plain &lt;span class=&quot;interfacename&quot;&gt;ApplicationContext&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;programlisting&quot; style=&quot;color: #45818e; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span class=&quot;interfacename&quot;&gt;&lt;/span&gt;that has some extra features necessary for web applications. It differs&amp;nbsp;&lt;/pre&gt;
&lt;pre class=&quot;programlisting&quot; style=&quot;color: #45818e; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;from a normal&lt;span class=&quot;interfacename&quot;&gt; ApplicationContext&lt;/span&gt; in that it is capable of resolving themes&lt;/pre&gt;
&lt;pre class=&quot;programlisting&quot; style=&quot;color: #45818e; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;and that it knows which servlet it is associated with. The &lt;span class=&quot;interfacename&quot;&gt;WebApplicationContext&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;programlisting&quot; style=&quot;color: #45818e; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;is bound in the &lt;span class=&quot;interfacename&quot;&gt;ServletContext.&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;programlisting&quot; style=&quot;color: #45818e; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span class=&quot;interfacename&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;/pre&gt;
&lt;pre class=&quot;programlisting&quot; style=&quot;color: #45818e; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;The Spring &lt;span class=&quot;classname&quot;&gt;DispatcherServlet&lt;/span&gt; has a couple of special beans it uses in&amp;nbsp;&lt;/pre&gt;
&lt;pre class=&quot;programlisting&quot; style=&quot;color: #45818e; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;order to be able to process requests and render the appropriate&amp;nbsp;&lt;/pre&gt;
&lt;pre class=&quot;programlisting&quot; style=&quot;color: #45818e; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;views. These beans are included in the Spring framework and can be&lt;/pre&gt;
&lt;pre class=&quot;programlisting&quot; style=&quot;color: #45818e; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;configured in the &lt;span class=&quot;interfacename&quot;&gt;WebApplicationContext&lt;/span&gt;, just as any other bean would&lt;/pre&gt;
&lt;pre class=&quot;programlisting&quot; style=&quot;color: #45818e; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;span style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;be configured.&lt;/span&gt;&lt;span class=&quot;interfacename&quot; style=&quot;font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt; &lt;/span&gt;&lt;tt class=&quot;interfacename&quot;&gt;&lt;/tt&gt;&lt;/pre&gt;
&lt;pre class=&quot;programlisting&quot; style=&quot;color: #45818e; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;tt class=&quot;interfacename&quot;&gt;
&lt;/tt&gt;&lt;/pre&gt;
&lt;pre class=&quot;programlisting&quot; style=&quot;color: #45818e; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;&lt;tt class=&quot;interfacename&quot;&gt;1.  &lt;/tt&gt;Controllers&lt;/pre&gt;
&lt;pre class=&quot;programlisting&quot; style=&quot;color: #45818e; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;2. Handler mappings&lt;/pre&gt;
&lt;pre class=&quot;programlisting&quot; style=&quot;color: #45818e; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;3. View resolvers&lt;/pre&gt;
&lt;pre class=&quot;programlisting&quot; style=&quot;color: #45818e; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;4. Locale resolver&lt;/pre&gt;
&lt;pre class=&quot;programlisting&quot; style=&quot;color: #45818e; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;5. Theme resolver&lt;/pre&gt;
&lt;pre class=&quot;programlisting&quot; style=&quot;color: #45818e; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;6. multipart file resolver&lt;/pre&gt;
&lt;pre class=&quot;programlisting&quot; style=&quot;color: #45818e; font-family: &amp;quot;Courier New&amp;quot;,Courier,monospace;&quot;&gt;7. Handler exception resolver(s) &lt;/pre&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prajith-javatechnical.blogspot.com/feeds/3594848193958808488/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/03/springs-dispatcherservlet.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/3594848193958808488'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/3594848193958808488'/><link rel='alternate' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/03/springs-dispatcherservlet.html' title='Spring&#39;s DispatcherServlet'/><author><name>Prajith</name><uri>http://www.blogger.com/profile/07475641510583354853</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/AVvXsEhpzc8xtu2BWijLK-_IgLlZYLnWRSqVVY6JWOAY2SGrO-RVOieog55lkjc_rgLtvmk0ZoIPS_rFEOND-GjPTpOcL9RJQ226LCF_05a4b00EyEjC-H1j052Nc65TlJwKMBIVJ_MBHRy5gTRZ/s72-c/mvc.jpg" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7304608991043014862.post-9041777004886072685</id><published>2012-03-22T13:42:00.002+05:30</published><updated>2012-04-24T13:14:22.015+05:30</updated><title type='text'>Spring MultiActionController</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
web.xml&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;?&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;xml&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;version&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;1.0&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;encoding&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;UTF-8&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;web-app&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns:xsi&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://java.sun.com/xml/ns/javaee&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns:web&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xsi:schemaLocation&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;WebApp_ID&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;version&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;2.5&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;display-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;MultiActionController&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;display-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;servlet&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;servlet-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;dispatcher&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;servlet-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;servlet-class&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;org.springframework.web.servlet.DispatcherServlet&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;servlet-class&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;servlet&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;servlet-mapping&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;servlet-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;dispatcher&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;servlet-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;url-pattern&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;*.&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;url-pattern&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;servlet-mapping&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;welcome-file-list&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;welcome-file&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;index.jsp&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;welcome-file&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;welcome-file-list&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;web-app&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;---------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;dispatcher-servlet.xml&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;?&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;xml&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;version&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;1.0&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;encoding&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;UTF-8&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;beans&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://www.springframework.org/schema/beans&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns:xsi&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xsi:schemaLocation&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://www.springframework.org/schema/beans&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; http://www.springframework.org/schema/beans/spring-beans-2.5.xsd&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;bean&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;viewResolver&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;org.springframework.web.servlet.view.InternalResourceViewResolver&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;property&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;prefix&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;value&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;/WEB-INF/&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;jsp&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;/&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;value&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;property&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;property&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;suffix&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&amp;lt;&lt;/span&gt;value&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;.&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;jsp&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;value&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;property&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;bean&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;bean&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;/*.html&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;lnt.infotech.spring.MultiActionControllerExample&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;beans&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;---------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;index.jsp&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ca7454;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ca7454;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #ca7454;&quot;&gt;&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #ca7454;&quot;&gt;&amp;lt;%@&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;page&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;language&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;java&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;contentType&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;text/html; charset=ISO-8859-1&quot;&lt;/div&gt;
&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;pageEncoding&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;ISO-8859-1&quot;&lt;/span&gt;&lt;span style=&quot;color: #ca7454;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #019192; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;lt;!DOC&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;TYPE &lt;/span&gt;html&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #929292;&quot;&gt;PUBLIC&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #508f73;&quot;&gt;&quot;http://www.w3.org/TR/html4/loose.dtd&quot;&lt;/span&gt;&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;html&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;head&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;meta&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;http-equiv&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;Content-Type&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;content&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;text/html; charset=ISO-8859-1&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;Success Page&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;head&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;body&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;h4&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;Multi&lt;/span&gt; Action Controller Example&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;h4&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;href&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;add.html&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;Add&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #019192; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&amp;lt;&lt;span style=&quot;color: #509091;&quot;&gt;br&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;/&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;href&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;update.html&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;Update&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #019192; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&amp;lt;&lt;span style=&quot;color: #509091;&quot;&gt;br&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;/&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;href&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;edit.html&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;Edit&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #019192; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&amp;lt;&lt;span style=&quot;color: #509091;&quot;&gt;br&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;/&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;href&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;remove.html&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;Remove&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;a&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;body&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;html&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;In the above code as you can see we have given the url as add.html, update.html, edit.html, remove.html but we have given the common bean for all the four url i.e &quot;/*.html&quot;. which passes the control to the &quot;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3b3ffb;&quot;&gt;MultiActionControllerExample&quot; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;controller. In this controller we have extended to MultiActionController class given by spring. Due to this the controller search for the url named method (eg. add, update, edit, remove) and executes it respectively when ever called.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3b3ffb;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;-------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3b3ffb;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3b3ffb;&quot;&gt;MultiActionControllerExample&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3b3ffb;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3b3ffb;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3b3ffb;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
package lnt.infotech.spring;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
import javax.servlet.http.HttpServletRequest;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
import javax.servlet.http.HttpServletResponse;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
import org.springframework.web.servlet.ModelAndView;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
import org.springframework.web.servlet.mvc.multiaction.MultiActionController;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
public class MultiActionControllerExample extends MultiActionController {&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;public ModelAndView add(HttpServletRequest request,&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;HttpServletResponse response) throws Exception {&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;return new ModelAndView(&quot;showmessage&quot;, &quot;message&quot;, &quot;Add method called&quot;);&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;} &amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;public ModelAndView update(HttpServletRequest request,&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;HttpServletResponse response) throws Exception {&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;return new ModelAndView(&quot;showmessage&quot;, &quot;message&quot;, &quot;Update method called&quot;);&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;}&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;public ModelAndView edit(HttpServletRequest request,&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;HttpServletResponse response) throws Exception {&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;return new ModelAndView(&quot;showmessage&quot;, &quot;message&quot;, &quot;Edit method called&quot;);&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;}&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;public ModelAndView remove(HttpServletRequest request,&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;HttpServletResponse response) throws Exception {&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;return new ModelAndView(&quot;showmessage&quot;, &quot;message&quot;, &quot;Remove method called&quot;);&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;}&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
-------------------------------------------------------------------------------&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3b3ffb;&quot;&gt;showmessage.jsp&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3b3ffb;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3b3ffb;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #3b3ffb;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #ca7454;&quot;&gt;&amp;lt;%@&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;page&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;language&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;java&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;contentType&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;text/html; charset=ISO-8859-1&quot;&lt;/div&gt;
&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;pageEncoding&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;ISO-8859-1&quot;&lt;/span&gt;&lt;span style=&quot;color: #ca7454;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #019192; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;lt;!&lt;span style=&quot;color: #509091;&quot;&gt;DOCTYPE&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;html&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #929292;&quot;&gt;PUBLIC&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #508f73;&quot;&gt;&quot;http://www.w3.org/TR/html4/loose.dtd&quot;&lt;/span&gt;&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;html&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;head&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;meta&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;http-equiv&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;Content-Type&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;content&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;text/html; charset=ISO-8859-1&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;Success Page&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;head&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;body&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
${message}&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;body&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;html&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;In the &amp;nbsp;above code ${message} is accessing the message set by the controller and displaying it.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;--------------------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;Jars required&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;----------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11px Monaco; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace; font-size: x-small;&quot;&gt;1. &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;commons-logging.jar&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11px Monaco; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;2. j&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;stl.jar&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11px Monaco; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;3.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;mail.jar&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11px Monaco; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;4.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;spring-webmvc.jar&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11px Monaco; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;5.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;spring.jar&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11px Monaco; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;6.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;standard.jar&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11px Monaco; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;---------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11px Monaco; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11px Monaco; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;project layout&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11px Monaco; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4pnnDB_Ylfj3h8DJsEYL_p9mEeBPJBWcL-ZRbtcXdrqk72NJtiP5bXzV9LXw34wh8LLq79pbXNyoF-vxEsMxqknPfR77-Wdj4iLQB4OMZdrarrQCiYFM-liW5zh_9nQ1ICdsafTc4nBHf/s1600/project+layout.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEj4pnnDB_Ylfj3h8DJsEYL_p9mEeBPJBWcL-ZRbtcXdrqk72NJtiP5bXzV9LXw34wh8LLq79pbXNyoF-vxEsMxqknPfR77-Wdj4iLQB4OMZdrarrQCiYFM-liW5zh_9nQ1ICdsafTc4nBHf/s320/project+layout.png&quot; width=&quot;218&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11px Monaco; margin: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: x-small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prajith-javatechnical.blogspot.com/feeds/9041777004886072685/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/03/spring-multiactioncontroller.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/9041777004886072685'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/9041777004886072685'/><link rel='alternate' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/03/spring-multiactioncontroller.html' title='Spring MultiActionController'/><author><name>Prajith</name><uri>http://www.blogger.com/profile/07475641510583354853</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/AVvXsEj4pnnDB_Ylfj3h8DJsEYL_p9mEeBPJBWcL-ZRbtcXdrqk72NJtiP5bXzV9LXw34wh8LLq79pbXNyoF-vxEsMxqknPfR77-Wdj4iLQB4OMZdrarrQCiYFM-liW5zh_9nQ1ICdsafTc4nBHf/s72-c/project+layout.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7304608991043014862.post-2882745230899718948</id><published>2012-03-19T19:39:00.000+05:30</published><updated>2012-04-30T20:36:41.008+05:30</updated><title type='text'>Spring email setting with attachment facility</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f4cccc;&quot;&gt;Web.xml&lt;/span&gt;&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;?&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;xml&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;version&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;1.0&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;encoding&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;UTF-8&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;web-app&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns:xsi&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://java.sun.com/xml/ns/javaee&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns:web&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xsi:schemaLocation&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;WebApp_ID&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;version&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;3.0&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;display-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;ReportGeneration&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;display-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;welcome-file-list&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;welcome-file&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;index.jsp&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;welcome-file&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;welcome-file-list&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;servlet&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;servlet-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;springapp&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;servlet-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;servlet-class&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;org.springframework.web.servlet.DispatcherServlet&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;servlet-class&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;load-on-startup&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;load-on-startup&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;servlet&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;servlet-mapping&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;servlet-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;springapp&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;servlet-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;url-pattern&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;*.&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;url-pattern&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;servlet-mapping&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;web-app&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;---------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f4cccc;&quot;&gt;springapp-servlet.xml&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;In &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;the&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; below settings, &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;please&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;change&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;the&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; username &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;and&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;password&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;with&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; your &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;email&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;ID&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;and&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;password. In&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;the&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; bean &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #990000;&quot;&gt;customeMailMessage&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;&quot;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;please&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;change&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;the&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; &quot;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #990000;&quot;&gt;from&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;&quot; and &quot;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #990000;&quot;&gt;to&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;&quot; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;property&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;to&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;your&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;email&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;ID&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; and email &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;ID&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;in&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; which the &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;email&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; has &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;to&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;be&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; sent. &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;Please&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; note &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;both&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;the&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;property&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;can&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;be&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; dynamically &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;set&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;in&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;the&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;code&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;as&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; well.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;?&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;xml&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;version&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;1.0&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;encoding&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;UTF-8&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;beans&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://www.springframework.org/schema/beans&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns:xsi&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xsi:schemaLocation&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://www.springframework.org/schema/beans&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; http://www.springframework.org/schema/beans/spring-beans-2.5.xsd&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&amp;lt;!-- the application context definition for the springapp DispatcherServlet --&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;bean&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;viewResolver&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;org.springframework.web.servlet.view.InternalResourceViewResolver&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;viewClass&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;org.springframework.web.servlet.view.JstlView&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;prefix&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;/jsp/&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;property&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;suffix&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;.jsp&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;property&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;bean&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;bean&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;mailSender&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;org.springframework.mail.javamail.JavaMailSenderImpl&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;host&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;smtp.gmail.com&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;port&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;587&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;username&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;your@emailid.com&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;password&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;password&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;javaMailProperties&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;props&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;prop&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;key&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;mail.smtp.auth&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;prop&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;prop&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;key&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;mail.smtp.starttls.enable&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;true&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;prop&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;props&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;property&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;bean&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;bean&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;eMail&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;com.lnt.infotech.EMail&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;property&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;name&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&quot;mailSender&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;ref&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&quot;mailSender&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;property&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;name&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&quot;simpleMailMessage&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;ref&lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;=&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;&quot;customeMailMessage&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #b6d7a8;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;bean&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;bean&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;customeMailMessage&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;org.springframework.mail.SimpleMailMessage&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;from&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;your@emailid.com&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;to&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;reciever@emailid.com&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;subject&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;Testing Subject&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;property&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;text&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;value&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #019192; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&amp;lt;![CDATA[&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;Dear %s,&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;Mail Content : %s&lt;/div&gt;
&lt;div style=&quot;color: #019192; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;]]&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;value&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;property&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;bean&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;beans&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;In the above bean &quot;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #990000;&quot;&gt;eMail&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;&quot; configuration, two property marked in background colour green is Dependency Injection where we are injecting the configuration values into the class &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #990000;&quot;&gt;com.lnt.infotech.&lt;/span&gt;&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #990000;&quot;&gt;EMail&lt;/span&gt;&lt;/span&gt;.&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;---------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f4cccc;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;SendEmail.java&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;package&lt;/span&gt; com.lnt.infotech;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.springframework.context.ApplicationContext;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.springframework.context.support.ClassPathXmlApplicationContext;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;class&lt;/span&gt; SendEmail {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;static&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;void&lt;/span&gt; main(String[] args) {&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.&lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;out&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;.println(&lt;/span&gt;&quot;--------Start---------&quot;&lt;span style=&quot;color: black;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;ApplicationContext context = &lt;span style=&quot;color: #921f67;&quot;&gt;new&lt;/span&gt; ClassPathXmlApplicationContext(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;springapp-servlet.xml&quot;&lt;/span&gt;);&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;EMail mm = (EMail) context.getBean(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;eMail&quot;&lt;/span&gt;);&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;mm.sendMail(&lt;/span&gt;&quot;Prajith&quot;&lt;span style=&quot;color: black;&quot;&gt;, &lt;/span&gt;&quot;This is text content&quot;&lt;span style=&quot;color: black;&quot;&gt;);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;In the above code we are just getting the object of class &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #990000;&quot;&gt;EMail.java&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; from &lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;the&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt; &lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #990000;&quot;&gt;WebApplicationContext.xml(spring-app.xml)&lt;/span&gt; and accessing the method sendMail.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #93c47d;&quot;&gt;----------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f4cccc;&quot;&gt;EMail.java&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;package&lt;/span&gt; com.lnt.infotech;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; javax.mail.MessagingException;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; javax.mail.internet.MimeMessage;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.springframework.core.io.FileSystemResource;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.springframework.mail.MailParseException;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.springframework.mail.SimpleMailMessage;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.springframework.mail.javamail.JavaMailSender;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.springframework.mail.javamail.MimeMessageHelper;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #921f67; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
public&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;class&lt;span style=&quot;color: black;&quot;&gt; EMail {&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;private&lt;/span&gt; JavaMailSender &lt;span style=&quot;color: #0a30c8;&quot;&gt;mailSender&lt;/span&gt;;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;private&lt;/span&gt; SimpleMailMessage &lt;span style=&quot;color: #0a30c8;&quot;&gt;simpleMailMessage&lt;/span&gt;;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;void&lt;/span&gt; setSimpleMailMessage(SimpleMailMessage simpleMailMessage) {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;this&lt;/span&gt;.&lt;span style=&quot;color: #0a30c8;&quot;&gt;simpleMailMessage&lt;/span&gt; = simpleMailMessage;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;void&lt;/span&gt; setMailSender(JavaMailSender mailSender) {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;this&lt;/span&gt;.&lt;span style=&quot;color: #0a30c8;&quot;&gt;mailSender&lt;/span&gt; = mailSender;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;void&lt;/span&gt; sendMail(String dear, String content) {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;System.&lt;span style=&quot;color: #0a30c8;&quot;&gt;out&lt;/span&gt;.println(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;sendMail&quot;&lt;/span&gt;);&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;MimeMessage message = &lt;span style=&quot;color: #0a30c8;&quot;&gt;mailSender&lt;/span&gt;.createMimeMessage();&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;try&lt;/span&gt; {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;MimeMessageHelper helper = &lt;span style=&quot;color: #921f67;&quot;&gt;new&lt;/span&gt; MimeMessageHelper(message, &lt;span style=&quot;color: #921f67;&quot;&gt;true&lt;/span&gt;);&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;helper.setFrom(&lt;span style=&quot;color: #0a30c8;&quot;&gt;simpleMailMessage&lt;/span&gt;.getFrom());&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;helper.setTo(&lt;span style=&quot;color: #0a30c8;&quot;&gt;simpleMailMessage&lt;/span&gt;.getTo());&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;helper.setSubject(&lt;span style=&quot;color: #0a30c8;&quot;&gt;simpleMailMessage&lt;/span&gt;.getSubject());&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;helper.setText(String.format(&lt;span style=&quot;color: #0a30c8;&quot;&gt;simpleMailMessage&lt;/span&gt;.getText(), dear,&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;     &lt;/span&gt;content));&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;FileSystemResource file = &lt;span style=&quot;color: #921f67;&quot;&gt;new&lt;/span&gt; FileSystemResource(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;/Users/pkomalac/Downloads/unix.pdf&quot;&lt;/span&gt;);&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;helper.addAttachment(file.getFilename(), file);&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;} &lt;span style=&quot;color: #921f67;&quot;&gt;catch&lt;/span&gt; (MessagingException e) {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;throw&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;new&lt;/span&gt; MailParseException(e);&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;mailSender&lt;/span&gt;.send(message);&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;}&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;text-decoration: underline;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: white;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #93c47d;&quot;&gt;---------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f4cccc;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;Required jar&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;1. &lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;commons-logging.jar&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;2. j&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;stl.jar&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;3.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;mail.jar&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;4.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;spring-webmvc.jar&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;5.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;spring.jar&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;6.&amp;nbsp;&lt;/span&gt;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;standard.jar&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #93c47d; font-family: Monaco; font-size: 11px;&quot;&gt;---------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #93c47d; font-family: Monaco; font-size: 11px;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Monaco; font-size: 11px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f4cccc;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;Project Structure&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: &#39;Courier New&#39;, Courier, monospace;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Monaco; font-size: 11px;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;background-color: #f4cccc;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcU0feJ5SqLcp-G3TdPkXOh5D_YdhyffCXz0A4FjjvGsOGawXk0qKZhYLLnB9rsAFzF28wyXVRXgYqZlqOI3KCGFXE0KOyJF9RsOwdW6qvn4RmmS_Vs_17TBtyASJwxzvvfSua6YIl-zjI/s1600/project+structure.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhcU0feJ5SqLcp-G3TdPkXOh5D_YdhyffCXz0A4FjjvGsOGawXk0qKZhYLLnB9rsAFzF28wyXVRXgYqZlqOI3KCGFXE0KOyJF9RsOwdW6qvn4RmmS_Vs_17TBtyASJwxzvvfSua6YIl-zjI/s1600/project+structure.png&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #45818e;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prajith-javatechnical.blogspot.com/feeds/2882745230899718948/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/03/spring-email-setting-with-attachment.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/2882745230899718948'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/2882745230899718948'/><link rel='alternate' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/03/spring-email-setting-with-attachment.html' title='Spring email setting with attachment facility'/><author><name>Prajith</name><uri>http://www.blogger.com/profile/07475641510583354853</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/AVvXsEhcU0feJ5SqLcp-G3TdPkXOh5D_YdhyffCXz0A4FjjvGsOGawXk0qKZhYLLnB9rsAFzF28wyXVRXgYqZlqOI3KCGFXE0KOyJF9RsOwdW6qvn4RmmS_Vs_17TBtyASJwxzvvfSua6YIl-zjI/s72-c/project+structure.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-7304608991043014862.post-3749041129419678087</id><published>2012-03-19T15:51:00.002+05:30</published><updated>2012-04-24T12:58:39.050+05:30</updated><title type='text'>spring hello world example</title><content type='html'>&lt;div dir=&quot;ltr&quot; style=&quot;text-align: left;&quot; trbidi=&quot;on&quot;&gt;
&lt;br /&gt;
web.xml settings&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;?&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;xml&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;version&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;1.0&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;encoding&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;UTF-8&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;web-app&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns:xsi&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://java.sun.com/xml/ns/javaee&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns:web&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xsi:schemaLocation&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;WebApp_ID&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;version&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;3.0&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;display-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;SpringHelloWorld&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;display-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;welcome-file-list&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;welcome-file&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;index.jsp&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;welcome-file&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;welcome-file-list&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&amp;nbsp; &lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;servlet&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;servlet-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;helloworld&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;servlet-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;servlet-class&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;org.springframework.web.servlet.DispatcherServlet&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;servlet-class&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;load-on-startup&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;1&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;load-on-startup&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;servlet&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;servlet-mapping&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;servlet-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;helloworld&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;servlet-name&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;url-pattern&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;*.&lt;/span&gt;&lt;span style=&quot;color: black; text-decoration: underline;&quot;&gt;html&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;url-pattern&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;servlet-mapping&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;web-app&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;----------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&amp;nbsp;&amp;nbsp; &amp;nbsp;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #20124d;&quot;&gt;&amp;nbsp; &amp;nbsp;The name of the&amp;nbsp;WebApplicationContext&amp;nbsp;file is determined by the value of the&amp;nbsp;&amp;lt;servlet-name&amp;gt; element in the web.xml by appending &#39;-servlet.xml&#39;. Hence the current&amp;nbsp;WebApplicationContext file name will be helloworld-servlet.xml. In this particular file you may define the spring beans.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;?&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;xml&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;version&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;1.0&quot;&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;encoding&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;UTF-8&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;?&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;beans&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://www.springframework.org/schema/beans&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xmlns:xsi&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://www.w3.org/2001/XMLSchema-instance&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;xsi:schemaLocation&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://www.springframework.org/schema/beans&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;nbsp;&amp;nbsp; &amp;nbsp; &amp;nbsp; http://www.springframework.org/schema/beans/spring-beans-2.5.xsd&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #5178c8; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&amp;lt;!-- the application context definition for the &lt;span style=&quot;text-decoration: underline;&quot;&gt;helloworld&lt;/span&gt; DispatcherServlet --&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;bean&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;id&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;viewResolver&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;org.springframework.web.servlet.view.InternalResourceViewResolver&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;viewClass&quot;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;   &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;org.springframework.web.servlet.view.JstlView&quot; &lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;property&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;prefix&quot; &lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;/jsp/&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;property&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;suffix&quot; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;.jsp&quot;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&amp;lt;/&lt;/span&gt;property&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;bean&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;bean&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;name&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;/hello.html&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;class&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;com.prajith.helloworld.HelloController&quot;&lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;beans&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;br /&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;----------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #20124d;&quot;&gt;&amp;nbsp;&amp;nbsp; index.jsp :default page to be loaded when the application is started but we will be redirecting it to get the hello.jsp page using spring mvc framework.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #ca7454;&quot;&gt;&amp;lt;%@&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;page&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;language&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;java&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;contentType&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;text/html; charset=ISO-8859-1&quot;&lt;/div&gt;
&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;pageEncoding&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;ISO-8859-1&quot;&lt;/span&gt;&lt;span style=&quot;color: #ca7454;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #ca7454;&quot;&gt;&amp;lt;%@&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;taglib&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;prefix&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;c&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;uri&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://java.sun.com/jsp/jstl/core&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #ca7454;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #019192; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;lt;!&lt;span style=&quot;color: #509091;&quot;&gt;DOCTYPE&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;html&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #929292;&quot;&gt;PUBLIC&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #508f73;&quot;&gt;&quot;http://www.w3.org/TR/html4/loose.dtd&quot;&lt;/span&gt;&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;html&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;head&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;c:redirect&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;url&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;/hello.html&quot; &lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;meta&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;http-equiv&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;Content-Type&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;content&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;text/html; charset=ISO-8859-1&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;Insert title here&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;head&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;body&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;body&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;html&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;----------------------------------------------------------------------&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #20124d;&quot;&gt;hello.jsp : the view of the application where the hello world message will be displayed.&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #ca7454;&quot;&gt;&amp;lt;%@&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;page&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;language&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;java&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;contentType&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;text/html; charset=ISO-8859-1&quot;&lt;/div&gt;
&lt;div style=&quot;color: #922790; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;pageEncoding&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;ISO-8859-1&quot;&lt;/span&gt;&lt;span style=&quot;color: #ca7454;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #ca7454;&quot;&gt;&amp;lt;%@&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;taglib&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;prefix&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;c&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;uri&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;http://java.sun.com/jsp/jstl/core&quot;&lt;span style=&quot;color: #ca7454;&quot;&gt;%&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #019192; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&amp;lt;!&lt;span style=&quot;color: #509091;&quot;&gt;DOCTYPE&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;html&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #929292;&quot;&gt;PUBLIC&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&quot;-//W3C//DTD HTML 4.01 Transitional//EN&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #508f73;&quot;&gt;&quot;http://www.w3.org/TR/html4/loose.dtd&quot;&lt;/span&gt;&amp;gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;html&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;head&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;meta&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;http-equiv&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;Content-Type&quot;&lt;span style=&quot;color: black;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #922790;&quot;&gt;content&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;=&lt;/span&gt;&quot;text/html; charset=ISO-8859-1&quot;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;Hello World&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;title&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;head&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;body&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;h1&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;Hello - Spring Application&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;h1&lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #019192; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&amp;lt;&lt;span style=&quot;color: #509091;&quot;&gt;p&lt;/span&gt;&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;Greetings, it is now&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;&lt;/span&gt;&lt;span style=&quot;color: #509091;&quot;&gt;c:out&lt;/span&gt; &lt;span style=&quot;color: #922790;&quot;&gt;value&lt;/span&gt;=&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;&lt;/span&gt;${now}&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;&lt;/span&gt; &lt;span style=&quot;color: #019192;&quot;&gt;/&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #019192; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/span&gt;&amp;lt;/&lt;span style=&quot;color: #509091;&quot;&gt;p&lt;/span&gt;&amp;gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;body&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&amp;lt;/&lt;/span&gt;html&lt;span style=&quot;color: #019192;&quot;&gt;&amp;gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;div style=&quot;color: #509091; font-family: Times; font-size: medium; font: normal normal normal 11px/normal Monaco; margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-family: Monaco; font-size: small;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;font-size: 11px;&quot;&gt;----------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: black; font-family: Times; font-size: medium;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font-family: Times; font-size: medium;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #20124d;&quot;&gt;HelloController.java : we will be utilizing this controller to redirect to the hello.jsp view.&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;package&lt;/span&gt; com.prajith.helloworld;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; java.io.IOException;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; java.util.Date;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; javax.servlet.ServletException;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; javax.servlet.http.HttpServletRequest;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; javax.servlet.http.HttpServletResponse;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.apache.commons.logging.Log;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.apache.commons.logging.LogFactory;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.springframework.web.servlet.ModelAndView;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;import&lt;/span&gt; org.springframework.web.servlet.mvc.Controller;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;class&lt;/span&gt; HelloController &lt;span style=&quot;color: #921f67;&quot;&gt;implements&lt;/span&gt; Controller {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;protected&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;final&lt;/span&gt; Log &lt;span style=&quot;color: #0a30c8;&quot;&gt;logger&lt;/span&gt;= LogFactory.getLog(getClass());&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;public&lt;/span&gt; ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response) &lt;span style=&quot;color: #921f67;&quot;&gt;throws&lt;/span&gt; ServletException, IOException {&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;String now= (&lt;span style=&quot;color: #921f67;&quot;&gt;new&lt;/span&gt; Date()).toString();&lt;/div&gt;
&lt;div style=&quot;color: #3b3ffb; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span style=&quot;color: black;&quot;&gt;&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/span&gt;&lt;span style=&quot;color: #0a30c8;&quot;&gt;logger&lt;/span&gt;&lt;span style=&quot;color: black;&quot;&gt;.info(&lt;/span&gt;&quot;Returning hello view with &quot;&lt;span style=&quot;color: black;&quot;&gt;+now);&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px; min-height: 15.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt;  &lt;/span&gt;&lt;span style=&quot;color: #921f67;&quot;&gt;return&lt;/span&gt; &lt;span style=&quot;color: #921f67;&quot;&gt;new&lt;/span&gt; ModelAndView(&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;hello&quot;&lt;/span&gt;,&lt;span style=&quot;color: #3b3ffb;&quot;&gt;&quot;now&quot;&lt;/span&gt;,now);&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-tab-span&quot; style=&quot;white-space: pre;&quot;&gt; &lt;/span&gt;}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
}&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
----------------------------------------------------------------------&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
Required Jars:&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;br /&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
1.&amp;nbsp;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #509091;&quot;&gt;commons-logging.jar&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #509091;&quot;&gt;2.&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #509091;&quot;&gt;jstl.jar&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #509091;&quot;&gt;3.&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #509091;&quot;&gt;spring-webmvc.jar&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #509091;&quot;&gt;4.&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #509091;&quot;&gt;spring.jar&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #509091;&quot;&gt;5.&amp;nbsp;&lt;/span&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #509091;&quot;&gt;standard.jar&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #509091;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #509091;&quot;&gt;&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;----------------------------------------------------------------------&lt;/span&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #509091;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/span&gt;&lt;br /&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;Project Structure&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;div style=&quot;color: #509091; font: 11.0px Monaco; margin: 0.0px 0.0px 0.0px 0.0px;&quot;&gt;
&lt;div class=&quot;separator&quot; style=&quot;clear: both; text-align: center;&quot;&gt;
&lt;a href=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJxCn4WTy4ftL19-xw8suBsfS4W7vNGMqYIKW4fxdXkiCD18cbjrzlKTjerHEfBxk8VC3yYG6yGdP2APUsfX1_NJyTEBZyeTOIHvX9eYPyzEMucg8JBfFl4qEepNvkOAeS42uex4QwYPFa/s1600/project+structure.png&quot; imageanchor=&quot;1&quot; style=&quot;margin-left: 1em; margin-right: 1em;&quot;&gt;&lt;img border=&quot;0&quot; height=&quot;320&quot; src=&quot;https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjJxCn4WTy4ftL19-xw8suBsfS4W7vNGMqYIKW4fxdXkiCD18cbjrzlKTjerHEfBxk8VC3yYG6yGdP2APUsfX1_NJyTEBZyeTOIHvX9eYPyzEMucg8JBfFl4qEepNvkOAeS42uex4QwYPFa/s320/project+structure.png&quot; width=&quot;185&quot; /&gt;&lt;/a&gt;&lt;/div&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;----------------------------------------------------------------------&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;br /&gt;
&lt;span class=&quot;Apple-style-span&quot; style=&quot;color: #019192;&quot;&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;
&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://prajith-javatechnical.blogspot.com/feeds/3749041129419678087/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/03/basic-spring-applcationhello-world.html#comment-form' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/3749041129419678087'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/7304608991043014862/posts/default/3749041129419678087'/><link rel='alternate' type='text/html' href='http://prajith-javatechnical.blogspot.com/2012/03/basic-spring-applcationhello-world.html' title='spring hello world example'/><author><name>Prajith</name><uri>http://www.blogger.com/profile/07475641510583354853</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/AVvXsEjJxCn4WTy4ftL19-xw8suBsfS4W7vNGMqYIKW4fxdXkiCD18cbjrzlKTjerHEfBxk8VC3yYG6yGdP2APUsfX1_NJyTEBZyeTOIHvX9eYPyzEMucg8JBfFl4qEepNvkOAeS42uex4QwYPFa/s72-c/project+structure.png" height="72" width="72"/><thr:total>0</thr:total></entry></feed>