Originally posted by Anooplal .A.H:
Hai.
How we can generate dynamic<html:text> in struts that is when i press enter a new row of <html:text> appear ?
Not sure how you want this to be done but I think you want it to happen on the client side without a page submit.
<html:text> is a custom tag which executes on the server to generate the HTML markup for a text field i.e. <input type="text" > which is then rendered on the client's browser. You can't add this on the client side since it is server side code.
What you can do, is use JavaScript and the DOM to add a new text field on your page. Or you could submit the page and have your server generate as many text fields as required.