<form action="sysAdmin.do?method=updateSysAdmin" method="post" name="beizhu" id="beizhu">
<script type="text/javascript">
var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_samples')) ;
var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ;
oFCKeditor.BasePath = sBasePath ;
oFCKeditor.Height = 300 ;
oFCKeditor.Value = '' ;
oFCKeditor.Create() ;
</script>
<br />
<input type="submit" value="Submit" />
</form>
补充代码段
var sBasePath = document.location.pathname.substring(0,document.location.pathname.lastIndexOf('_samples')) ; var oFCKeditor = new FCKeditor( 'FCKeditor1' ) ; oFCKeditor.BasePath = sBasePath ; oFCKeditor.Height = 300 ; oFCKeditor.Value = '' ; oFCKeditor.Create() ;
string s=Request.Form["FCKeditor1"];
$_POST["FCKeditor1"];
不好意思 问题没有说清楚 请问Java后台应该如何获取