Re: Getting information from database.
Posted By:
sachin_walia
Posted On:
Wednesday, March 21, 2001 05:19 PM
U can make that java application as a bean to pass that information to the servlet. lets say the servlet is
GetInfoServlet and bean is DataBean which passes a resultset in the form of Vector.
in service method u can call that bean's method to get the resultset in a form of vector. u can also get resultset returned only if u r not closing it in that method. (because resultset is not serializable).