Lakhani!
If you are using Forms for the inputs, then there is no problem, you can use hidden fields, or url-rewritting if you like, there can be cookies available, or javax.servlet.HttpServletRequest interface's methods like setAttribute(), and getAttribute.
There are many other ways for setting and and retrieving attribute values.
I hope you can get the point, if you need more help write type of data you are retrieving.
A
Java Student
Saif ullah
SCJP2
Quitters never win, Winners never Quit.