Aaron
s:textfield
1 Answer(s)      6 years and 9 months ago
Posted in : Struts
Advertisement
View Answers

August 29, 2008 at 10:17 AM


Hi friend,


<%@ taglib prefix="s" uri="/struts-tags" %>

<html>
<head>
<title>Textfield Tag Example</title>
</head>
<body>
<h1><span style="background-color: #FFFFcc">Textfield Tag Example!</span></h>
<s:form>
<s:textfield label="Employee Name" name="empname" size="15" maxlength="10" />
</s:form>
</body>
</html>


--------------------------------------------

Read for more information.

http://www.roseindia.net/struts/struts2/struts2uitags/textfield-tag.shtml

Thanks.









Related Tutorials/Questions & Answers: