<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<id>tag:old.nabble.com,2006:forum-206</id>
	<title>Nabble - Struts - User</title>
	<updated>2009-11-26T19:17:30Z</updated>
	<link rel="self" type="application/atom+xml" href="http://old.nabble.com/Struts---User-f206.xml" />
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Struts---User-f206.html" />
	<subtitle type="html"></subtitle>
	
<entry>
	<id>tag:old.nabble.com,2006:post-26535859</id>
	<title>Where to disable encrypting of non latin chars?</title>
	<published>2009-11-26T19:17:30Z</published>
	<updated>2009-11-26T19:17:30Z</updated>
	<author>
		<name>Alex Siman</name>
	</author>
	<content type="html">I just have found another issue after upgrading from [2.1.6] -&amp;gt; [2.1.8]. Struts now encode any non latin char to its HTML entity of property.
&lt;br&gt;&lt;br&gt;E.g. now I have such a mess in &amp;nbsp;HTML output (in browser it looks OK):
&lt;br&gt;&amp;#1086;&amp;#1087;&amp;#1080;&amp;#1089;&amp;#1072;&amp;#1085;&amp;#1080;&amp;#1077;
&lt;br&gt;&lt;br&gt;How to disable encoding of every char but leave only encoding of special chars like?:
&lt;br&gt;&amp;lt; &amp;gt; ' &amp;quot;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Where-to-disable-encrypting-of-non-latin-chars--tp26535859p26535859.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26534578</id>
	<title>Re: S2 2.1.8.1: Need custom decapitalization (or leniency similar to  2.1.6)</title>
	<published>2009-11-26T12:32:24Z</published>
	<updated>2009-11-26T12:32:24Z</updated>
	<author>
		<name>Musachy Barroso</name>
	</author>
	<content type="html">You could write your own value stack that extends the OGNLValueStack
&lt;br&gt;and just hacks the property name to make it the right/wrong case, but
&lt;br&gt;oh boy does that scream trouble :)
&lt;br&gt;&lt;br&gt;musachy
&lt;br&gt;&lt;br&gt;On Thu, Nov 26, 2009 at 9:04 AM, Bill Bohnenberger &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534578&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bill98122@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; What an amusing thread. It seems to me the only problem here is the arrogant
&lt;br&gt;&amp;gt; SOB that decided to defy the Bean naming conventions. LOL. (No offense
&lt;br&gt;&amp;gt; intended if he is present company :)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; With affection,
&lt;br&gt;&amp;gt; Bill
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Thu, Nov 26, 2009 at 8:31 AM, Robert Graf-Waczenski &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534578&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rgw@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Rafał Krupiński schrieb:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;  On Thu, Nov 26, 2009 at 4:41 PM, Robert Graf-Waczenski &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534578&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rgw@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; approach, which is tedious work because
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; [...]
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; i have to go through each applicable class and
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; refactor-rename each method.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Please don't try to make us feel guilty :-)
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; You'll get paid for this, we're not.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; In previous post I stated clearly: &amp;quot;If the only problem is the number
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; of methods to be changed&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; not &amp;quot;If you can change only some classes&amp;quot;.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Well, yes, i am getting paid for this. So the time that i need to rename
&lt;br&gt;&amp;gt;&amp;gt; the methods costs my employer big money.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; This is a case of true backwards incompatibility and causes trouble in
&lt;br&gt;&amp;gt;&amp;gt; non-trivial projects such as ours. Other projects may decide to not upgrade
&lt;br&gt;&amp;gt;&amp;gt; from earlier Struts versions to V 2.1.8.1, which is something i would
&lt;br&gt;&amp;gt;&amp;gt; definitely take serious if i were working without getting paid, because
&lt;br&gt;&amp;gt;&amp;gt; having your stuff used by as many people out there as possible is a major
&lt;br&gt;&amp;gt;&amp;gt; point of FOSS, right? Freedom of choice is the other, meaning that we could
&lt;br&gt;&amp;gt;&amp;gt; of course stick with V2.1.6 and patch it to our liking. I personally voted
&lt;br&gt;&amp;gt;&amp;gt; against the latter option and decided to go for the renaming option because
&lt;br&gt;&amp;gt;&amp;gt; we need some other fixes that are available in 2.1.8. And, to tell the
&lt;br&gt;&amp;gt;&amp;gt; truth, our choice to use &amp;quot;getmProperty()&amp;quot; as accessor method naming pattern
&lt;br&gt;&amp;gt;&amp;gt; was a bad one originally but we lived with it since the beginning and are
&lt;br&gt;&amp;gt;&amp;gt; now being bitten in the behind :-)
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Robert
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534578&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534578&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534578&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26534578&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/S2-2.1.8.1%3A-Need-custom-decapitalization-%28or-leniency-similar-to-2.1.6%29-tp26528288p26534578.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26532344</id>
	<title>Re: S2 2.1.8.1: Need custom decapitalization (or leniency similar to  2.1.6)</title>
	<published>2009-11-26T09:04:54Z</published>
	<updated>2009-11-26T09:04:54Z</updated>
	<author>
		<name>Bill Bohnenberger</name>
	</author>
	<content type="html">What an amusing thread. It seems to me the only problem here is the arrogant
&lt;br&gt;SOB that decided to defy the Bean naming conventions. LOL. (No offense
&lt;br&gt;intended if he is present company :)
&lt;br&gt;&lt;br&gt;With affection,
&lt;br&gt;Bill
&lt;br&gt;&lt;br&gt;On Thu, Nov 26, 2009 at 8:31 AM, Robert Graf-Waczenski &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26532344&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rgw@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Rafał Krupiński schrieb:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;On Thu, Nov 26, 2009 at 4:41 PM, Robert Graf-Waczenski &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26532344&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rgw@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; approach, which is tedious work because
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; [...]
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; i have to go through each applicable class and
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; refactor-rename each method.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Please don't try to make us feel guilty :-)
&lt;br&gt;&amp;gt;&amp;gt; You'll get paid for this, we're not.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; In previous post I stated clearly: &amp;quot;If the only problem is the number
&lt;br&gt;&amp;gt;&amp;gt; of methods to be changed&amp;quot;
&lt;br&gt;&amp;gt;&amp;gt; not &amp;quot;If you can change only some classes&amp;quot;.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt; Well, yes, i am getting paid for this. So the time that i need to rename
&lt;br&gt;&amp;gt; the methods costs my employer big money.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; This is a case of true backwards incompatibility and causes trouble in
&lt;br&gt;&amp;gt; non-trivial projects such as ours. Other projects may decide to not upgrade
&lt;br&gt;&amp;gt; from earlier Struts versions to V 2.1.8.1, which is something i would
&lt;br&gt;&amp;gt; definitely take serious if i were working without getting paid, because
&lt;br&gt;&amp;gt; having your stuff used by as many people out there as possible is a major
&lt;br&gt;&amp;gt; point of FOSS, right? Freedom of choice is the other, meaning that we could
&lt;br&gt;&amp;gt; of course stick with V2.1.6 and patch it to our liking. I personally voted
&lt;br&gt;&amp;gt; against the latter option and decided to go for the renaming option because
&lt;br&gt;&amp;gt; we need some other fixes that are available in 2.1.8. And, to tell the
&lt;br&gt;&amp;gt; truth, our choice to use &amp;quot;getmProperty()&amp;quot; as accessor method naming pattern
&lt;br&gt;&amp;gt; was a bad one originally but we lived with it since the beginning and are
&lt;br&gt;&amp;gt; now being bitten in the behind :-)
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Robert
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26532344&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26532344&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/S2-2.1.8.1%3A-Need-custom-decapitalization-%28or-leniency-similar-to-2.1.6%29-tp26528288p26532344.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26531857</id>
	<title>Re: S2 2.1.8.1: Need custom decapitalization (or leniency similar to        2.1.6)</title>
	<published>2009-11-26T08:30:18Z</published>
	<updated>2009-11-26T08:30:18Z</updated>
	<author>
		<name>Robert Graf-Waczenski</name>
	</author>
	<content type="html">Rafał Krupiński schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; On Thu, Nov 26, 2009 at 4:41 PM, Robert Graf-Waczenski &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531857&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rgw@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; approach, which is tedious work because
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt; [...]
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; i have to go through each applicable class and
&lt;br&gt;&amp;gt;&amp;gt; refactor-rename each method.
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Please don't try to make us feel guilty :-)
&lt;br&gt;&amp;gt; You'll get paid for this, we're not.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; In previous post I stated clearly: &amp;quot;If the only problem is the number
&lt;br&gt;&amp;gt; of methods to be changed&amp;quot;
&lt;br&gt;&amp;gt; not &amp;quot;If you can change only some classes&amp;quot;.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;Well, yes, i am getting paid for this. So the time that i need to rename 
&lt;br&gt;the methods costs my employer big money.
&lt;br&gt;&lt;br&gt;This is a case of true backwards incompatibility and causes trouble in 
&lt;br&gt;non-trivial projects such as ours. Other projects may decide to not 
&lt;br&gt;upgrade from earlier Struts versions to V 2.1.8.1, which is something i 
&lt;br&gt;would definitely take serious if i were working without getting paid, 
&lt;br&gt;because having your stuff used by as many people out there as possible 
&lt;br&gt;is a major point of FOSS, right? Freedom of choice is the other, meaning 
&lt;br&gt;that we could of course stick with V2.1.6 and patch it to our liking. I 
&lt;br&gt;personally voted against the latter option and decided to go for the 
&lt;br&gt;renaming option because we need some other fixes that are available in 
&lt;br&gt;2.1.8. And, to tell the truth, our choice to use &amp;quot;getmProperty()&amp;quot; as 
&lt;br&gt;accessor method naming pattern was a bad one originally but we lived 
&lt;br&gt;with it since the beginning and are now being bitten in the behind :-)
&lt;br&gt;&lt;br&gt;Robert
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531857&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531857&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/S2-2.1.8.1%3A-Need-custom-decapitalization-%28or-leniency-similar-to-2.1.6%29-tp26528288p26531857.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26531645</id>
	<title>Re: S2 2.1.8.1: Need custom decapitalization (or leniency similar to  2.1.6)</title>
	<published>2009-11-26T08:14:14Z</published>
	<updated>2009-11-26T08:14:14Z</updated>
	<author>
		<name>Rafał Krupiński-2</name>
	</author>
	<content type="html">On Thu, Nov 26, 2009 at 4:41 PM, Robert Graf-Waczenski &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531645&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rgw@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; approach, which is tedious work because
&lt;br&gt;[...]
&lt;br&gt;&amp;gt;i have to go through each applicable class and
&lt;br&gt;&amp;gt; refactor-rename each method.
&lt;br&gt;&lt;br&gt;Please don't try to make us feel guilty :-)
&lt;br&gt;You'll get paid for this, we're not.
&lt;br&gt;&lt;br&gt;In previous post I stated clearly: &amp;quot;If the only problem is the number
&lt;br&gt;of methods to be changed&amp;quot;
&lt;br&gt;not &amp;quot;If you can change only some classes&amp;quot;.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Pozdrawiam / Best Regards
&lt;br&gt;Rafal Krupinski
&lt;br&gt;&lt;a href=&quot;http://www.linkedin.com/in/krupinskir&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.linkedin.com/in/krupinskir&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531645&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531645&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/S2-2.1.8.1%3A-Need-custom-decapitalization-%28or-leniency-similar-to-2.1.6%29-tp26528288p26531645.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26531615</id>
	<title>Re: S2 2.1.8.1: Need custom decapitalization (or leniency similar to  2.1.6)</title>
	<published>2009-11-26T08:11:42Z</published>
	<updated>2009-11-26T08:11:42Z</updated>
	<author>
		<name>Rafał Krupiński-2</name>
	</author>
	<content type="html">On Thu, Nov 26, 2009 at 4:01 PM, Robert Graf-Waczenski &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531615&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rgw@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; we do of course use a refactoring tool, but we are talking about a huge
