<?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: JSP Servlet Session Listener tutorial example in Eclipse &amp; Tomcat</title> <atom:link href="http://viralpatel.net/blogs/2009/08/jsp-servlet-session-listener-tutorial-example-in-eclipse-tomcat.html/feed" rel="self" type="application/rss+xml" /><link>http://viralpatel.net/blogs/2009/08/jsp-servlet-session-listener-tutorial-example-in-eclipse-tomcat.html</link> <description>Tutorials, Java, J2EE, Struts, AJAX, JavaScript, CSS, Web 2.0, MySQL, Articles</description> <lastBuildDate>Thu, 09 Feb 2012 07:08:35 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: dhiren</title><link>http://viralpatel.net/blogs/2009/08/jsp-servlet-session-listener-tutorial-example-in-eclipse-tomcat.html/comment-page-1#comment-23411</link> <dc:creator>dhiren</dc:creator> <pubDate>Mon, 09 Jan 2012 05:51:08 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=1659#comment-23411</guid> <description> SessionListenwhen ever i put this code in my web.xml file it give error likeinit: deps-module-jar: deps-ear-jar: deps-jar: library-inclusion-in-archive: library-inclusion-in-manifest: compile: compile-jsps: Incrementally deploying http://localhost:8084/WWAtlas Completed incremental distribution of http://localhost:8084/WWAtlas Incrementally redeploying http://localhost:8084/WWAtlas Start is in progress... start?path=/WWAtlas FAIL - Application at context path /WWAtlas could not be started G:\Dhiren\workspace\WWAtlas\nbproject\build-impl.xml:706: The module has not been deployed. BUILD FAILED (total time: 3 seconds) when i removethis its work fie pleas any one can give me solutin for that..its very helpful for me.</description> <content:encoded><![CDATA[<p>SessionListen</p><p>when ever i put this code in my web.xml file it give error like</p><p>init:<br /> deps-module-jar:<br /> deps-ear-jar:<br /> deps-jar:<br /> library-inclusion-in-archive:<br /> library-inclusion-in-manifest:<br /> compile:<br /> compile-jsps:<br /> Incrementally deploying <a href="http://localhost:8084/WWAtlas" rel="nofollow">http://localhost:8084/WWAtlas</a><br /> Completed incremental distribution of <a href="http://localhost:8084/WWAtlas" rel="nofollow">http://localhost:8084/WWAtlas</a><br /> Incrementally redeploying <a href="http://localhost:8084/WWAtlas" rel="nofollow">http://localhost:8084/WWAtlas</a><br /> Start is in progress&#8230;<br /> start?path=/WWAtlas<br /> FAIL &#8211; Application at context path /WWAtlas could not be started<br /> G:\Dhiren\workspace\WWAtlas\nbproject\build-impl.xml:706: The module has not been deployed.<br /> BUILD FAILED (total time: 3 seconds)<br /> when i removethis its work fie<br /> pleas any one can give me solutin for that..its very helpful for me.</p> ]]></content:encoded> </item> <item><title>By: Mahmoud Saleh</title><link>http://viralpatel.net/blogs/2009/08/jsp-servlet-session-listener-tutorial-example-in-eclipse-tomcat.html/comment-page-1#comment-18148</link> <dc:creator>Mahmoud Saleh</dc:creator> <pubDate>Sat, 26 Nov 2011 13:03:41 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=1659#comment-18148</guid> <description>very nice and well explained tutorial, thanks a lot man.</description> <content:encoded><![CDATA[<p>very nice and well explained tutorial, thanks a lot man.</p> ]]></content:encoded> </item> <item><title>By: Java Coder</title><link>http://viralpatel.net/blogs/2009/08/jsp-servlet-session-listener-tutorial-example-in-eclipse-tomcat.html/comment-page-1#comment-15069</link> <dc:creator>Java Coder</dc:creator> <pubDate>Sat, 25 Jun 2011 14:06:07 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=1659#comment-15069</guid> <description>What would be the time delay between actual session invalidation and session destruction. Is it always consistent?</description> <content:encoded><![CDATA[<p>What would be the time delay between actual session invalidation and session destruction. Is it always consistent?</p> ]]></content:encoded> </item> <item><title>By: suman</title><link>http://viralpatel.net/blogs/2009/08/jsp-servlet-session-listener-tutorial-example-in-eclipse-tomcat.html/comment-page-1#comment-13586</link> <dc:creator>suman</dc:creator> <pubDate>Tue, 21 Dec 2010 17:09:05 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=1659#comment-13586</guid> <description>if users close their browser window,sessions get invalidated automatically..and in that case  sessionDestroyed() method never get called..is there ne solution of it?? pls post..as soon as possible..thankx in advance..</description> <content:encoded><![CDATA[<p>if users close their browser window,sessions get invalidated automatically..and in that case  sessionDestroyed() method never get called..is there ne solution of it??<br /> pls post..as soon as possible..thankx in advance..</p> ]]></content:encoded> </item> <item><title>By: Suresh</title><link>http://viralpatel.net/blogs/2009/08/jsp-servlet-session-listener-tutorial-example-in-eclipse-tomcat.html/comment-page-1#comment-13203</link> <dc:creator>Suresh</dc:creator> <pubDate>Wed, 13 Oct 2010 21:03:28 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=1659#comment-13203</guid> <description>In the sessionDestroyed method do we need to explicity call invalidate method or will it be invalidated automatically. I have a case where even after session being getting destroyed, the servlet gives the same session id.</description> <content:encoded><![CDATA[<p>In the sessionDestroyed method do we need to explicity call invalidate method or will it be invalidated automatically. I have a case where even after session being getting destroyed, the servlet gives the same session id.</p> ]]></content:encoded> </item> <item><title>By: Viral Patel</title><link>http://viralpatel.net/blogs/2009/08/jsp-servlet-session-listener-tutorial-example-in-eclipse-tomcat.html/comment-page-1#comment-12179</link> <dc:creator>Viral Patel</dc:creator> <pubDate>Tue, 23 Feb 2010 10:58:33 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=1659#comment-12179</guid> <description>@digant: session is an implicit object defined by container in JSP. You can directly use it in JSP without declaring it. I will suggest you to refer http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/JSPIntro7.html The user object is set in session in AddUser.jsp</description> <content:encoded><![CDATA[<p>@digant: session is an implicit object defined by container in JSP. You can directly use it in JSP without declaring it. I will suggest you to refer <a href="http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/JSPIntro7.html" rel="nofollow">http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/JSPIntro7.html</a><br /> The user object is set in session in AddUser.jsp</p> ]]></content:encoded> </item> <item><title>By: digant</title><link>http://viralpatel.net/blogs/2009/08/jsp-servlet-session-listener-tutorial-example-in-eclipse-tomcat.html/comment-page-1#comment-12155</link> <dc:creator>digant</dc:creator> <pubDate>Sun, 21 Feb 2010 20:31:09 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=1659#comment-12155</guid> <description>Also, in index.jsp you&#039;ve written,  List users = (List)session.getAttribute(&quot;users&quot;); please explain where did we set the attribute &quot;users&quot; and in this jsp file how would the container know that session is an object of HttpSession as in this file we never declared it ....Sorry if I am being pain, but I am new ...</description> <content:encoded><![CDATA[<p>Also, in index.jsp you&#8217;ve written,  List users = (List)session.getAttribute(&#8220;users&#8221;);<br /> please explain where did we set the attribute &#8220;users&#8221; and in this jsp file how would the container know that session is an object of HttpSession as in this file we never declared it &#8230;.</p><p>Sorry if I am being pain, but I am new &#8230;</p> ]]></content:encoded> </item> <item><title>By: digant</title><link>http://viralpatel.net/blogs/2009/08/jsp-servlet-session-listener-tutorial-example-in-eclipse-tomcat.html/comment-page-1#comment-12154</link> <dc:creator>digant</dc:creator> <pubDate>Sun, 21 Feb 2010 20:19:32 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=1659#comment-12154</guid> <description>Hi Veeral,sorry the above comment has been modified  ....   for the line List user = (List)session.getAttribute(&quot;username&quot;);   it says Type safety: Unchecked cast from Object to List” error. ????</description> <content:encoded><![CDATA[<p>Hi Veeral,</p><p>sorry the above comment has been modified  &#8230;.   for the line List user = (List)session.getAttribute(&#8220;username&#8221;);   it says Type safety: Unchecked cast from Object to List” error. ????</p> ]]></content:encoded> </item> <item><title>By: digant</title><link>http://viralpatel.net/blogs/2009/08/jsp-servlet-session-listener-tutorial-example-in-eclipse-tomcat.html/comment-page-1#comment-12153</link> <dc:creator>digant</dc:creator> <pubDate>Sun, 21 Feb 2010 20:18:16 +0000</pubDate> <guid isPermaLink="false">http://viralpatel.net/blogs/?p=1659#comment-12153</guid> <description>Hi Veeral,in index.jsp , for the line List user = (List)session.getAttribute(&quot;username&quot;); it says &quot;Type safety: Unchecked cast from Object to List&quot; error.  ????</description> <content:encoded><![CDATA[<p>Hi Veeral,</p><p>in index.jsp , for the line List user = (List)session.getAttribute(&#8220;username&#8221;); it says &#8220;Type safety: Unchecked cast from Object to List&#8221; error.  ????</p> ]]></content:encoded> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: viralpatel.net @ 2012-02-09 14:18:22 -->
