>hello everybody,
>
>i'm just new to servlets and jsp. i would like to post an html file
>in a certain frame, but i don't know how. do you have any idea?
>please share.
>
>thank you.
You don't "post" html files. You create a page with frames, each of which
has can be named, and can contain content; that content can be referred to
via a URL. To wit, paraphrasing the syntax badly:
<page>
<frameset>
<frame name="frame1" content="/myapp/mymenu.html" />
<frame name="frame2" />
</frameset>
</page>
If you have a link in mymenu.html, and you want to see its contents in the
second frame, construct the link like this:
<a href="/myapp/mypage.html" target="frame2">My Page</a>
This has absolutely nothing to do with JSP, and what's more, a simple check
of the spec available at http://www.w3.org/TR/html4/ would have helped you.
As it is, I'd suggest going there anyway, as using my syntax will certainly
fail. (If I wanted to construct frames (which I don't), I'd look up the
syntax first.)
<soapbox>Note that frames tend to break the access model of the web anyway.
See http://www.useit.com/alertbox/9605.html and
http://www.useit.com/alertbox/9612.html for more information on this.
</soapbox>
_________________________________________________________________
Get your FREE download of MSN Explorer at http://explorer.msn.com
===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:
http://java.sun.com/products/jsp/faq.html
http://www.esperanto.org.nz/jsp/jspfaq.html
http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets