Hi guy
Having a little trouble with
Servlets & Benas, wondering if you could help.
I have a simple servlet that lets a users enter some data, the servlet then access' a database and retrieves appropriate data based on what the user entered (basically you put in a code servlet retrieves product info), then the servlet redirects to a
JSP which calls the bean and displays the data (still with me?)...
Now I want to put this info into a bean so that it can be retrieved at any time, but I can't for the life of me remember how you create an instance of the bean and populate it from a servlet. I have looked all over and can't find any examples (decent ones anyway).
Any help would be greatly appreciated.
K