2011-11-12 78 views
0

我有這樣的HTML表單如何通過java發佈數據到html表單?

<form enctype="multipart/form-data" action="upload.php" method="POST"> 
     <textarea rows="5" cols="50" name="links" id="links" style="margin-left: 2px; margin-right: 2px; width: 428px; margin-top: 2px; margin-bottom: 2px; height: 149px; "></textarea> 
     <input type="hidden" name="uploadtype" value="links"> 
     <br> 
     <button type="submit" name="submit"></button> 
     </form> 

如何將數據寫在文本區域,然後單擊使用Java提交按鈕?

+0

您是否試圖從Java代碼發送多?如果是的話,你有瘦客戶端或什麼? – viktor

回答