• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

difference between html textbox and struts-html textbox?

 
ayyappan Bas
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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>
 
Srikanth Kumar
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
ayyappan Bas
Ranch Hand
Posts: 40
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic