hi Anubhav, try out this... <% String name = "myName"; String nameValue = "value"; %> <html> <form name="frm"> <input type="text" name = '<%=name%>' value='<%=nameValue%>'> </form> </html>
cheers, Vinayak. >>> [EMAIL PROTECTED] 07/22/03 01:21PM >>> Hello. I want to create a text box on JSP page and give it a name which is stored in the VARIABLE say 'name'. This variable is defined in the java code on the JSP page. Can you please tell me the EXACT syntax ? PLEASE NOTE THAT I WANT TO GIVE NAME TO TEXT BOX THRU MY CODE. So the name is in variable and not known beforehand Thanks a lot Anubhav --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]