the text input box How to set the initial value?, java problems tips" /> the text input box How to set the initial value?. Get java problems tips from" />

Struts in the text input box How to set the initial value?

Category: Java EE
2009-10-22 01:15:33

Sponsored Links
Such a view (VIEW) as follows:
/ / userinfo.jsp
<html:text property="name"/>
< ; html: text property = "address" />


the JSP files from the database after the user's name and address and other information, editing for users, how the user information already in the database in both text entry box is now displayed for the user to modify it?

Sponsored Links

2009-10-22 01:22:50
Your problem has been solved here:
# 138
2009-10-22 01:37:53
actionForm you this is, then you can actionForm the reset () method in the set

or <html:text property="name" value=" "/>

If the database to read the words .. The best first loaded into a bean, and then use the bean: write tag to write out

struts are new ... just think of these methods may not necessarily be the best hope ... ; help
2009-10-22 01:56:37
Agree upstairs upstairs method
Domain and server ip had changed since 8/23/2013. Suspend the user registration and posts for program maintenance.