hi,

i have a page which should be update every 15 seconds or so... on the same
page i need to identify the user.... so i do this via a login.jsp and a post
to the server. now i have a post object created and when i try to reload the
page with the meta tag internet explorer always asks me if it should resend
the data.... this does not happen with netscape... to demonstrate what i mean
i attached th source code of a sample page.
does anyone know how to get around that... or delete the post which is sent to
the server somehow..

thanks,
bye,
simon

<meta HTTP-EQUIV="Refresh" CONTENT="10">
<center>
<table width=100% height=100%>
<tr>
<td align=center><h1><% java.util.Date thisisDate = new java.util.Date();
out.println(thisisDate); %></h1></td>
</tr>

<tr>
<td align=center><form method=post><input type=text size=5
name=txtfield><p><input type=submit value="action!"></td>
</tr>

<tr>
<td align=center>
<%
boolean logsubmit = false;
if (request.getMethod().equalsIgnoreCase("POST")) {
logsubmit = true;
}

if (logsubmit){
out.println("<h1>"+request.getParameter("txtfield")+"</h1>");
}
%>
</td>
</tr>

</table>

===========================================================================
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