当前位置: 代码迷 >> Java Web开发 >> 一个小疑点,input标签中的内容动态显示
  详细解决方案

一个小疑点,input标签中的内容动态显示

热度:24   发布时间:2016-04-17 14:34:29.0
一个小问题,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%> " />
  相关解决方案