struts

can anybody help me with thisi need to have a text box in jspcan i use input tag for text box?
[115 byte] By [ambika_mullasseria] at [2007-11-27 8:16:34]
# 1
Not sure what this has question has to due with struts, but a text box in HTML would be accomplished with a text area html element.<textarea name="..." cols=".." rows=""></textarea>
bryanoa at 2007-7-12 20:01:28 > top of Java-index,Java Essentials,New To Java...
# 2
text box in html can be <input type="text".........>but can the same format be used if i use struct?
ambika_mullasseria at 2007-7-12 20:01:28 > top of Java-index,Java Essentials,New To Java...
# 3

> text box in html can be <input type="text".........>

> but can the same format be used if i use struct?

That will get you a text field, if you want it to be multi-line you need to use a <textarea> element.

What do you mean by "same format be used if I use struct"? What is struct?

bryanoa at 2007-7-12 20:01:28 > top of Java-index,Java Essentials,New To Java...
# 4
dear guys....text field and text area are entirly diff....you cant set lenth for textarea tag its very imp things in while entering chars
JanarthananSunJavaa at 2007-7-12 20:01:28 > top of Java-index,Java Essentials,New To Java...
# 5

hey guys..

u need something like this....

<tr>

<td width="30%" align="right"><b>Company Registration Number:</b></td>

<td width="70%" align="left"><html:text property="companyRegistrationNumber" size="40" maxlength="20" /></td>

</tr>

in struts one uses html tag lib directroies(tld), but u can always use plain old html...The struts html tld is converted to plain old html once the code is run on server..and why do we use it?cause it's easy to use very simple...

sabyasachi.roya at 2007-7-12 20:01:28 > top of Java-index,Java Essentials,New To Java...