Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_jsp thread: Chat using JSP


Message #1 by "Karl Gohery" <goheryk@t...> on Fri, 5 Apr 2002 20:50:42
2 frames can access the same JSP, but can have
different results/displays if you manipulate it right.
 For instance, the frame where a message will be
submitted should use a "POST" form.  Where doPost will
add the String to the Vector.  Then, the second frame
will "GET" the same JSP.  Then the doGet method of
that JSP will display the Strings from the Vector.

--- Karl Gohery <goheryk@t...> wrote:
> I'm not really with you. Do you mean to send all the
> messages from the 
> vector/array in the post and then have the other
> frame parse the results 
> and display the messages???
> I know this must be annoying but im just confused!!
> Should I have a JSP completely separate to the other
> two pages, which 
> takes care of the vector/array??
> Karl


__________________________________________________
Do You Yahoo!?
Yahoo! Tax Center - online filing with TurboTax
http://taxes.yahoo.com/

  Return to Index