Java Forums

Main Menu
Home
Today's Posts
FAQ
Search
Contact Us

Java Network
Java Tips
Java Tips Blog

Sponsored Links





Welcome to the Java Forums.

You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community, you will:

  • have access to post topics
  • communicate privately with other members (PM)
  • not see advertisements between posts
  • have the possibility to earn one of our surprises if you are an active member
  • access many other special features that will be introduced later.

Registration is fast, simple and absolutely free so please, join our community today!

If you have any problems with the registration process or your account login, please contact us.

Reply
 
LinkBack Thread Tools Display Modes
  #1 (permalink)  
Old 04-16-2008, 10:00 AM
Member
 
Join Date: Apr 2008
Posts: 1
Srikanth816 is on a distinguished road
How to implement HttpSessionListener in JSP
Dear friend,

In my Application i am implementing HttpSessionListener to my Sevlet, to
know when the session is going to create and destroy.
Similarly i want to know by using JSPs.

Can anyone help me.

Regards
Srikanth G.
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 04-16-2008, 10:22 AM
sanjeevtarar's Avatar
Senior Member
 
Join Date: Apr 2008
Location: Delhi(India)
Posts: 237
sanjeevtarar is on a distinguished road
Hi,

Just make a Listener class and make a entry into web.xml file.

Listener will be called by container when you will create session object in JSP OR session.invalidate().

There is no link with servlets and Listener.

If i am wrong please correct me.


sanjeev
Bookmark Post in Technorati
Reply With Quote
Sponsored Links
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
how to implement progress bar ..... roshithmca AWT / Swing 1 03-06-2008 05:18 PM
Using HttpSessionListener bbq Advanced Java 1 07-05-2007 04:54 AM
API to Implement Server SSH in JAVA Jack Advanced Java 2 07-02-2007 02:52 AM
How to implement Cut and Paste Jamie AWT / Swing 2 05-31-2007 07:15 PM
How can we implement IPC in java samson Networking 1 04-04-2007 07:38 AM


All times are GMT +3. The time now is 02:37 AM.


VBulletin, Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2006 - 2007, www.java-forums.org