dcsimg
calling multiple Servlets
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   charanjit_samrai
Posted On:   Tuesday, April 2, 2002 10:23 AM


I am having a problem where i have a shopping basket session, and on my website i have a basket summary which displays the recent additions totals etc... but when i add to my basket the href link updates the servlet which contains all the basket details, but how can i at the same time update the basket summary servlet too. Basically how can i use HTML to pass info to two different servlets with one link both with different target frames ?

Re: calling multiple Servlets

Posted By:   Anonymous  
Posted On:   Tuesday, April 2, 2002 11:04 AM

Don't keep your basket information within your servlets, let it in the session object. What's in the session will be shared by both servlets. When you add something to the basket, you can update the summary and store it in the session, then retreive it when the summary servlet is called.
About | Sitemap | Contact