Listener to Load up values in the context
Posted on 2006-05-22
I am new to JSP (actually learning) , and I am building a web application where a form has a series of check boxes whose values are dynamically loaded from the database .
Since these are loaded dynamically before the application starts I was wondering whether I should use a Listener Class that loads the requsite fields onloading and makes it available for the Context.
I was wondering
1.If this is the way it is to be done
2.If so could you give me some examples or pointers to this ....
Please Note : I am not using Struts or any other framework simply becase I want to learn it the hard way (basics without a framework ) then move on to a framework where the details are not hidden