here is my requirment.
You are required to design, implement and test a system to simulate the zone/fare management and ticket purchasing system. Your system must be designed using a database to manage zone and fare information and etc. The information should be loaded to the system at the start of a ticket purchasing session. You should set up your database by hand so it has some initial data with a sufficient variety of information in order to fully demonstrate the functionality that you have implemented
We're happy to help you out with your assignment but we won't do it for you.
Have you read the servlet spec to see which listeners are available?
Did you understand what you read?
Do you have any questions about a particular listener that wasn't answered by reading the spec?
After reading about them, which one do you think best suites your needs?
There is a link to the servlet spec in my signature.
It shouldn't take more than 15 minutes to search for the various listeners it provides and read up on them.
That's a lot less time than you've already spent trying to get us to do your work for you.
I need to add a arraylist reference to the servletcontext .
arraylist contain data retrived by database.
then can i do it implimenting httpsessionlistener in a normal java class?
or should i impliment httpsessionlistener in a servlet?