<% txtValue="Welcome" % > <form name="myform"> <input type="text" name="mytext" value="<%=txtValue% >"> </form>