一个小问题,input标签中的内容动态显示
<%
String value = new String((request.getParameter( "capableName ")).getBytes( "ISO-8859-1 "), "GB2312 ");
%>
</head>
<body>
<form method= "get " action= "GateWayServlet ">
<input type= "text " name= "strCapable " readonly />
<br/>
如果想要设置strCapable的值为vlue,应该怎么做呢?
[解决办法]
<input type= "text " name= "strCapable " readonly value= " <%=value%> " />