Seth,

You have to get past the idea that there is some kind of state relationship
between the client and server within the HTTP protocol.  The server is not
aware of what is happening on the client side to do with layout and
presentation etc.  All the server does is receive a request from the client
machine, process the request and send a HTTP stream back at the client.
What the client does with that is up to it, hence the difference in browser
presentation of the same HTTP stream sent back from a server.

To elaborate on that, try telnetting to your web server (e.g. localhost port
80) and hit enter twice.  You'll get a perfectly valid HTTP stream sent back
to you, complete with header and HTML error message information.  You could
even produce a regular request by using the same request string your browser

So, to answer your question, don't worry about your frames causing problems
with JSP code.  JSP is executed on the server side (during the "process
request" phase) before it returns the output in a HTTP stream from the web
server so it doesn't know if the output is going to be used in a web browser
frame or a telnet window, or even another web server for that matter.

Unfortunately, from a development point of view, this is a case of
server<-->client interraction logic being dictated by a protocol (HTTP), but
that's the way it is :)

-----Original Message-----
From: Seth Reagan [mailto:[EMAIL PROTECTED]]
Sent: Friday, November 19, 1999 4:26 AM
To: [EMAIL PROTECTED]
Subject: Newbie to JSP


   Ok, I haven't dealt with web page authoring since the days when NSCA
Mosaic was "the" browser. Yes, I've tinkered around with it since but
haven't gotten in too deep. I liked the idea behind microsoft's asp but
didn't like that it was proprietary. Now, I'm getting into the JSP mindset
and have been browsing the documentation and was surprised at the lack of
instruction on dealing with a basic subject, frames. (BTW, this is the first
time I've done anything past basic HTML. However, I am a progammer, just
from a different background)

Can you, for instance, do this within a JSP file?
frameset code... then...
   <FRAME NAME="Menu" SRC="menu.jsp" TITLE="Menu">

   Is there a better way? Is this the only way? I'm interested in the
multiple ways that developers deal with frames because my test page isn't
working and I feel that this is the cause.
   (It's not loading/parsing the jsp pages in the frames. Is this a
limitation?)

______________________________________________________
Get Your Private, Free Email at http://www.hotmail.com

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to