2015-12-16 79 views

回答

0

首先假設abc.jsp是有下面的組合框

<select id="projectName" name="projectName"> 
     <option value="KCC">KCC</option> 
     <option value="SunAmerica">Sun America</option> 
     <option value="UHC">UHC</option> 
     <option value="Ironman">Ironman</option> 
     <option value="John Varvatos">John Varvatos</option> 
     <option value="Steven Alan">Steven Alan</option> 
     <option value="SingPost">SingPost</option> 
     <option value="LVMH">LVMH</option> 
     <option value="Blissworld">Blissworld</option> 
     <option value="CED">CED</option> 
     <option value="Coravin">Coravin</option> 
     <option value="Mgemi">Mgemi</option> 

    </select> 

一旦你提交你可以得到作爲

String projectName = request.getParameter("projectName"); 
相關問題