Hi Raghu,
Try sending a parameter with the request object to deleteServlet
from AdminServlet that specifies number of records you want to delete. In
the DeleteServlet, check for the number first and then delete as many
records as you want to do.
-Rajesh
On Tue, 11 Apr 2000, raghuk wrote:
> Hi,
>
> I would like to have few tips on this:
>
> I have a servlet (deleteServlet) that is called from another servlet
> (adminServlet). This, ofcourse, deletes a record in my database. Now,
> if I want to delete 25 records from database (hypothetically), I will
> call deleteServlet 25 times from the adminServlet.
> Now, each time I delete a servlet I throw a resultant page from
> deleteServlet. That results in 25 pages (unwanted !!) in my session if
> I call deleteServlet 25 times.
>
> can anyone tell me how do I get rid of them ?
>
> Thanks,
> Raghu.
>
> ___________________________________________________________________________
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff SERVLET-INTEREST".
>
> Archives: http://archives.java.sun.com/archives/servlet-interest.html
> Resources: http://java.sun.com/products/servlet/external-resources.html
> LISTSERV Help: http://www.lsoft.com/manuals/user/user.html
>
*******************************************************************************
V RAJESH
1997B3A7402
208 RAM
*******************************************************************************
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html