Alain,

If I understand the question correctly, use the target attribute of your
form tag to specify where output from your servlet should go.

For example:

FrameA -------------------------------------------------------

<html><body>
<form action="myServlet" method="..." target = FrameB>
<input ...>
<input ...>
</form>
</body>
</html>

FrameB -------------------------------------------------------

<html>
<!-- Blank page waiting to be overwritten by output from myServlet -->
<body bgcolor = "white"
</body>
</html>

This will leave the contents of FrameA intact while your servlet output is
written to FrameB.

Hope this helps.

Brian


> -----Original Message-----
> From: A mailing list for discussion about Sun Microsystem's Java Servlet
> API Technology. [mailto:[EMAIL PROTECTED]]On Behalf Of Alain
> BEDU
> Sent: Tuesday, May 18, 1999 9:56 AM
> To: [EMAIL PROTECTED]
> Subject: A solution to replace the frame
>
>
> Hi,
>
> I'm trying to make a form on a web page wich will respond
> dynamically to the
> client through a browser.
> But the only way I've already found is the use of many frame on the same
> page : I display the frame below the previous one consedering the choice
> made in it.
> But this needs to reload the whole page.
>
> I would like to know if there is a way, using servlet, to only refresh a
> part of the page instead of the page entirely.
> Here I explain myself : first, I only display the first form in a frame at
> the top of my page. The client make his choice and click on
> submit. Then, I
> analyse this choice and display a specific response in another
> frame on the
> same page.
> I want to keep the first frame intact and actualise the second, only the
> second and not the page.
>
> I tried to use SSI :  I put three servlet on the same page, three form in
> HTML, and I would like to refresh the second and the third one considering
> the choice made in the first one.
>
> Is it possible ??
> If not, is there a way to implement this idea ?
>
> Thanx.
>
> alain
>
> __________________________________________________________________
> _________
> 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

Reply via email to