Fuz, You can access the database w/ the first servlet and then store the results in the user's session. After that, you can use another servlet to retrieve the values from the user's session and then return the results. Chris's suggestion of using query parameters should also help in differentiating the requests.
Regards, Richard At 12:33 PM 9/18/2002 -0500, you wrote: >All of them need to access a database which can only be done from the >first servlet. >fuz > >On Wed, 18 Sep 2002, Richard Yee wrote: > > > Fuz, > > Why do they have to be generated from the same servlet? > > > > -Richard > > > > At 12:17 PM 9/18/2002 -0500, you wrote: > > >Hello, > > > > > >I am stuck with a problem using frames and can not think of a good > > >solution. Does anyone have advice for the following problem: > > > > > >I have a log-in screen and once the user is logged in from the servlet it > > >displays a html page (myPage) which has 2 frames. I need to create these > > >two frames dynamically, but can not figure how how to do that. The > > >problem is that everything needs to be created from the same servlet. So > > >my code for the frame is something like: > > > <Frame src="/myServlet" name="frame1"> > > > <Frame src="/myServlet" name="frame2"> > > >When myServlet is called, how can i determine whether it is requesting > > >frame1 or frame2? is there someway to get the value of name? > > >Thanks! > > >Fuz > > > > > >_______________________________________________________________________ > ____ > > >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 > > > > ___________________________________________________________________________ > > 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 > > > > > >___________________________________________________________________________ >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 ___________________________________________________________________________ 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