I'm guessing you're storing the parameter in an instance variable and what
you're seeing is a threading problem. You can't store any state information
in servlet instance variables because the same instance may servicing
several requests at once. With a frameset, there is a higher probability
that two or more requests may come into the servlet at once.

Aaron

> -----Original Message-----
> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 20, 1999 3:47 PM
> To: [EMAIL PROTECTED]
> Subject: Frame Problem
>
>
> I have a question regarding servlets and frames.  I have a
> single servlet
> that handles HTTP requests.
> Each frame calls this servlet and passes a parameter such as header,
> tableofcontents, mainpage,etc.
> The servlet in turn calls the appropriate function to either display a
> header for the header frame, table of
> contents for that frame,etc,etc.  The problem I'm running
> into is that when
> the framed page loads, sometimes
> the incorrect HTML will be displayed.  For instance,
> sometimes the header
> shows up in the header frame
> as well as the main frame.  Is this because I'm calling the
> same servlet or
> is this a potential bug in JRun?
> Any ideas?  suggestions?

___________________________________________________________________________
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

Reply via email to