java struts-servlet must refresh page problem (can't auto uptodate)

[nobr]This is my .jsp file

The jsp is working fine except that it must be refresh (push the refresh button in the browser) do display the right 'username' and 'password'

I send the username and password using a set from Form Bean

editForm.setID(userid);

editForm.setUsername(userdb);

editForm.setPassword(passdb);

How can I pake it automatically refresh or something like that to pake this jsp page is uptodate with the data...?

<%@ page language="java" pageEncoding="BIG5"%>

<%@ taglib uri="http://jakarta.apache.org/struts/tags-bean" prefix="bean"%>

<%@ taglib uri="http://jakarta.apache.org/struts/tags-html" prefix="html"%>

<html>

<head>

<title>JSPfor EditForm form</title>

</head>

<body>

<font size="2" face="Courier New">

<html:form action="/edit">

<html:hidden property="ID"/>

username : <html:text property="username" size="20"/><html:errors property="username"/>

<br/>

password : <html:text property="password" size="20"/><html:errors property="password"/>

<br/>

<html:submit/>

</html:form>

</body>

</html>

thank you very much[/nobr]

[1711 byte] By [oracle_rxa] at [2007-11-27 11:47:46]
# 1

Go and look at AJAX or something. I understand that you want a webpage that alters itself. There's nothing JSPs could do about that except creating the HTML for this page. That's all JSPs can ever do anyway.

CeciNEstPasUnProgrammeura at 2007-7-29 18:15:10 > top of Java-index,Java Essentials,Java Programming...