日期:2014-05-18  浏览次数:20792 次

一个小问题,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%> " />