permaculture playing cards*
The moose likes Struts and the fly likes difference between html textbox and struts-html textbox? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "difference between html textbox and struts-html textbox?" Watch "difference between html textbox and struts-html textbox?" New topic
Author

difference between html textbox and struts-html textbox?

ayyappan Bas
Ranch Hand

Joined: Oct 11, 2008
Posts: 39
Hi,

What is the difference between html textbox and struts-html textbox? Which one should I use for a new Struts based project?

Example :

<code>

<input type="text" name="user">

<html:text property="user"/>

</code>

Thanks & Regards
Ayyappan
Srikanth Kumar
Ranch Hand

Joined: Jun 04, 2008
Posts: 36
struts text field is a representation of HTML text field. if you are using struts, then you are recommended to use struts text field so that the value will be populated from the struts form bean.


Srikanth Kumar
SCJP 5, SCWCD 5, SCDJWS 5
ayyappan Bas
Ranch Hand

Joined: Oct 11, 2008
Posts: 39
Srikanth Kumar wrote:struts text field is a representation of HTML text field. if you are using struts, then you are recommended to use struts text field so that the value will be populated from the struts form bean.


thanks for reply

thanks and regards

Ayyappan B
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: difference between html textbox and struts-html textbox?
 
Similar Threads
JavaScript function in JSP
displaying multiple rows based on textbox value
struts tag & html
simple struts conditional?
difference between html:options and html:optionsCollection