That is not possible.  You cannot refresh a cell of a table if you are going
back to the server, unless you use an applet.

What you can do is place each of these elements in different layers (DIV).
Then you can refresh an individual layer (DIV) without affecting the others.
This is cross browser compatible, although some javascript differences exist
between IE and NS.

Jorge

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Leena Diwan
Sent: Tuesday, August 29, 2000 2:10 AM
To: [EMAIL PROTECTED]
Subject: 4 includes in a table of a single jsp page.


Hello everybody,

I have a table defined in my jsp page.
It is a 2-by-2 table having total 4 cells.
I have a separate jsp:include for each cell. I want to
refresh only that cell within which user does some
action e.g submit form etc.
How do I go abt it ?

Here is a sample code that can help u understand my
problem :<body>
<H2> WELCOME !! </H2>
<jsp:include page="menu.jsp" flush="true" />
<BR>
<TABLE WIDTH="100%" BORDER=0 align=right>
<tr>
<td width="50%" align="center" valign="top">
<jsp:include page="Login.jsp" flush="true" />
</td>
<td width="50%" align="center" valign="top">
<jsp:include page="Register.jsp" flush="true" />
</td>
</tr>

<tr>
<td width="50%" align="center"
valign="top"><jsp:include page="Search.jsp"
flush="true" /></td>
        <td width="50%" align="center" valign="top">This is
for some advertisement.</a></td>
</tr>

</TABLE>
</body>

if user sees this page, presses enter on the submit
button of the Search.jsp included..  only that cell of
the table should get refreshed.. can I do that ..
somehow ?

please help..
Thanks in advance.

Leena

____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff
JSP-INTEREST".
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

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
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

Reply via email to