&lt;br&gt;&amp;gt; amount of methods. I'm not aware of a refactoring tool that would allow me
&lt;br&gt;&amp;gt; to rename *all* methods in *one* step.
&lt;br&gt;&lt;br&gt;jEdit should be powerful enough to open each java file in project
&lt;br&gt;directory, find all strings matching regex:
&lt;br&gt;([sg]et)([a-z])Property\(
&lt;br&gt;replace it with:
&lt;br&gt;$1\u$2Property\(
&lt;br&gt;&lt;br&gt;This should work for both getters and setters and make first character
&lt;br&gt;upper case, assuming you have get[1character]Property() pattern.
&lt;br&gt;&lt;br&gt;All this in one step.
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Pozdrawiam / Best Regards
&lt;br&gt;Rafal Krupinski
&lt;br&gt;&lt;a href=&quot;http://www.linkedin.com/in/krupinskir&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.linkedin.com/in/krupinskir&lt;/a&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531615&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531615&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/S2-2.1.8.1%3A-Need-custom-decapitalization-%28or-leniency-similar-to-2.1.6%29-tp26528288p26531615.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26531265</id>
	<title>Use of hashcode as ETag in Rest plugin.</title>
	<published>2009-11-26T07:44:15Z</published>
	<updated>2009-11-26T07:44:15Z</updated>
	<author>
		<name>Unmesh joshi</name>
	</author>
	<content type="html">&lt;br&gt;Hi,
&lt;br&gt;Rest plugin's DefaultHttpHeaders class uses hashCode of the model object (if the action is model driven) or hascode of the action object.I guess its a wrong assumption to make that two different objects will have different hashcodes. So we can have same hashcode even if model objects are not equal and that will wrongly send 304 response even if resource is changed. Is this a known bug in REST plugin?I have also posted this on struts dev mailing list.
&lt;br&gt;Thanks,Unmesh &amp;nbsp;		 	 &amp;nbsp; 		 &amp;nbsp;
&lt;br&gt;_________________________________________________________________
&lt;br&gt;Windows 7: Find the right PC for you. Learn more.
&lt;br&gt;&lt;a href=&quot;http://windows.microsoft.com/shop&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://windows.microsoft.com/shop&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Use-of-hashcode-as-ETag-in-Rest-plugin.-tp26531265p26531265.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26531228</id>
	<title>Re: S2 2.1.8.1: Need custom decapitalization (or leniency similar to        2.1.6)</title>
	<published>2009-11-26T07:41:44Z</published>
	<updated>2009-11-26T07:41:44Z</updated>
	<author>
		<name>Robert Graf-Waczenski</name>
	</author>
	<content type="html">Well, i was hoping for an interceptor-based solution. But since 
&lt;br&gt;something like this apparently is unavailable, i'm going for the method 
&lt;br&gt;renaming approach, which is tedious work because i'm only changing the 
&lt;br&gt;classes that are used by the Struts2 part of our codebase. So a global 
&lt;br&gt;search/replace approach will not work, i have to go through each 
&lt;br&gt;applicable class and refactor-rename each method.
&lt;br&gt;&lt;br&gt;Robert
&lt;br&gt;&lt;br&gt;Paweł Wielgus schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi Robert,
&lt;br&gt;&amp;gt; maybe not in one step,
&lt;br&gt;&amp;gt; but for sure it's pretty easy to do.
&lt;br&gt;&amp;gt; Just look for &amp;quot;public [^ ]+ get[a-z]&amp;quot; regexp in your codebase, and
&lt;br&gt;&amp;gt; eclipse will do the rest,
&lt;br&gt;&amp;gt; plus there's a bonus, You don't need to change anything in your jsp files.
&lt;br&gt;&amp;gt; Ant to be absolutely sure everything worked well
&lt;br&gt;&amp;gt; simply run all your tests after the refactoring.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; But of course it's for You to decide what to do.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Best greetings,
&lt;br&gt;&amp;gt; Paweł Wielgus.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; 2009/11/26 Robert Graf-Waczenski &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531228&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rgw@...&lt;/a&gt;&amp;gt;:
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; we do of course use a refactoring tool, but we are talking about a huge
&lt;br&gt;&amp;gt;&amp;gt; amount of methods. I'm not aware of a refactoring tool that would allow me
&lt;br&gt;&amp;gt;&amp;gt; to rename *all* methods in *one* step.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Robert
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Rafał Krupiński schrieb:
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Robert Graf-Waczenski pisze:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; [...]
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; Since we (obviously) don't want to rename the myriads of getters/setters,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; i'd like to know if there is a way around this, maybe with a custom
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; interceptor somewhere?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; If the only problem is the number of methods to be changed, maybe you
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; should consider using a refactoring tool.
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; -you do that only once
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; -your code is kosher
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; -you don't get performance overhead introduced by another interceptor
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Regards
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Rafał
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531228&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531228&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531228&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531228&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531228&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531228&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp; 
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531228&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26531228&amp;i=8&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/S2-2.1.8.1%3A-Need-custom-decapitalization-%28or-leniency-similar-to-2.1.6%29-tp26528288p26531228.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26530955</id>
	<title>Re: S2 2.1.8.1: Need custom decapitalization (or leniency similar to  2.1.6)</title>
	<published>2009-11-26T07:22:08Z</published>
	<updated>2009-11-26T07:22:08Z</updated>
	<author>
		<name>Paweł Wielgus</name>
	</author>
	<content type="html">Hi Robert,
&lt;br&gt;maybe not in one step,
&lt;br&gt;but for sure it's pretty easy to do.
&lt;br&gt;Just look for &amp;quot;public [^ ]+ get[a-z]&amp;quot; regexp in your codebase, and
&lt;br&gt;eclipse will do the rest,
&lt;br&gt;plus there's a bonus, You don't need to change anything in your jsp files.
&lt;br&gt;Ant to be absolutely sure everything worked well
&lt;br&gt;simply run all your tests after the refactoring.
&lt;br&gt;&lt;br&gt;But of course it's for You to decide what to do.
&lt;br&gt;&lt;br&gt;Best greetings,
&lt;br&gt;Paweł Wielgus.
&lt;br&gt;&lt;br&gt;&lt;br&gt;2009/11/26 Robert Graf-Waczenski &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530955&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rgw@...&lt;/a&gt;&amp;gt;:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; we do of course use a refactoring tool, but we are talking about a huge
&lt;br&gt;&amp;gt; amount of methods. I'm not aware of a refactoring tool that would allow me
&lt;br&gt;&amp;gt; to rename *all* methods in *one* step.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Robert
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Rafał Krupiński schrieb:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Robert Graf-Waczenski pisze:
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; [...]
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Since we (obviously) don't want to rename the myriads of getters/setters,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; i'd like to know if there is a way around this, maybe with a custom
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; interceptor somewhere?
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi
&lt;br&gt;&amp;gt;&amp;gt; If the only problem is the number of methods to be changed, maybe you
&lt;br&gt;&amp;gt;&amp;gt; should consider using a refactoring tool.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -you do that only once
&lt;br&gt;&amp;gt;&amp;gt; -your code is kosher
&lt;br&gt;&amp;gt;&amp;gt; -you don't get performance overhead introduced by another interceptor
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Regards
&lt;br&gt;&amp;gt;&amp;gt; Rafał
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530955&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530955&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530955&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530955&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530955&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530955&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/S2-2.1.8.1%3A-Need-custom-decapitalization-%28or-leniency-similar-to-2.1.6%29-tp26528288p26530955.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26530910</id>
	<title>Re: S2 2.1.8.1: Need custom decapitalization (or leniency similar to  2.1.6)</title>
	<published>2009-11-26T07:19:30Z</published>
	<updated>2009-11-26T07:19:30Z</updated>
	<author>
		<name>Saeed Iqbal-2</name>
	</author>
	<content type="html">I would think that is a feature of Struts that it requires proper OOP names.
&lt;br&gt;&lt;br&gt;On Thu, Nov 26, 2009 at 8:01 PM, Robert Graf-Waczenski &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530910&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;rgw@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; we do of course use a refactoring tool, but we are talking about a huge
&lt;br&gt;&amp;gt; amount of methods. I'm not aware of a refactoring tool that would allow me
&lt;br&gt;&amp;gt; to rename *all* methods in *one* step.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Robert
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Rafał Krupiński schrieb:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;nbsp;Robert Graf-Waczenski pisze:
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; [...]
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; Since we (obviously) don't want to rename the myriads of getters/setters,
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; i'd like to know if there is a way around this, maybe with a custom
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt; interceptor somewhere?
&lt;br&gt;&amp;gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Hi
&lt;br&gt;&amp;gt;&amp;gt; If the only problem is the number of methods to be changed, maybe you
&lt;br&gt;&amp;gt;&amp;gt; should consider using a refactoring tool.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -you do that only once
&lt;br&gt;&amp;gt;&amp;gt; -your code is kosher
&lt;br&gt;&amp;gt;&amp;gt; -you don't get performance overhead introduced by another interceptor
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Regards
&lt;br&gt;&amp;gt;&amp;gt; Rafał
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530910&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530910&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530910&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530910&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Saeed Iqbal
&lt;br&gt;&lt;a href=&quot;http://www.iqbalconsulting.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.iqbalconsulting.com&lt;/a&gt;&lt;br&gt;Struts - J2EE - Application Architect / Developer
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/S2-2.1.8.1%3A-Need-custom-decapitalization-%28or-leniency-similar-to-2.1.6%29-tp26528288p26530910.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26530648</id>
	<title>Re: S2 2.1.8.1: Need custom decapitalization (or leniency similar to 2.1.6)</title>
	<published>2009-11-26T07:01:52Z</published>
	<updated>2009-11-26T07:01:52Z</updated>
	<author>
		<name>Robert Graf-Waczenski</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;we do of course use a refactoring tool, but we are talking about a huge 
&lt;br&gt;amount of methods. I'm not aware of a refactoring tool that would allow 
&lt;br&gt;me to rename *all* methods in *one* step.
&lt;br&gt;&lt;br&gt;Robert
&lt;br&gt;&lt;br&gt;Rafał Krupiński schrieb:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Robert Graf-Waczenski pisze:
&lt;br&gt;&amp;gt;&amp;gt; Hi,
&lt;br&gt;&amp;gt; [...]
&lt;br&gt;&amp;gt;&amp;gt; Since we (obviously) don't want to rename the myriads of 
&lt;br&gt;&amp;gt;&amp;gt; getters/setters, i'd like to know if there is a way around this, 
&lt;br&gt;&amp;gt;&amp;gt; maybe with a custom interceptor somewhere?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Hi
&lt;br&gt;&amp;gt; If the only problem is the number of methods to be changed, maybe you 
&lt;br&gt;&amp;gt; should consider using a refactoring tool.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -you do that only once
&lt;br&gt;&amp;gt; -your code is kosher
&lt;br&gt;&amp;gt; -you don't get performance overhead introduced by another interceptor
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Regards
&lt;br&gt;&amp;gt; Rafał
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530648&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530648&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530648&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530648&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/S2-2.1.8.1%3A-Need-custom-decapitalization-%28or-leniency-similar-to-2.1.6%29-tp26528288p26530648.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26530556</id>
	<title>Re: redirect command</title>
	<published>2009-11-26T06:54:20Z</published>
	<updated>2009-11-26T06:54:20Z</updated>
	<author>
		<name>Saeed Iqbal-2</name>
	</author>
	<content type="html">In Java Action Bean you would just have to return a specific string that
&lt;br&gt;struts.xml uses.
&lt;br&gt;&lt;br&gt;On Thu, Nov 26, 2009 at 7:53 PM, Saeed Iqbal &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530556&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;saeedcs@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Instead of programmatically doing it, you can just specify redirect in your
&lt;br&gt;&amp;gt; struts.xml file to the place you want.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Thu, Nov 26, 2009 at 7:49 PM, Nguyen Xuan Son &amp;lt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530556&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nr0003xx@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; dear all
&lt;br&gt;&amp;gt;&amp;gt; im trying to deny any users whose session is not exist, access to my
&lt;br&gt;&amp;gt;&amp;gt; webpage
&lt;br&gt;&amp;gt;&amp;gt; thus im using the source code
&lt;br&gt;&amp;gt;&amp;gt; Map ses = ActionContext.getContext().getSession();
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; if((ses.get(&amp;quot;context&amp;quot;).toString()==&amp;quot;&amp;quot;)&amp;&amp;(ses.get(&amp;quot;role&amp;quot;).toString()!=&amp;quot;admin&amp;quot;)){
&lt;br&gt;&amp;gt;&amp;gt; &amp;nbsp;//redirect to login page
&lt;br&gt;&amp;gt;&amp;gt; }
&lt;br&gt;&amp;gt;&amp;gt; However, i dont know which command should i use to redirect to the login
&lt;br&gt;&amp;gt;&amp;gt; page
&lt;br&gt;&amp;gt;&amp;gt; Please help me
&lt;br&gt;&amp;gt;&amp;gt; Thank you very much
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; =======================================================================
&lt;br&gt;&amp;gt;&amp;gt; Ritsumeikan University, Asia JinZai Project
&lt;br&gt;&amp;gt;&amp;gt; Master of Information Science
&lt;br&gt;&amp;gt;&amp;gt; Nguyen Xuan Son
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Add &amp;nbsp; &amp;nbsp; &amp;nbsp; : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18
&lt;br&gt;&amp;gt;&amp;gt; ShiteiHaimu
&lt;br&gt;&amp;gt;&amp;gt; Rien, Room 103
&lt;br&gt;&amp;gt;&amp;gt; Tel/Fax &amp;nbsp;: 81-(0)90-3976 2246
&lt;br&gt;&amp;gt;&amp;gt; Email &amp;nbsp; &amp;nbsp;: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530556&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nr0003xx@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; Mobile &amp;nbsp; : 81-(0)90-3976 2246 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL &amp;nbsp;: &lt;a href=&quot;http://www.ritsumei.jp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ritsumei.jp&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; =======================================================================
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Saeed Iqbal
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.iqbalconsulting.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.iqbalconsulting.com&lt;/a&gt;&lt;br&gt;&amp;gt; Struts - J2EE - Application Architect / Developer
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Saeed Iqbal
&lt;br&gt;&lt;a href=&quot;http://www.iqbalconsulting.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.iqbalconsulting.com&lt;/a&gt;&lt;br&gt;Struts - J2EE - Application Architect / Developer
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/redirect-command-tp26530498p26530556.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26530541</id>
	<title>Re: redirect command</title>
	<published>2009-11-26T06:53:16Z</published>
	<updated>2009-11-26T06:53:16Z</updated>
	<author>
		<name>Saeed Iqbal-2</name>
	</author>
	<content type="html">Instead of programmatically doing it, you can just specify redirect in your
&lt;br&gt;struts.xml file to the place you want.
&lt;br&gt;&lt;br&gt;On Thu, Nov 26, 2009 at 7:49 PM, Nguyen Xuan Son &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530541&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nr0003xx@...&lt;/a&gt;
&lt;br&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; dear all
&lt;br&gt;&amp;gt; im trying to deny any users whose session is not exist, access to my
&lt;br&gt;&amp;gt; webpage
&lt;br&gt;&amp;gt; thus im using the source code
&lt;br&gt;&amp;gt; Map ses = ActionContext.getContext().getSession();
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; if((ses.get(&amp;quot;context&amp;quot;).toString()==&amp;quot;&amp;quot;)&amp;&amp;(ses.get(&amp;quot;role&amp;quot;).toString()!=&amp;quot;admin&amp;quot;)){
&lt;br&gt;&amp;gt; &amp;nbsp;//redirect to login page
&lt;br&gt;&amp;gt; }
&lt;br&gt;&amp;gt; However, i dont know which command should i use to redirect to the login
&lt;br&gt;&amp;gt; page
&lt;br&gt;&amp;gt; Please help me
&lt;br&gt;&amp;gt; Thank you very much
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; =======================================================================
&lt;br&gt;&amp;gt; Ritsumeikan University, Asia JinZai Project
&lt;br&gt;&amp;gt; Master of Information Science
&lt;br&gt;&amp;gt; Nguyen Xuan Son
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Add &amp;nbsp; &amp;nbsp; &amp;nbsp; : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18
&lt;br&gt;&amp;gt; ShiteiHaimu
&lt;br&gt;&amp;gt; Rien, Room 103
&lt;br&gt;&amp;gt; Tel/Fax &amp;nbsp;: 81-(0)90-3976 2246
&lt;br&gt;&amp;gt; Email &amp;nbsp; &amp;nbsp;: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530541&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nr0003xx@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Mobile &amp;nbsp; : 81-(0)90-3976 2246 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL &amp;nbsp;: &lt;a href=&quot;http://www.ritsumei.jp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ritsumei.jp&lt;/a&gt;&lt;br&gt;&amp;gt; =======================================================================
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Saeed Iqbal
&lt;br&gt;&lt;a href=&quot;http://www.iqbalconsulting.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.iqbalconsulting.com&lt;/a&gt;&lt;br&gt;Struts - J2EE - Application Architect / Developer
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/redirect-command-tp26530498p26530541.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26530498</id>
	<title>redirect command</title>
	<published>2009-11-26T06:49:56Z</published>
	<updated>2009-11-26T06:49:56Z</updated>
	<author>
		<name>Nguyen Xuan Son-2</name>
	</author>
	<content type="html">dear all
&lt;br&gt;im trying to deny any users whose session is not exist, access to my webpage
&lt;br&gt;thus im using the source code
&lt;br&gt;Map ses = ActionContext.getContext().getSession();
&lt;br&gt;if((ses.get(&amp;quot;context&amp;quot;).toString()==&amp;quot;&amp;quot;)&amp;&amp;(ses.get(&amp;quot;role&amp;quot;).toString()!=&amp;quot;admin&amp;quot;)){
&lt;br&gt;&amp;nbsp;//redirect to login page
&lt;br&gt;}
&lt;br&gt;However, i dont know which command should i use to redirect to the login
&lt;br&gt;page
&lt;br&gt;Please help me
&lt;br&gt;Thank you very much
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;=======================================================================
&lt;br&gt;Ritsumeikan University, Asia JinZai Project
&lt;br&gt;Master of Information Science
&lt;br&gt;Nguyen Xuan Son
&lt;br&gt;&lt;br&gt;Add &amp;nbsp; &amp;nbsp; &amp;nbsp; : Japan, Shiga-Ken, Kusatsu-Shi, Kasayama 3choume 1-18 ShiteiHaimu
&lt;br&gt;Rien, Room 103
&lt;br&gt;Tel/Fax &amp;nbsp;: 81-(0)90-3976 2246
&lt;br&gt;Email &amp;nbsp; &amp;nbsp;: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530498&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nr0003xx@...&lt;/a&gt;
&lt;br&gt;Mobile &amp;nbsp; : 81-(0)90-3976 2246 &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;URL &amp;nbsp;: &lt;a href=&quot;http://www.ritsumei.jp&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.ritsumei.jp&lt;/a&gt;&lt;br&gt;=======================================================================
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/redirect-command-tp26530498p26530498.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26530125</id>
	<title>Re: S2 2.1.8.1: Need custom decapitalization (or leniency similar to 2.1.6)</title>
	<published>2009-11-26T06:21:26Z</published>
	<updated>2009-11-26T06:21:26Z</updated>
	<author>
		<name>Rafał Krupiński-2</name>
	</author>
	<content type="html">Robert Graf-Waczenski pisze:
&lt;br&gt;&amp;gt; Hi,
&lt;br&gt;[...]
&lt;br&gt;&amp;gt; Since we (obviously) don't want to rename the myriads of 
&lt;br&gt;&amp;gt; getters/setters, i'd like to know if there is a way around this, maybe 
&lt;br&gt;&amp;gt; with a custom interceptor somewhere?
&lt;br&gt;&lt;br&gt;Hi
&lt;br&gt;If the only problem is the number of methods to be changed, maybe you should consider using a refactoring tool.
&lt;br&gt;&lt;br&gt;-you do that only once
&lt;br&gt;-your code is kosher
&lt;br&gt;-you don't get performance overhead introduced by another interceptor
&lt;br&gt;&lt;br&gt;&lt;br&gt;Regards
&lt;br&gt;Rafał
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530125&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26530125&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/S2-2.1.8.1%3A-Need-custom-decapitalization-%28or-leniency-similar-to-2.1.6%29-tp26528288p26530125.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26529309</id>
	<title>RE: Preserving Messages and Garbage values Across a Redirect in  Struts 2</title>
	<published>2009-11-26T05:13:15Z</published>
	<updated>2009-11-26T05:13:15Z</updated>
	<author>
		<name>raghuveerv</name>
	</author>
	<content type="html">Messages are stored since you use RedirectMessageInterceptor.
&lt;br&gt;&lt;br&gt;Action property Data is not retained during redirect.
&lt;br&gt;&lt;br&gt;Try following scenarios,
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Method1:
&lt;br&gt;&lt;br&gt;So you need to set explicitly from Action property to ActionContext in
&lt;br&gt;Action1 and Need to retrive from the context and set to properties in
&lt;br&gt;Action2.
&lt;br&gt;&lt;br&gt;Method2:
&lt;br&gt;&lt;br&gt;Try to use alias interceptor and put alias through the &amp;lt;param&amp;gt; tag in
&lt;br&gt;struts.xml &amp;nbsp;of Action1 and Action2 properties as below.
&lt;br&gt;&lt;br&gt;&amp;lt;param name=&amp;quot;aliases&amp;quot;&amp;gt;#{ 'action1Property1' : 'action2Property1',
&lt;br&gt;'action2Property2' : 'action2Property2'}&amp;lt;/param&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;interceptor-ref name=&amp;quot;alias&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Method3:
&lt;br&gt;&lt;br&gt;Have you tried chain instead of redirectaction and use same properties in
&lt;br&gt;Action1 and Action2.
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Regards,
&lt;br&gt;Raghuveer Vellanki
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: Siddiq Syed [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26529309&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;siddiq_sa@...&lt;/a&gt;] 
&lt;br&gt;Sent: Friday, October 30, 2009 1:43 AM
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26529309&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;Subject: Re: Preserving Messages and Garbage values Across a Redirect in
&lt;br&gt;Struts 2
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;I donno If i can able to explain it to you, I will try my &amp;nbsp;best , here is
&lt;br&gt;the
&lt;br&gt;&lt;br&gt;secinario
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Step 1. &amp;nbsp;When the user click the button on the page, depend on the string
&lt;br&gt;&lt;br&gt;return from the action method the page will be display and is configured in
&lt;br&gt;&lt;br&gt;the struts.xml file as mention below.
&lt;br&gt;&lt;br&gt;&amp;nbsp; 
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;action name=&amp;quot;determineCaseEvaluationType&amp;quot; 
&lt;br&gt;&lt;br&gt;class=&amp;quot;com.activity.EvaluateCaseAction&amp;quot;
&lt;br&gt;&lt;br&gt;method=&amp;quot;determineCaseEvaluationType&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;result name=&amp;quot;guidelInitConsid&amp;quot;
&lt;br&gt;&lt;br&gt;type=&amp;quot;tiles&amp;quot;&amp;gt;editGuidelinesCaseEvaluation&amp;lt;/result&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;result name=&amp;quot;shrtsntcInitConsid&amp;quot;
&lt;br&gt;&lt;br&gt;type=&amp;quot;tiles&amp;quot;&amp;gt;editShortSentenceCaseEvaluation&amp;lt;/result&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;result name=&amp;quot;sscat2p1InitConsid&amp;quot;
&lt;br&gt;&lt;br&gt;type=&amp;quot;tiles&amp;quot;&amp;gt;editShortSentenceCaseEvaluation&amp;lt;/result&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/action&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;step 2. There are fields in the pages like 10 text boxes 2 drop down and 2
&lt;br&gt;&lt;br&gt;radio buttons , when I fill all the field and click submit it will do the
&lt;br&gt;&lt;br&gt;neccessary business operation and return the string to which page is to
&lt;br&gt;&lt;br&gt;display, and is mention in the struts.xml file as mention below
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;action name=&amp;quot;saveInitConsiderationEval&amp;quot;
&lt;br&gt;&lt;br&gt;class=&amp;quot;com.activity.EvaluateCaseAction&amp;quot; &amp;nbsp;method=&amp;quot;saveInitConsiderationEval&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;interceptor-ref name=&amp;quot;redirectInput&amp;quot;/&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;result name=&amp;quot;success&amp;quot; type=&amp;quot;redirect-action&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; determineCaseEvaluationType
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/result&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;result name=&amp;quot;input&amp;quot; type=&amp;quot;redirect-action&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; determineCaseEvaluationTypeForInput
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/result&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/action&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;step 3. : when valiations fails I need to determine on which page
&lt;br&gt;&lt;br&gt;validations failed and hence I am forwarding the the input to method which
&lt;br&gt;&lt;br&gt;it will determine what page to be displayed.
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;lt;action name=&amp;quot;determineCaseEvaluationTypeForInput&amp;quot;
&lt;br&gt;&lt;br&gt;class=&amp;quot;us.ga.state.pap.cons.clemency.presentation.action.activity.EvaluateCa
&lt;br&gt;seAction&amp;quot;
&lt;br&gt;&lt;br&gt;method=&amp;quot;determineCaseEvaluationTypeForInput&amp;quot;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;result name=&amp;quot;guidelInitConsid&amp;quot;
&lt;br&gt;&lt;br&gt;type=&amp;quot;tiles&amp;quot;&amp;gt;editGuidelinesCaseEvaluation&amp;lt;/result&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;result name=&amp;quot;shrtsntcInitConsid&amp;quot;
&lt;br&gt;&lt;br&gt;type=&amp;quot;tiles&amp;quot;&amp;gt;editShortSentenceCaseEvaluation&amp;lt;/result&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;result name=&amp;quot;sscat2p1InitConsid&amp;quot;
&lt;br&gt;&lt;br&gt;type=&amp;quot;tiles&amp;quot;&amp;gt;editShortSentenceCaseEvaluation&amp;lt;/result&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;lt;/action&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;I hope you got the sicenario , Its tofugh to explain whatz going on in the
&lt;br&gt;&lt;br&gt;mind !
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Thanks
&lt;br&gt;&lt;br&gt;Siddiq.
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;Greg Lindholm-2 wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt; Still don't understand why you need to redirect on input result.
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt; Normally when validation fails you want to return the user back to the
&lt;br&gt;&lt;br&gt;&amp;gt; same
&lt;br&gt;&lt;br&gt;&amp;gt; page. If you dispatch back to the input jsp page (instead of redirect)
&lt;br&gt;&lt;br&gt;&amp;gt; then
&lt;br&gt;&lt;br&gt;&amp;gt; all the input parameters will be there so can be redisplayed with the
&lt;br&gt;&lt;br&gt;&amp;gt; error
&lt;br&gt;&lt;br&gt;&amp;gt; messages.
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt; &amp;lt;result name=&amp;quot;input&amp;quot;&amp;gt;/myInputPage.jsp&amp;lt;/result&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt; Maybe if you posted your struts config and gave a more detailed
&lt;br&gt;&lt;br&gt;&amp;gt; explanation
&lt;br&gt;&lt;br&gt;&amp;gt; someone could help you with a better solution.
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt; On Thu, Oct 29, 2009 at 3:13 PM, Siddiq Syed &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26529309&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;siddiq_sa@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; Hi Greg,
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; Thanks for your quick repley,!
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; The reason for doing a redirect on the input is that system needs to
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; determine what will be the page to display next along with the error
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; messages and the garbage values.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; As a temporary solution i am using the getter and setter methods of the
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; variables of View bean ,storing the request values &amp;nbsp;in a temporary
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; session
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; and retriving it in the redirect method of action. and setting back in
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; the
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; request. -:) which i Guess in not a good approach.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; But i Guess there should be some way other than the above.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; Thanks
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; Siddiq.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; Greg Lindholm-2 wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; The short answer is don't redirect when validation fails.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; For results of &amp;quot;input&amp;quot; you should not be doing a redirect or you get
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; the
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; problem you described.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; On Thu, Oct 29, 2009 at 11:13 AM, Siddiq Syed &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26529309&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;siddiq_sa@...&lt;/a&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Hi all,
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; I have been using Glindholm's RedirectMessageInterceptor &amp;nbsp;to perserve
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; the
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; validations/error messages and is working absoulty fine.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; But the problem is the values in the fields are not stored.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; If a form has 10 fields of which 2 fields are not valid(It does not
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; pass
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; validation), Intercerptor displays the error message but doesnot shows
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; the
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; values in the fields of the form.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; I hope you guys got the problem. I don't want the user to enter all
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; the
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; values every time even if the validation fails for 1 or 2 field.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Please let me know if you have occured this problem and have the
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; solution
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; for the same.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Thanks in advance.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; &lt;a href=&quot;http://glindholm.wordpress.com/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://glindholm.wordpress.com/&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Thanks
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Siddiq.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; --
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; View this message in context:
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/Preserving-Messages-and-Garbage-values-Across-a-Redire&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Preserving-Messages-and-Garbage-values-Across-a-Redire&lt;/a&gt;&lt;br&gt;ct-in-Struts-2-tp26114968p26114968.html
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; Sent from the Struts - User mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26529309&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26529309&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; :-((
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; View this message in context:
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/Preserving-Messages-and-Garbage-values-Across-a-Redire&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Preserving-Messages-and-Garbage-values-Across-a-Redire&lt;/a&gt;&lt;br&gt;ct-in-Struts-2-tp26114968p26119066.html
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; Sent from the Struts - User mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26529309&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26529309&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;&lt;br&gt;View this message in context:
&lt;br&gt;&lt;a href=&quot;http://www.nabble.com/Preserving-Messages-and-Garbage-values-Across-a-Redire&quot; target=&quot;_top&quot;&gt;http://www.nabble.com/Preserving-Messages-and-Garbage-values-Across-a-Redire&lt;/a&gt;&lt;br&gt;ct-in-Struts-2-tp26114968p26119902.html
&lt;br&gt;&lt;br&gt;Sent from the Struts - User mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Preserving-Messages-and-Garbage-values-Across-a-Redirect-in-Struts-2-tp26114968p26529309.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26529210</id>
	<title>Re: Struts 1.1 To Struts2.x Migration</title>
	<published>2009-11-26T05:08:11Z</published>
	<updated>2009-11-26T05:08:11Z</updated>
	<author>
		<name>Saeed Iqbal-2</name>
	</author>
	<content type="html">I suggest first try to migrate a small project to 2.1 from 1.x and then move
&lt;br&gt;to your production application.
&lt;br&gt;&lt;br&gt;If you want a sample 2.1 application, you can get it here
&lt;br&gt;&lt;a href=&quot;http://code.google.com/p/startsoft/&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://code.google.com/p/startsoft/&lt;/a&gt;&amp;nbsp;(It has some bugs)
&lt;br&gt;&lt;br&gt;On Thu, Nov 26, 2009 at 6:02 PM, Johannes Geppert &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26529210&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jogep@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; do you know the migration guide from struts2 wiki?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://struts.apache.org/2.x/docs/migration-guide.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://struts.apache.org/2.x/docs/migration-guide.html&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Best Regards
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Johannes Geppert
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Zaheer Mohammad wrote:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hi Friends,
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I am working on a project which is set to migrate from
&lt;br&gt;&amp;gt; &amp;gt; struts1.1 to struts2.x.
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;can anyone send me any links or information about migration
&lt;br&gt;&amp;gt; &amp;gt; strategies
&lt;br&gt;&amp;gt; &amp;gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from which i can briefly get an idea of migration especially
&lt;br&gt;&amp;gt; &amp;gt; from *Struts1.1
&lt;br&gt;&amp;gt; &amp;gt; to Struts2.x.*
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Thanks And Regards
&lt;br&gt;&amp;gt; &amp;gt; Zaheer Mohammad
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -----
&lt;br&gt;&amp;gt; ---
&lt;br&gt;&amp;gt; web: &lt;a href=&quot;http://www.jgeppert.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jgeppert.com&lt;/a&gt;&lt;br&gt;&amp;gt; twitter: &lt;a href=&quot;http://twitter.com/jogep&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://twitter.com/jogep&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/Struts-1.1-To-Struts2.x-Migration-tp26527384p26529148.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Struts-1.1-To-Struts2.x-Migration-tp26527384p26529148.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Struts - User mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26529210&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26529210&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Saeed Iqbal
&lt;br&gt;CEO
&lt;br&gt;&lt;a href=&quot;http://www.iqbalconsulting.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.iqbalconsulting.com&lt;/a&gt;&lt;br&gt;Struts - J2EE - Application Architects and Developers
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Struts-1.1-To-Struts2.x-Migration-tp26527384p26529210.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26529148</id>
	<title>Re: Struts 1.1 To Struts2.x Migration</title>
	<published>2009-11-26T05:02:52Z</published>
	<updated>2009-11-26T05:02:52Z</updated>
	<author>
		<name>Johannes Geppert</name>
	</author>
	<content type="html">do you know the migration guide from struts2 wiki?
&lt;br&gt;&lt;br&gt;&lt;a href=&quot;http://struts.apache.org/2.x/docs/migration-guide.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://struts.apache.org/2.x/docs/migration-guide.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;Best Regards
&lt;br&gt;&lt;br&gt;Johannes Geppert
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;blockquote class=&quot;quote light-black dark-border-color&quot;&gt;&lt;div class=&quot;quote light-border-color&quot;&gt;
&lt;div class=&quot;quote-author&quot; style=&quot;font-weight: bold;&quot;&gt;Zaheer Mohammad wrote:&lt;/div&gt;
&lt;div class=&quot;quote-message shrinkable-quote&quot;&gt;Hi Friends,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I am working on a project which is set to migrate from
&lt;br&gt;struts1.1 to struts2.x.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;can anyone send me any links or information about migration
&lt;br&gt;strategies
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from which i can briefly get an idea of migration especially
&lt;br&gt;from *Struts1.1
&lt;br&gt;to Struts2.x.*
&lt;br&gt;&lt;br&gt;Thanks And Regards
&lt;br&gt;Zaheer Mohammad
&lt;/div&gt;
&lt;/div&gt;&lt;/blockquote&gt;
&lt;div class=&quot;signature&quot;&gt;---
&lt;br&gt;web: &lt;a href=&quot;http://www.jgeppert.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.jgeppert.com&lt;/a&gt;&lt;br&gt;twitter: &lt;a href=&quot;http://twitter.com/jogep&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://twitter.com/jogep&lt;/a&gt;&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Struts-1.1-To-Struts2.x-Migration-tp26527384p26529148.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26528288</id>
	<title>S2 2.1.8.1: Need custom decapitalization (or leniency similar to 2.1.6)</title>
	<published>2009-11-26T03:48:30Z</published>
	<updated>2009-11-26T03:48:30Z</updated>
	<author>
		<name>Robert Graf-Waczenski</name>
	</author>
	<content type="html">Hi,
&lt;br&gt;&lt;br&gt;we are currently in the process of evaluating if upgrading our app from 
&lt;br&gt;Struts 2.1.6 to 2.1.8.1 is feasible. Currently it is not because various 
&lt;br&gt;things stopped working, but i'll like to work on one of them at a time.
&lt;br&gt;&lt;br&gt;We frequently (*very* frequently, actually) use property names such as 
&lt;br&gt;&amp;quot;mProperty&amp;quot; which are to be bound to class member variables of the same 
&lt;br&gt;name and get/set via methods called &amp;quot;getmProperty&amp;quot; and &amp;quot;setmProperty&amp;quot;. 
&lt;br&gt;This practice deviates from the JavaBean rules for property access, i.e. 
&lt;br&gt;in this example, the getter would have to be called getMProperty and the 
&lt;br&gt;setter setMProperty (each with a capital M). Struts 2.1.6 was able to 
&lt;br&gt;map the property &amp;quot;mProperty&amp;quot; to calls to getmProperty and setmProperty, 
&lt;br&gt;respectively. Struts 2.1.8.1 apparently does not have this leniency (or 
&lt;br&gt;faulty behavior, depending on your POV...) and behaves strictly 
&lt;br&gt;according to what Introspector.decapitalize() does.
&lt;br&gt;&lt;br&gt;Since we (obviously) don't want to rename the myriads of 
&lt;br&gt;getters/setters, i'd like to know if there is a way around this, maybe 
&lt;br&gt;with a custom interceptor somewhere?
&lt;br&gt;&lt;br&gt;Robert
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26528288&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26528288&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/S2-2.1.8.1%3A-Need-custom-decapitalization-%28or-leniency-similar-to-2.1.6%29-tp26528288p26528288.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26527384</id>
	<title>Struts 1.1 To Struts2.x Migration</title>
	<published>2009-11-26T02:31:33Z</published>
	<updated>2009-11-26T02:31:33Z</updated>
	<author>
		<name>Zaheer Mohammad</name>
	</author>
	<content type="html">Hi Friends,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I am working on a project which is set to migrate from
&lt;br&gt;struts1.1 to struts2.x.
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;can anyone send me any links or information about migration
&lt;br&gt;strategies
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;from which i can briefly get an idea of migration especially
&lt;br&gt;from *Struts1.1
&lt;br&gt;to Struts2.x.*
&lt;br&gt;&lt;br&gt;Thanks And Regards
&lt;br&gt;Zaheer Mohammad
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Struts-1.1-To-Struts2.x-Migration-tp26527384p26527384.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26527035</id>
	<title>Re: Problem using &lt;s: url /&gt; tag</title>
	<published>2009-11-26T02:04:40Z</published>
	<updated>2009-11-26T02:04:40Z</updated>
	<author>
		<name>Shekher</name>
	</author>
	<content type="html">Thanks Friends! Following tag resolved the issue:
&lt;br&gt;&amp;lt;constant name=&amp;quot;struts.url.includeParams&amp;quot; value=&amp;quot;none&amp;quot; /&amp;gt;
&lt;br&gt;&lt;br&gt;On Mon, Nov 23, 2009 at 7:58 PM, Greg Lindholm &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26527035&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;greg.lindholm@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Check the doc for property *struts.url.includeParams* &amp;nbsp;for the version of
&lt;br&gt;&amp;gt; struts you are using.
&lt;br&gt;&amp;gt; You may want to change it's value to none.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;lt;constant name=&amp;quot;struts.url.includeParams&amp;quot; value=&amp;quot;none&amp;quot; /&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Sat, Nov 21, 2009 at 12:48 AM, shekher awasthi &amp;lt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26527035&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;shekher.awasthi@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Hi Friends,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I am using the url tag as follows:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;s:url id=*&amp;quot;url&amp;quot;* action=*&amp;quot;InvoiceFrame&amp;quot;*&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;s:param name=*&amp;quot;invoiceType&amp;quot;*&amp;gt;LocalInvoice&amp;lt;/s:param&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;/s:url&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; &amp;lt;s:a href=*&amp;quot;%{url}&amp;quot;*&amp;gt;Local Invoice&amp;lt;/s:a&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; The problem is the parameter defined in param tag is getting appended in
&lt;br&gt;&amp;gt; &amp;gt; all
&lt;br&gt;&amp;gt; &amp;gt; others &amp;nbsp;urls on the JSP page so affecting other url's implementation.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Please help me / guide me in resolving this issue.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Thanks,
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Shekher.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Problem-using-%3Cs%3A-url--%3E-tag-tp26454024p26527035.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26527025</id>
	<title>Re: &quot;Struts2 + Spring + ibatis&quot; vs. &quot;Struts2 + Spring + Hibernate&quot;</title>
	<published>2009-11-26T02:03:29Z</published>
	<updated>2009-11-26T02:03:29Z</updated>
	<author>
		<name>Saeed Iqbal-2</name>
	</author>
	<content type="html">I dont have a production server running Struts2 and iBatis.
&lt;br&gt;&lt;br&gt;I have however worked with iBatis and some other Web Presentation Framework
&lt;br&gt;and I have researched on this extensively too. The bottom line is to go with
&lt;br&gt;iBatis when you are working with existing database application and Hibernate
&lt;br&gt;when new database is made.
&lt;br&gt;&lt;br&gt;On Thu, Nov 26, 2009 at 12:12 AM, Emi Lu &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26527025&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;emilu@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Good morning,
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Could someone has production comparison between (1) vs. (2)?
&lt;br&gt;&amp;gt; (1) Struts2 + Spring + ibatis
&lt;br&gt;&amp;gt; (2) Struts2 + Spring + Hibernate
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks a lot!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Lu Ying
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26527025&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26527025&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Saeed Iqbal
&lt;br&gt;CEO
&lt;br&gt;&lt;a href=&quot;http://www.iqbalconsulting.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.iqbalconsulting.com&lt;/a&gt;&lt;br&gt;Struts - J2EE - Application Architects and Developers
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Struts2-%2B-Spring-Hibernate-tp26329368p26527025.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26525543</id>
	<title>Error Messges(Field Validator Type = regex)</title>
	<published>2009-11-25T23:46:41Z</published>
	<updated>2009-11-25T23:46:41Z</updated>
	<author>
		<name>taj uddin</name>
	</author>
	<content type="html">Hi Friends, 
&lt;br&gt;        I am using struts 2.1.6. Facing problem with error messages. 
&lt;br&gt; When i use 'regex' validator in validation.xml file than 
&lt;br&gt; 1. when i clicked on submit button for the first time. 
&lt;br&gt;       It is showing error messages like 
&lt;br&gt;                 Customer name is required. 
&lt;br&gt;                 Allow alphabets only. 
&lt;br&gt; the above message 'Allow alphabets only must show when some invalid data enter in the field other than alphabets. 
&lt;br&gt;2. with out entering data again i clicked submit button. 
&lt;br&gt;than know error messages are 
&lt;br&gt;  Customer name is required. 
&lt;br&gt;  Allow alphabets only. 
&lt;br&gt;  Customer name is required. 
&lt;br&gt;  Allow alphabets only.       Repated twice. 
&lt;br&gt;if i clicked again thrice......... 
&lt;br&gt;And my code in xml file is, and using default theme 
&lt;br&gt;&lt;br&gt;&amp;lt;field name=&amp;quot;customer.name&amp;quot;&amp;gt;     
&lt;br&gt;    &amp;lt;field-validator type=&amp;quot;requiredstring&amp;quot; short-circuit=&amp;quot;true&amp;quot;&amp;gt; 
&lt;br&gt;      true
&lt;br&gt;      &amp;lt;message key=&amp;quot;error.cusname.req&amp;quot;&amp;gt;&amp;lt;/message&amp;gt; 
&lt;br&gt;    &amp;lt;/field-validator&amp;gt; 
&lt;br&gt;    &amp;lt;field-validator type=&amp;quot;regex&amp;quot; &amp;gt; 
&lt;br&gt;            &amp;lt;![CDATA[(^[a-zA-Z ]+$)]]&amp;gt;
&lt;br&gt;        &amp;lt;message key=&amp;quot;error.cusname.fv&amp;quot;&amp;gt;&amp;lt;/message&amp;gt; 
&lt;br&gt;    &amp;lt;/field-validator&amp;gt; 
&lt;br&gt;   &amp;lt;/field&amp;gt; 
&lt;br&gt; if i remove regex than it is working fine. 
&lt;br&gt;Could u tell me how to reolve this issue. 
&lt;br&gt; 
&lt;br&gt;Thanks,
&lt;br&gt;Taj
&lt;br&gt;&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Error-Messges%28Field-Validator-Type-%3D-regex%29-tp26525543p26525543.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26525528</id>
	<title>Re: Re: Struts2 + EJB 3.0 + Hibernate</title>
	<published>2009-11-25T23:45:02Z</published>
	<updated>2009-11-25T23:45:02Z</updated>
	<author>
		<name>emil thushanga</name>
	</author>
	<content type="html">Ya thats true, but its not clean such as the way used in spring, or JSF
&lt;br&gt;managed beans. lookup service &amp;nbsp;is a another dependency for your project.
&lt;br&gt;&lt;br&gt;Emil
&lt;br&gt;&lt;br&gt;On Thu, Nov 26, 2009 at 1:24 PM, &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26525528&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;jheidenreich@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Why is it a challenge accessing EJB in Struts2? All you need to do is to
&lt;br&gt;&amp;gt; lookup your local or remote EJB interface, which is in fact 1 line of
&lt;br&gt;&amp;gt; code.
&lt;br&gt;&amp;gt; Joachim
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Struts2 is good for your presentation layer. It is the MVC front
&lt;br&gt;&amp;gt; controller.
&lt;br&gt;&amp;gt; Accessing EJB is a kind of a challenge inside Struts2 rather than spring.
&lt;br&gt;&amp;gt; Struts2 + spring + hibernate will be a good combination if it is suitable
&lt;br&gt;&amp;gt; for your problem domain.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Emil
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Thu, Nov 26, 2009 at 12:08 PM, vikrant S
&lt;br&gt;&amp;gt; &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26525528&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;shimpi.vikrant@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Is It a good idea to build a project using the combination Struts2 + EJB
&lt;br&gt;&amp;gt; &amp;gt; 3.0
&lt;br&gt;&amp;gt; &amp;gt; + Hibernate using MVC architecture. Guys please share ur opinion
&lt;br&gt;&amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt; &amp;gt; View this message in context:
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/Struts2-%2B-EJB-3.0-%2B-Hibernate-tp26524749p26524749.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Struts2-%2B-EJB-3.0-%2B-Hibernate-tp26524749p26524749.html&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Sent from the Struts - User mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26525528&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26525528&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Emil Thushanga
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Emil Thushanga
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Struts2-%2B-EJB-3.0-%2B-Hibernate-tp26524749p26525528.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26525360</id>
	<title>Antwort: Re: Struts2 + EJB 3.0 + Hibernate</title>
	<published>2009-11-25T23:24:44Z</published>
	<updated>2009-11-25T23:24:44Z</updated>
	<author>
		<name>jheidenreich</name>
	</author>
	<content type="html">Why is it a challenge accessing EJB in Struts2? All you need to do is to 
&lt;br&gt;lookup your local or remote EJB interface, which is in fact 1 line of 
&lt;br&gt;code.
&lt;br&gt;Joachim
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;Struts2 is good for your presentation layer. It is the MVC front 
&lt;br&gt;controller.
&lt;br&gt;Accessing EJB is a kind of a challenge inside Struts2 rather than spring.
&lt;br&gt;Struts2 + spring + hibernate will be a good combination if it is suitable
&lt;br&gt;for your problem domain.
&lt;br&gt;&lt;br&gt;Emil
&lt;br&gt;&lt;br&gt;On Thu, Nov 26, 2009 at 12:08 PM, vikrant S 
&lt;br&gt;&amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26525360&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;shimpi.vikrant@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is It a good idea to build a project using the combination Struts2 + EJB
&lt;br&gt;&amp;gt; 3.0
&lt;br&gt;&amp;gt; + Hibernate using MVC architecture. Guys please share ur opinion
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/Struts2-%2B-EJB-3.0-%2B-Hibernate-tp26524749p26524749.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Struts2-%2B-EJB-3.0-%2B-Hibernate-tp26524749p26524749.html&lt;/a&gt;&lt;br&gt;&lt;br&gt;&amp;gt; Sent from the Struts - User mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26525360&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26525360&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Emil Thushanga
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Struts2-%2B-EJB-3.0-%2B-Hibernate-tp26524749p26525360.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26525198</id>
	<title>Re: Struts2 + EJB 3.0 + Hibernate</title>
	<published>2009-11-25T23:18:27Z</published>
	<updated>2009-11-25T23:18:27Z</updated>
	<author>
		<name>emil thushanga</name>
	</author>
	<content type="html">Struts2 is good for your presentation layer. It is the MVC front controller.
&lt;br&gt;Accessing EJB is a kind of a challenge inside Struts2 rather than spring.
&lt;br&gt;Struts2 + spring + hibernate will be a good combination if it is suitable
&lt;br&gt;for your problem domain.
&lt;br&gt;&lt;br&gt;Emil
&lt;br&gt;&lt;br&gt;On Thu, Nov 26, 2009 at 12:08 PM, vikrant S &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26525198&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;shimpi.vikrant@...&lt;/a&gt;&amp;gt;wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Is It a good idea to build a project using the combination Struts2 + EJB
&lt;br&gt;&amp;gt; 3.0
&lt;br&gt;&amp;gt; + Hibernate using MVC architecture. Guys please share ur opinion
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/Struts2-%2B-EJB-3.0-%2B-Hibernate-tp26524749p26524749.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Struts2-%2B-EJB-3.0-%2B-Hibernate-tp26524749p26524749.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Struts - User mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26525198&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26525198&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Emil Thushanga
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Struts2-%2B-EJB-3.0-%2B-Hibernate-tp26524749p26525198.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26524749</id>
	<title>Struts2 + EJB 3.0 + Hibernate</title>
	<published>2009-11-25T22:08:58Z</published>
	<updated>2009-11-25T22:08:58Z</updated>
	<author>
		<name>vikrant S</name>
	</author>
	<content type="html">Is It a good idea to build a project using the combination Struts2 + EJB 3.0 + Hibernate using MVC architecture. Guys please share ur opinion</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Struts2-%2B-EJB-3.0-%2B-Hibernate-tp26524749p26524749.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26523669</id>
	<title>RE: Is Using Spring With Struts 2 A Good Idea?</title>
	<published>2009-11-25T18:47:50Z</published>
	<updated>2009-11-25T18:47:50Z</updated>
	<author>
		<name>mgainty</name>
	</author>
	<content type="html">&lt;br&gt;//a good idea as long as the 2 libraries implement different activation mechanisms... here is a typical Struts Action filter
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;filter&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;struts-prepare&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-class&amp;gt;org.apache.struts2.dispatcher.ng.filter.StrutsPrepareFilter&amp;lt;/filter-class&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;init-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-name&amp;gt;actionPackages&amp;lt;/param-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;param-value&amp;gt;org.apache.struts2.showcase.person&amp;lt;/param-value&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/init-param&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/filter&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;filter-mapping&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;filter-name&amp;gt;struts-prepare&amp;lt;/filter-name&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;url-pattern&amp;gt;/*&amp;lt;/url-pattern&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/filter-mapping&amp;gt;
&lt;br&gt;&lt;br&gt;//activating SPRING via autowire
&lt;br&gt;&amp;lt;struts&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;bean type=&amp;quot;com.opensymphony.xwork2.ObjectFactory&amp;quot; name=&amp;quot;spring&amp;quot; class=&amp;quot;org.apache.struts2.spring.StrutsSpringObjectFactory&amp;quot; /&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; 
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;!-- &amp;nbsp;Make the Spring object factory the automatic default --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;constant name=&amp;quot;struts.objectFactory&amp;quot; value=&amp;quot;spring&amp;quot; /&amp;gt;
&lt;br&gt;&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;package name=&amp;quot;spring-default&amp;quot;&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;interceptors&amp;gt;
&lt;br&gt;&amp;lt;!-- This autowires the above bean into the Action --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;interceptor name=&amp;quot;autowiring&amp;quot; class=&amp;quot;com.opensymphony.xwork2.spring.interceptor.ActionAutowiringInterceptor&amp;quot;/&amp;gt;
&lt;br&gt;&amp;lt;!-- This autowires the above bean to the Session --&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;interceptor name=&amp;quot;sessionAutowiring&amp;quot; class=&amp;quot;org.apache.struts2.spring.interceptor.SessionContextAutowiringInterceptor&amp;quot;/&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;lt;/interceptors&amp;gt;
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;lt;/package&amp;gt; &amp;nbsp; &amp;nbsp;
&lt;br&gt;&amp;lt;/struts&amp;gt;
&lt;br&gt;&lt;br&gt;//and finally the injection parameters for StrutsSpringObjectFactory
&lt;br&gt;&amp;nbsp; &amp;nbsp; @Inject
&lt;br&gt;&amp;nbsp; &amp;nbsp; public StrutsSpringObjectFactory(
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @Inject(value=StrutsConstants.STRUTS_OBJECTFACTORY_SPRING_AUTOWIRE,required=false) String autoWire,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @Inject(value=StrutsConstants.STRUTS_OBJECTFACTORY_SPRING_AUTOWIRE_ALWAYS_RESPECT,required=false) String alwaysAutoWire,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @Inject(value=StrutsConstants.STRUTS_OBJECTFACTORY_SPRING_USE_CLASS_CACHE,required=false) String useClassCacheStr,
&lt;br&gt;&amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; @Inject ServletContext servletContext) {
&lt;br&gt;&lt;br&gt;Martin Gainty 
&lt;br&gt;______________________________________________ 
&lt;br&gt;Verzicht und Vertraulichkeitanmerkung/Note de déni et de confidentialité
&lt;br&gt;&amp;nbsp;
&lt;br&gt;Diese Nachricht ist vertraulich. Sollten Sie nicht der vorgesehene Empfaenger sein, so bitten wir hoeflich um eine Mitteilung. Jede unbefugte Weiterleitung oder Fertigung einer Kopie ist unzulaessig. Diese Nachricht dient lediglich dem Austausch von Informationen und entfaltet keine rechtliche Bindungswirkung. Aufgrund der leichten Manipulierbarkeit von E-Mails koennen wir keine Haftung fuer den Inhalt uebernehmen.
&lt;br&gt;Ce message est confidentiel et peut être privilégié. Si vous n'êtes pas le destinataire prévu, nous te demandons avec bonté que pour satisfaire informez l'expéditeur. N'importe quelle diffusion non autorisée ou la copie de ceci est interdite. Ce message sert à l'information seulement et n'aura pas n'importe quel effet légalement obligatoire. Étant donné que les email peuvent facilement être sujets à la manipulation, nous ne pouvons accepter aucune responsabilité pour le contenu fourni.
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Date: Wed, 25 Nov 2009 12:25:38 -0430
&lt;br&gt;&amp;gt; Subject: Re: Is Using Spring With Struts 2 A Good Idea?
&lt;br&gt;&amp;gt; From: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26523669&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;nestorjb@...&lt;/a&gt;
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26523669&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; I've been using it for over 50 projects with excellent results. Once you
&lt;br&gt;&amp;gt; start using spring in big projects you really can't go back.
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; On Wed, Nov 25, 2009 at 11:59 AM, phillips1021 &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26523669&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bphillips@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt; 
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; At the University of Kansas (#1 college basketball team :) we use Struts 2
&lt;br&gt;&amp;gt; &amp;gt; for our web application framework. &amp;nbsp;Its worked very well for us.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I've been learning the Spring framework and how to use it with Struts 2. &amp;nbsp;I
&lt;br&gt;&amp;gt; &amp;gt; think the two frameworks work very well together.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I'm preparing a class for the other Java developers on how to use Struts 2
&lt;br&gt;&amp;gt; &amp;gt; and Spring together. &amp;nbsp;As part of my research I'd like to hear from other
&lt;br&gt;&amp;gt; &amp;gt; Struts 2 developers on if you use Spring with Struts 2 and if you think its
&lt;br&gt;&amp;gt; &amp;gt; a good or bad practice.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Thanks in advance for any feedback you can provide on why or why not it's a
&lt;br&gt;&amp;gt; &amp;gt; good idea to use Struts 2 with Spring.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Bruce Phillips
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://www.brucephillips.name/blog&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.brucephillips.name/blog&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://www.brucephillips.name/blog&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.brucephillips.name/blog&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; --
&lt;br&gt;&amp;gt; &amp;gt; View this message in context:
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://old.nabble.com/Is-Using-Spring-With-Struts-2-A-Good-Idea--tp26515837p26515837.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Is-Using-Spring-With-Struts-2-A-Good-Idea--tp26515837p26515837.html&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt; Sent from the Struts - User mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; &amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26523669&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26523669&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;/div&gt;&amp;nbsp;		 	 &amp;nbsp; 		 &amp;nbsp;
&lt;br&gt;_________________________________________________________________
&lt;br&gt;Windows 7: It works the way you want. Learn more.
&lt;br&gt;&lt;a href=&quot;http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen:112009v2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.microsoft.com/Windows/windows-7/default.aspx?ocid=PID24727::T:WLMTAGL:ON:WL:en-US:WWL_WIN_evergreen:112009v2&lt;/a&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-Using-Spring-With-Struts-2-A-Good-Idea--tp26515837p26523669.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26518589</id>
	<title>&quot;Struts2 + Spring + ibatis&quot; vs.   &quot;Struts2 + Spring + Hibernate&quot;</title>
	<published>2009-11-25T11:12:04Z</published>
	<updated>2009-11-25T11:12:04Z</updated>
	<author>
		<name>luy</name>
	</author>
	<content type="html">Good morning,
&lt;br&gt;&lt;br&gt;Could someone has production comparison between (1) vs. (2)?
&lt;br&gt;(1) Struts2 + Spring + ibatis
&lt;br&gt;(2) Struts2 + Spring + Hibernate
&lt;br&gt;&lt;br&gt;&lt;br&gt;Thanks a lot!
&lt;br&gt;&lt;br&gt;--
&lt;br&gt;Lu Ying
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518589&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26518589&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Struts2-%2B-Spring-Hibernate-tp26329368p26518589.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26516629</id>
	<title>Re: Is Using Spring With Struts 2 A Good Idea?</title>
	<published>2009-11-25T09:13:42Z</published>
	<updated>2009-11-25T09:13:42Z</updated>
	<author>
		<name>phillips1021</name>
	</author>
	<content type="html">Thanks to everyone who has replied so far.
&lt;br&gt;&lt;br&gt;Your input is very valuable as we evaluate using Struts 2 and Spring together.
&lt;br&gt;&lt;br&gt;Wes - thank you for the feedback on some areas of concern when using Spring. &amp;nbsp;Teaching our other Java developers how to use Spring is an issue. &amp;nbsp;I do think there are now several good online sources for helping others learn to use Struts 2 and Spring (I do wish the Struts 2 book you started that included a nice chapter on Struts 2 and Spring would have been published. &amp;nbsp;I got the early access version and it was a big help in learning how to use Spring with Struts). &amp;nbsp;I've also tried to write up some good articles on my blog.
&lt;br&gt;&lt;br&gt;Once you get past the learning curve - I've found that using Spring speeds up my development and also makes my application easier to test/enhance/change in the future. &amp;nbsp;Does anyone disagree with that?
&lt;br&gt;&lt;br&gt;Please keep the feedback (both good and bad) about using Struts 2 and Spring coming.
&lt;br&gt;&lt;br&gt;Thanks again.
&lt;br&gt;&lt;br&gt;Bruce Phillips
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-Using-Spring-With-Struts-2-A-Good-Idea--tp26515837p26516629.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26516460</id>
	<title>Re: Is Using Spring With Struts 2 A Good Idea?</title>
	<published>2009-11-25T09:03:55Z</published>
	<updated>2009-11-25T09:03:55Z</updated>
	<author>
		<name>Musachy Barroso</name>
	</author>
	<content type="html">It is all said, but I will just add my two pesos, yeah, it is worth
&lt;br&gt;it, go for it, they play very nicely together.
&lt;br&gt;&lt;br&gt;musachy
&lt;br&gt;&lt;br&gt;On Wed, Nov 25, 2009 at 9:00 AM, Saeed Iqbal &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516460&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;saeedcs@...&lt;/a&gt;&amp;gt; wrote:
&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; Oh yes i forgot Spring Security too. Its awesome.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; On Wed, Nov 25, 2009 at 9:56 PM, Wes Wannemacher &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516460&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wesw@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; From: phillips1021 [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516460&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bphillips@...&lt;/a&gt;]
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Sent: Wednesday, November 25, 2009 11:29 AM
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516460&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Subject: Is Using Spring With Struts 2 A Good Idea?
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; At the University of Kansas (#1 college basketball team :) we use Struts
&lt;br&gt;&amp;gt;&amp;gt; 2
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; for our web application framework.  Its worked very well for us.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; I've been learning the Spring framework and how to use it with Struts 2.
&lt;br&gt;&amp;gt;&amp;gt;  I
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; think the two frameworks work very well together.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; I'm preparing a class for the other Java developers on how to use Struts
&lt;br&gt;&amp;gt;&amp;gt; 2
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; and Spring together.  As part of my research I'd like to hear from other
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Struts 2 developers on if you use Spring with Struts 2 and if you think
&lt;br&gt;&amp;gt;&amp;gt; its
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; a good or bad practice.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Thanks in advance for any feedback you can provide on why or why not it's
&lt;br&gt;&amp;gt;&amp;gt; a
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; good idea to use Struts 2 with Spring.
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; Bruce Phillips
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://www.brucephillips.name/blog&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.brucephillips.name/blog&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://www.brucephillips.name/blog&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.brucephillips.name/blog&lt;/a&gt;&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Bruce, I am currently working on a commercial product that combines
&lt;br&gt;&amp;gt;&amp;gt; the two. I could sing songs of praise, but I figure you've already
&lt;br&gt;&amp;gt;&amp;gt; gotten a few of those messages, so I will try to come up with a few
&lt;br&gt;&amp;gt;&amp;gt; drawbacks I've noticed.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; One thing I noticed early on is that it seriously compounds the amount
&lt;br&gt;&amp;gt;&amp;gt; of XML configuration you will have to manage. I am a fan of the
&lt;br&gt;&amp;gt;&amp;gt; Conventions plugin, but still feel obligated to stick to traditional
&lt;br&gt;&amp;gt;&amp;gt; (explicit) configuration for projects of serious size. I just deployed
&lt;br&gt;&amp;gt;&amp;gt; an app recently at a customer that contains 1678 lines of XML
&lt;br&gt;&amp;gt;&amp;gt; configuration just for struts and spring (this does not include
&lt;br&gt;&amp;gt;&amp;gt; sitemesh, web.xml, maven poms, etc.).
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Another thing I noticed is that this (these) project(s) now require a
&lt;br&gt;&amp;gt;&amp;gt; significant learning curve. I think most of the people on this list
&lt;br&gt;&amp;gt;&amp;gt; wouldn't be scared to jump into a project using struts 2, spring, jpa,
&lt;br&gt;&amp;gt;&amp;gt; maven, etc. But... In my neck of the woods (just north of Kentucky,
&lt;br&gt;&amp;gt;&amp;gt; but not a whole lot more civilized), it is difficult to find trained
&lt;br&gt;&amp;gt;&amp;gt; Java professionals who are fluent in the technologies named above.
&lt;br&gt;&amp;gt;&amp;gt; What is interesting is that when you look at the code, on a per source
&lt;br&gt;&amp;gt;&amp;gt; file basis, it is all very simple (POJO-based development with simple
&lt;br&gt;&amp;gt;&amp;gt; services/implementations). However, conceptually fitting all the
&lt;br&gt;&amp;gt;&amp;gt; pieces together always tends to fall on my shoulders since my team
&lt;br&gt;&amp;gt;&amp;gt; tends to be less experienced in the different libraries.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; With that being said, I will add that it really is a pleasure to use
&lt;br&gt;&amp;gt;&amp;gt; all of these things together. After a certain point in every project,
&lt;br&gt;&amp;gt;&amp;gt; development time speeds up drastically. Changes are easy and a nice
&lt;br&gt;&amp;gt;&amp;gt; library of components is created that allows for easy additions. All
&lt;br&gt;&amp;gt;&amp;gt; of these things tend to come together once you get past the first two
&lt;br&gt;&amp;gt;&amp;gt; points above.
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; -Wes
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; --
&lt;br&gt;&amp;gt;&amp;gt; Wes Wannemacher
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; Head Engineer, WanTii, Inc.
&lt;br&gt;&amp;gt;&amp;gt; Need Training? Struts, Spring, Maven, Tomcat...
&lt;br&gt;&amp;gt;&amp;gt; Ask me for a quote!
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516460&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516460&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Saeed Iqbal
&lt;br&gt;&amp;gt; CEO
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.iqbalconsulting.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.iqbalconsulting.com&lt;/a&gt;&lt;br&gt;&amp;gt; Struts - J2EE - Application Architects and Developers
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516460&amp;i=6&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516460&amp;i=7&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-Using-Spring-With-Struts-2-A-Good-Idea--tp26515837p26516460.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26516393</id>
	<title>Re: Is Using Spring With Struts 2 A Good Idea?</title>
	<published>2009-11-25T09:00:14Z</published>
	<updated>2009-11-25T09:00:14Z</updated>
	<author>
		<name>Saeed Iqbal-2</name>
	</author>
	<content type="html">Oh yes i forgot Spring Security too. Its awesome.
&lt;br&gt;&lt;br&gt;On Wed, Nov 25, 2009 at 9:56 PM, Wes Wannemacher &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516393&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;wesw@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt; &amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; &amp;gt; From: phillips1021 [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516393&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bphillips@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; &amp;gt; Sent: Wednesday, November 25, 2009 11:29 AM
&lt;br&gt;&amp;gt; &amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516393&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; &amp;gt; Subject: Is Using Spring With Struts 2 A Good Idea?
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; At the University of Kansas (#1 college basketball team :) we use Struts
&lt;br&gt;&amp;gt; 2
&lt;br&gt;&amp;gt; &amp;gt; for our web application framework. &amp;nbsp;Its worked very well for us.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I've been learning the Spring framework and how to use it with Struts 2.
&lt;br&gt;&amp;gt; &amp;nbsp;I
&lt;br&gt;&amp;gt; &amp;gt; think the two frameworks work very well together.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; I'm preparing a class for the other Java developers on how to use Struts
&lt;br&gt;&amp;gt; 2
&lt;br&gt;&amp;gt; &amp;gt; and Spring together. &amp;nbsp;As part of my research I'd like to hear from other
&lt;br&gt;&amp;gt; &amp;gt; Struts 2 developers on if you use Spring with Struts 2 and if you think
&lt;br&gt;&amp;gt; its
&lt;br&gt;&amp;gt; &amp;gt; a good or bad practice.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Thanks in advance for any feedback you can provide on why or why not it's
&lt;br&gt;&amp;gt; a
&lt;br&gt;&amp;gt; &amp;gt; good idea to use Struts 2 with Spring.
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt; Bruce Phillips
&lt;br&gt;&amp;gt; &amp;gt; &lt;a href=&quot;http://www.brucephillips.name/blog&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.brucephillips.name/blog&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://www.brucephillips.name/blog&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.brucephillips.name/blog&lt;/a&gt;&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt; &amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Bruce, I am currently working on a commercial product that combines
&lt;br&gt;&amp;gt; the two. I could sing songs of praise, but I figure you've already
&lt;br&gt;&amp;gt; gotten a few of those messages, so I will try to come up with a few
&lt;br&gt;&amp;gt; drawbacks I've noticed.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; One thing I noticed early on is that it seriously compounds the amount
&lt;br&gt;&amp;gt; of XML configuration you will have to manage. I am a fan of the
&lt;br&gt;&amp;gt; Conventions plugin, but still feel obligated to stick to traditional
&lt;br&gt;&amp;gt; (explicit) configuration for projects of serious size. I just deployed
&lt;br&gt;&amp;gt; an app recently at a customer that contains 1678 lines of XML
&lt;br&gt;&amp;gt; configuration just for struts and spring (this does not include
&lt;br&gt;&amp;gt; sitemesh, web.xml, maven poms, etc.).
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Another thing I noticed is that this (these) project(s) now require a
&lt;br&gt;&amp;gt; significant learning curve. I think most of the people on this list
&lt;br&gt;&amp;gt; wouldn't be scared to jump into a project using struts 2, spring, jpa,
&lt;br&gt;&amp;gt; maven, etc. But... In my neck of the woods (just north of Kentucky,
&lt;br&gt;&amp;gt; but not a whole lot more civilized), it is difficult to find trained
&lt;br&gt;&amp;gt; Java professionals who are fluent in the technologies named above.
&lt;br&gt;&amp;gt; What is interesting is that when you look at the code, on a per source
&lt;br&gt;&amp;gt; file basis, it is all very simple (POJO-based development with simple
&lt;br&gt;&amp;gt; services/implementations). However, conceptually fitting all the
&lt;br&gt;&amp;gt; pieces together always tends to fall on my shoulders since my team
&lt;br&gt;&amp;gt; tends to be less experienced in the different libraries.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; With that being said, I will add that it really is a pleasure to use
&lt;br&gt;&amp;gt; all of these things together. After a certain point in every project,
&lt;br&gt;&amp;gt; development time speeds up drastically. Changes are easy and a nice
&lt;br&gt;&amp;gt; library of components is created that allows for easy additions. All
&lt;br&gt;&amp;gt; of these things tend to come together once you get past the first two
&lt;br&gt;&amp;gt; points above.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; -Wes
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; Wes Wannemacher
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Head Engineer, WanTii, Inc.
&lt;br&gt;&amp;gt; Need Training? Struts, Spring, Maven, Tomcat...
&lt;br&gt;&amp;gt; Ask me for a quote!
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516393&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516393&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Saeed Iqbal
&lt;br&gt;CEO
&lt;br&gt;&lt;a href=&quot;http://www.iqbalconsulting.com&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.iqbalconsulting.com&lt;/a&gt;&lt;br&gt;Struts - J2EE - Application Architects and Developers
&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-Using-Spring-With-Struts-2-A-Good-Idea--tp26515837p26516393.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26516310</id>
	<title>Re: Is Using Spring With Struts 2 A Good Idea?</title>
	<published>2009-11-25T08:56:24Z</published>
	<updated>2009-11-25T08:56:24Z</updated>
	<author>
		<name>Wes Wannemacher</name>
	</author>
	<content type="html">&lt;div class='shrinkable-quote'&gt;&amp;gt; -----Original Message-----
&lt;br&gt;&amp;gt; From: phillips1021 [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516310&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bphillips@...&lt;/a&gt;]
&lt;br&gt;&amp;gt; Sent: Wednesday, November 25, 2009 11:29 AM
&lt;br&gt;&amp;gt; To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516310&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;&amp;gt; Subject: Is Using Spring With Struts 2 A Good Idea?
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; At the University of Kansas (#1 college basketball team :) we use Struts 2
&lt;br&gt;&amp;gt; for our web application framework.  Its worked very well for us.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've been learning the Spring framework and how to use it with Struts 2.  I
&lt;br&gt;&amp;gt; think the two frameworks work very well together.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm preparing a class for the other Java developers on how to use Struts 2
&lt;br&gt;&amp;gt; and Spring together.  As part of my research I'd like to hear from other
&lt;br&gt;&amp;gt; Struts 2 developers on if you use Spring with Struts 2 and if you think its
&lt;br&gt;&amp;gt; a good or bad practice.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks in advance for any feedback you can provide on why or why not it's a
&lt;br&gt;&amp;gt; good idea to use Struts 2 with Spring.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Bruce Phillips
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.brucephillips.name/blog&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.brucephillips.name/blog&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://www.brucephillips.name/blog&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.brucephillips.name/blog&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;/div&gt;&lt;br&gt;&lt;br&gt;Bruce, I am currently working on a commercial product that combines
&lt;br&gt;the two. I could sing songs of praise, but I figure you've already
&lt;br&gt;gotten a few of those messages, so I will try to come up with a few
&lt;br&gt;drawbacks I've noticed.
&lt;br&gt;&lt;br&gt;One thing I noticed early on is that it seriously compounds the amount
&lt;br&gt;of XML configuration you will have to manage. I am a fan of the
&lt;br&gt;Conventions plugin, but still feel obligated to stick to traditional
&lt;br&gt;(explicit) configuration for projects of serious size. I just deployed
&lt;br&gt;an app recently at a customer that contains 1678 lines of XML
&lt;br&gt;configuration just for struts and spring (this does not include
&lt;br&gt;sitemesh, web.xml, maven poms, etc.).
&lt;br&gt;&lt;br&gt;Another thing I noticed is that this (these) project(s) now require a
&lt;br&gt;significant learning curve. I think most of the people on this list
&lt;br&gt;wouldn't be scared to jump into a project using struts 2, spring, jpa,
&lt;br&gt;maven, etc. But... In my neck of the woods (just north of Kentucky,
&lt;br&gt;but not a whole lot more civilized), it is difficult to find trained
&lt;br&gt;Java professionals who are fluent in the technologies named above.
&lt;br&gt;What is interesting is that when you look at the code, on a per source
&lt;br&gt;file basis, it is all very simple (POJO-based development with simple
&lt;br&gt;services/implementations). However, conceptually fitting all the
&lt;br&gt;pieces together always tends to fall on my shoulders since my team
&lt;br&gt;tends to be less experienced in the different libraries.
&lt;br&gt;&lt;br&gt;With that being said, I will add that it really is a pleasure to use
&lt;br&gt;all of these things together. After a certain point in every project,
&lt;br&gt;development time speeds up drastically. Changes are easy and a nice
&lt;br&gt;library of components is created that allows for easy additions. All
&lt;br&gt;of these things tend to come together once you get past the first two
&lt;br&gt;points above.
&lt;br&gt;&lt;br&gt;-Wes
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;Wes Wannemacher
&lt;br&gt;&lt;br&gt;Head Engineer, WanTii, Inc.
&lt;br&gt;Need Training? Struts, Spring, Maven, Tomcat...
&lt;br&gt;Ask me for a quote!
&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516310&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516310&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-Using-Spring-With-Struts-2-A-Good-Idea--tp26515837p26516310.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26516295</id>
	<title>Re: Is Using Spring With Struts 2 A Good Idea?</title>
	<published>2009-11-25T08:55:38Z</published>
	<updated>2009-11-25T08:55:38Z</updated>
	<author>
		<name>nestorjb</name>
	</author>
	<content type="html">I've been using it for over 50 projects with excellent results. Once you
&lt;br&gt;start using spring in big projects you really can't go back.
&lt;br&gt;&lt;br&gt;On Wed, Nov 25, 2009 at 11:59 AM, phillips1021 &amp;lt;&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516295&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bphillips@...&lt;/a&gt;&amp;gt; wrote:
&lt;br&gt;&lt;div class='shrinkable-quote'&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; At the University of Kansas (#1 college basketball team :) we use Struts 2
&lt;br&gt;&amp;gt; for our web application framework. &amp;nbsp;Its worked very well for us.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I've been learning the Spring framework and how to use it with Struts 2. &amp;nbsp;I
&lt;br&gt;&amp;gt; think the two frameworks work very well together.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; I'm preparing a class for the other Java developers on how to use Struts 2
&lt;br&gt;&amp;gt; and Spring together. &amp;nbsp;As part of my research I'd like to hear from other
&lt;br&gt;&amp;gt; Struts 2 developers on if you use Spring with Struts 2 and if you think its
&lt;br&gt;&amp;gt; a good or bad practice.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Thanks in advance for any feedback you can provide on why or why not it's a
&lt;br&gt;&amp;gt; good idea to use Struts 2 with Spring.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; Bruce Phillips
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://www.brucephillips.name/blog&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.brucephillips.name/blog&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://www.brucephillips.name/blog&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.brucephillips.name/blog&lt;/a&gt;&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; --
&lt;br&gt;&amp;gt; View this message in context:
&lt;br&gt;&amp;gt; &lt;a href=&quot;http://old.nabble.com/Is-Using-Spring-With-Struts-2-A-Good-Idea--tp26515837p26515837.html&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Is-Using-Spring-With-Struts-2-A-Good-Idea--tp26515837p26515837.html&lt;/a&gt;&lt;br&gt;&amp;gt; Sent from the Struts - User mailing list archive at Nabble.com.
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt; ---------------------------------------------------------------------
&lt;br&gt;&amp;gt; To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516295&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;&amp;gt; For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516295&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&amp;gt;
&lt;br&gt;&lt;/div&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-Using-Spring-With-Struts-2-A-Good-Idea--tp26515837p26516295.html" />
</entry>

<entry>
	<id>tag:old.nabble.com,2006:post-26516137</id>
	<title>RE: Is Using Spring With Struts 2 A Good Idea?</title>
	<published>2009-11-25T08:45:24Z</published>
	<updated>2009-11-25T08:45:24Z</updated>
	<author>
		<name>James Cook-13</name>
	</author>
	<content type="html">Hi Bruce,
&lt;br&gt;&lt;br&gt;First off I think I have definitely used your blog in the past, I just
&lt;br&gt;want to is has been very useful.
&lt;br&gt;&lt;br&gt;Now I would imagine the question you asked will lead to some very
&lt;br&gt;interesting answers that I look forward to reading. However on the
&lt;br&gt;whole, I don't think it could be class as bad practise using Spring,
&lt;br&gt;unless the size of your application isn't big enough to warrant it, but
&lt;br&gt;then if that was the case would you still use S2?
&lt;br&gt;&lt;br&gt;I love Spring, I am a big fan of the coding by interface and decoupling
&lt;br&gt;of layers. I have fallen into (maybe a trap) the routine of using Struts
&lt;br&gt;(1/2) with Spring and Hibernate JPA. I find this a nice complement of
&lt;br&gt;tools and pretty much allows me to accomplish majority of what my web
&lt;br&gt;application sets out to do.
&lt;br&gt;&lt;br&gt;For example and app I writing at the moment I am using
&lt;br&gt;&lt;br&gt;Struts 2
&lt;br&gt;Scriptaculous/Prototype
&lt;br&gt;Spring 2.5.5
&lt;br&gt;Hibernate JPA
&lt;br&gt;&lt;br&gt;I like splitting my application into layers of
&lt;br&gt;&lt;br&gt;Actions
&lt;br&gt;Service
&lt;br&gt;DAO
&lt;br&gt;&lt;br&gt;However with the light of the entitymanager a DAO is fast becoming
&lt;br&gt;slightly redundant as most of my DAO methods consist of one line.
&lt;br&gt;&lt;br&gt;The beauty of Spring with transactions is the ability to mark out a tx
&lt;br&gt;boundry with simply using the @Tranactional annotation on the service
&lt;br&gt;method. This also allows for encapsulation (I hope I have the right OO
&lt;br&gt;term here) as you can this to the DAO methods but mark it as saying a tx
&lt;br&gt;is required and would fail if a tx isn't open. 
&lt;br&gt;&lt;br&gt;There is also stereotyping which allows you to mark classes as Service,
&lt;br&gt;DAO (actual @ is repository) or Controller (if you are using Spring MVC)
&lt;br&gt;this can lead to a more refined autowiring as well as pretty much
&lt;br&gt;eliminating the need for XML configuration. I personally use
&lt;br&gt;stereotyping for exception translation from the entitymanager (look for
&lt;br&gt;DataAccessException) this allows for a cleaner Service layer.
&lt;br&gt;&lt;br&gt;I have also use Spring in conjunction with EJB's either looking up an
&lt;br&gt;EJB an injection into a POJO or injecting a POJO into an EJB - Very
&lt;br&gt;useful when coming across legacy projects...
&lt;br&gt;&lt;br&gt;Spring is such a huge project and I don't think I have even used the tip
&lt;br&gt;of the ice berg. 
&lt;br&gt;&lt;br&gt;&lt;br&gt;I hope this helps...
&lt;br&gt;&lt;br&gt;James
&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;&lt;br&gt;-----Original Message-----
&lt;br&gt;From: phillips1021 [mailto:&lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516137&amp;i=0&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;bphillips@...&lt;/a&gt;] 
&lt;br&gt;Sent: 25 November 2009 16:29
&lt;br&gt;To: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516137&amp;i=1&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user@...&lt;/a&gt;
&lt;br&gt;Subject: Is Using Spring With Struts 2 A Good Idea?
&lt;br&gt;&lt;br&gt;&lt;br&gt;At the University of Kansas (#1 college basketball team :) we use Struts
&lt;br&gt;2
&lt;br&gt;for our web application framework. &amp;nbsp;Its worked very well for us.
&lt;br&gt;&lt;br&gt;I've been learning the Spring framework and how to use it with Struts 2.
&lt;br&gt;I
&lt;br&gt;think the two frameworks work very well together.
&lt;br&gt;&lt;br&gt;I'm preparing a class for the other Java developers on how to use Struts
&lt;br&gt;2
&lt;br&gt;and Spring together. &amp;nbsp;As part of my research I'd like to hear from other
&lt;br&gt;Struts 2 developers on if you use Spring with Struts 2 and if you think
&lt;br&gt;its
&lt;br&gt;a good or bad practice.
&lt;br&gt;&lt;br&gt;Thanks in advance for any feedback you can provide on why or why not
&lt;br&gt;it's a
&lt;br&gt;good idea to use Struts 2 with Spring.
&lt;br&gt;&lt;br&gt;Bruce Phillips
&lt;br&gt;&lt;a href=&quot;http://www.brucephillips.name/blog&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.brucephillips.name/blog&lt;/a&gt;&amp;nbsp;&lt;a href=&quot;http://www.brucephillips.name/blog&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://www.brucephillips.name/blog&lt;/a&gt;&amp;nbsp;
&lt;br&gt;&lt;br&gt;&lt;br&gt;-- 
&lt;br&gt;View this message in context:
&lt;br&gt;&lt;a href=&quot;http://old.nabble.com/Is-Using-Spring-With-Struts-2-A-Good-Idea--tp26515&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;http://old.nabble.com/Is-Using-Spring-With-Struts-2-A-Good-Idea--tp26515&lt;/a&gt;&lt;br&gt;837p26515837.html
&lt;br&gt;Sent from the Struts - User mailing list archive at Nabble.com.
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516137&amp;i=2&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516137&amp;i=3&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;&lt;br&gt;---------------------------------------------------------------------
&lt;br&gt;To unsubscribe, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516137&amp;i=4&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-unsubscribe@...&lt;/a&gt;
&lt;br&gt;For additional commands, e-mail: &lt;a href=&quot;http://old.nabble.com/user/SendEmail.jtp?type=post&amp;post=26516137&amp;i=5&quot; target=&quot;_top&quot; rel=&quot;nofollow&quot;&gt;user-help@...&lt;/a&gt;
&lt;br&gt;&lt;br&gt;</content>
	<link rel="alternate" type="text/html" href="http://old.nabble.com/Is-Using-Spring-With-Struts-2-A-Good-Idea--tp26515837p26516137.html" />
</entry>

</feed>
