<html:select property="news_Info">
<%Add classID=new Add();
Vector vec=classID.getClassID();
for(int i=0;i<vec.size();i++){
//System.out.print(vec.get(i));
%>
<html:option value=""><%= vec.get(i)%></html:option>
<%} %>
</html:select>
怎样把<%=vec.get(i)%>中的值在Value中用呢????
我想在value中用<%=vec.get(i)%>的值
<%Add classID=new Add();
Vector vec=classID.getClassID();
for(int i=0;i<vec.size();i++){
//System.out.print(vec.get(i));
%>
<html:option value=""><%= vec.get(i)%></html:option>
<%} %>
</html:select>
怎样把<%=vec.get(i)%>中的值在Value中用呢????
我想在value中用<%=vec.get(i)%>的值
<%Add classID=new Add();
Vector vec=classID.getClassID();
for(int i=0;i<vec.size();i++){
//System.out.print(vec.get(i));
%>
<html:option value="<%= vec.get(i)%>"><%= vec.get(i)%></html:option>
<%} %>
</html:select>不行吗?