<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Struts 2 Tutorial &#8211; Interceptors</title>
	<atom:link href="http://www.benmccann.com/dev-blog/struts-2-tutorial-interceptors/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.benmccann.com/dev-blog/struts-2-tutorial-interceptors/</link>
	<description>The software development weblog of Benjamin McCann.</description>
	<lastBuildDate>Fri, 03 Feb 2012 15:15:40 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Gagan</title>
		<link>http://www.benmccann.com/dev-blog/struts-2-tutorial-interceptors/comment-page-1/#comment-48978</link>
		<dc:creator>Gagan</dc:creator>
		<pubDate>Fri, 15 Jul 2011 12:38:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/?p=85#comment-48978</guid>
		<description>How can I redirect user request coming from mobile or desktop users to different views. Can I use the interceptor or is there any easy way.</description>
		<content:encoded><![CDATA[<p>How can I redirect user request coming from mobile or desktop users to different views. Can I use the interceptor or is there any easy way.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: makku</title>
		<link>http://www.benmccann.com/dev-blog/struts-2-tutorial-interceptors/comment-page-1/#comment-47158</link>
		<dc:creator>makku</dc:creator>
		<pubDate>Wed, 22 Jun 2011 11:39:10 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/?p=85#comment-47158</guid>
		<description>nice example</description>
		<content:encoded><![CDATA[<p>nice example</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: emmanuel</title>
		<link>http://www.benmccann.com/dev-blog/struts-2-tutorial-interceptors/comment-page-1/#comment-46318</link>
		<dc:creator>emmanuel</dc:creator>
		<pubDate>Sun, 12 Jun 2011 06:53:32 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/?p=85#comment-46318</guid>
		<description>i need struts2 configuration and how interceptors work with struts can any one help me?</description>
		<content:encoded><![CDATA[<p>i need struts2 configuration and how interceptors work with struts can any one help me?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Leo</title>
		<link>http://www.benmccann.com/dev-blog/struts-2-tutorial-interceptors/comment-page-1/#comment-45467</link>
		<dc:creator>Leo</dc:creator>
		<pubDate>Fri, 20 May 2011 17:41:41 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/?p=85#comment-45467</guid>
		<description>Thank you for the post and examples.  It did solved my problem.
I was having problem handle logic between action and result until I know about the PreResultListener.
Such a great help!</description>
		<content:encoded><![CDATA[<p>Thank you for the post and examples.  It did solved my problem.<br />
I was having problem handle logic between action and result until I know about the PreResultListener.<br />
Such a great help!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Rafance</title>
		<link>http://www.benmccann.com/dev-blog/struts-2-tutorial-interceptors/comment-page-1/#comment-40038</link>
		<dc:creator>Rafance</dc:creator>
		<pubDate>Mon, 14 Feb 2011 21:26:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/?p=85#comment-40038</guid>
		<description>Hi, I need help with a situation with my struts2 project.
I try to read a numerical value using the following code:
 

the parameter numeroCedula it will be passed to the my action...
but, I write into the textbox by example &quot;9978222&quot; and when i submitted the value, I receive in the action the value &quot;9978222,&quot; , why the struts2, I don&#039;t know if some interceptors change the value, adding this coma after the numerical value.

Could somebody help me?

thanks you</description>
		<content:encoded><![CDATA[<p>Hi, I need help with a situation with my struts2 project.<br />
I try to read a numerical value using the following code:</p>
<p>the parameter numeroCedula it will be passed to the my action&#8230;<br />
but, I write into the textbox by example &#8220;9978222&#8243; and when i submitted the value, I receive in the action the value &#8220;9978222,&#8221; , why the struts2, I don&#8217;t know if some interceptors change the value, adding this coma after the numerical value.</p>
<p>Could somebody help me?</p>
<p>thanks you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: upendra</title>
		<link>http://www.benmccann.com/dev-blog/struts-2-tutorial-interceptors/comment-page-1/#comment-37250</link>
		<dc:creator>upendra</dc:creator>
		<pubDate>Wed, 19 Jan 2011 11:49:34 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/?p=85#comment-37250</guid>
		<description>This is really a nice peace of code regarding interceptor........its very helping.....
I want to know ...can this example is useful incase of that case when we use strut2 and hibernate at the same time....plz repply on my emailid....
thanks in advance...</description>
		<content:encoded><![CDATA[<p>This is really a nice peace of code regarding interceptor&#8230;&#8230;..its very helping&#8230;..<br />
I want to know &#8230;can this example is useful incase of that case when we use strut2 and hibernate at the same time&#8230;.plz repply on my emailid&#8230;.<br />
thanks in advance&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nishigandha</title>
		<link>http://www.benmccann.com/dev-blog/struts-2-tutorial-interceptors/comment-page-1/#comment-36443</link>
		<dc:creator>Nishigandha</dc:creator>
		<pubDate>Tue, 11 Jan 2011 20:09:49 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/?p=85#comment-36443</guid>
		<description>Fantastic example. Very much simplified difficult topic.</description>
		<content:encoded><![CDATA[<p>Fantastic example. Very much simplified difficult topic.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: praveen</title>
		<link>http://www.benmccann.com/dev-blog/struts-2-tutorial-interceptors/comment-page-1/#comment-29087</link>
		<dc:creator>praveen</dc:creator>
		<pubDate>Wed, 25 Aug 2010 03:57:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/?p=85#comment-29087</guid>
		<description>good example .</description>
		<content:encoded><![CDATA[<p>good example .</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: billy vandory</title>
		<link>http://www.benmccann.com/dev-blog/struts-2-tutorial-interceptors/comment-page-1/#comment-26313</link>
		<dc:creator>billy vandory</dc:creator>
		<pubDate>Thu, 17 Jun 2010 08:41:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/?p=85#comment-26313</guid>
		<description>@Arnie: OSIV is a valid pattern.  Arnie, it may have caused you grief, but to advise everyone NOT TO USE IT is a little cocky, no?  There are use cases when OSIV may work just fine, like a backoffice application where the need to break out the layers into tiers with some kind of facade separating concerns is not doable due to project timelines and costs.</description>
		<content:encoded><![CDATA[<p>@Arnie: OSIV is a valid pattern.  Arnie, it may have caused you grief, but to advise everyone NOT TO USE IT is a little cocky, no?  There are use cases when OSIV may work just fine, like a backoffice application where the need to break out the layers into tiers with some kind of facade separating concerns is not doable due to project timelines and costs.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ben</title>
		<link>http://www.benmccann.com/dev-blog/struts-2-tutorial-interceptors/comment-page-1/#comment-20431</link>
		<dc:creator>Ben</dc:creator>
		<pubDate>Sat, 06 Feb 2010 17:31:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.lumidant.com/blog/?p=85#comment-20431</guid>
		<description>Kamlesh, what you are talking about is tying a login to an IP address.  You can invalidate the session ID if the IP address changes or ignore all new session requests while there is an active session under an old IP address.  This can present usability problems to some users if their IP address changes.  Another option would be to present an alert to the user that the IP address logged in has changed.  For example, GMail lists the last account activity on the page.  You should log these instances as well in case they present a security incident.  You&#039;ll likely want to put a decent portion of this logic in your login Action.</description>
		<content:encoded><![CDATA[<p>Kamlesh, what you are talking about is tying a login to an IP address.  You can invalidate the session ID if the IP address changes or ignore all new session requests while there is an active session under an old IP address.  This can present usability problems to some users if their IP address changes.  Another option would be to present an alert to the user that the IP address logged in has changed.  For example, GMail lists the last account activity on the page.  You should log these instances as well in case they present a security incident.  You&#8217;ll likely want to put a decent portion of this logic in your login Action.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

