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]

