易截截图软件、单文件、免安装、纯绿色、仅160KB

javascript嵌入在html为什么用servlet不能读取

html中嵌入
function fsubmit()
    {
    if(searchForm.rcond[0].checked)
    {
      searchForm.action = "list?cond=all";
      window.alert("您已经点击该按钮");
    }
    else if(searchForm.rcond[1].chenked)
    {
      searchForm.action = "list?cond=precision";
    }
    else
    {
      searchForm.action = "list?cond=keyword";
    }
    }
在servlet中用
String condition = request.getParameter("cond");
读取不出来condition显示为null;这是为什么
你的采用什么样的方式提交的呢,是post吗

引用
你的采用什么样的方式提交的呢,是post吗

恩是啊

给各答案吧...............

HTML code:
<form onsubmit="fsubmit(this);">
<!--other codes-->
</form>

[code=JScript]
function fsubmit(searchForm)
{
if(searchForm.rcond[0].checked)
{
searchForm.action = "list?cond=all";
window.alert("您已经点击该按钮");
}
else if(searchForm.rcond[1].chenked)
{


相关问答:

截取WINfrom中HTML的标签!!! - .NET技术 / C#

using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Text;
using System.Windows.Forms;
using System.IO;
using Syst ......

jsp页面如何保存成html格式 - Java / Web 开发

我在jsp页面查询到数据库中的一笔数据,并以table循环的形式显示,但需要下载保存成html格式,请问应该处理?代码有没有特殊要求?是不是需要特别的jar包?
你这是把报表保存为HTML格式,不知有什么用处,
要是 ......

[HJ_34] 在HTML网页下,用JS 打开LINUX下的记事本

如题,在WINDOWS底下的CODE会,但在LINUX下不知道如何实现,JS的代码应该是不一样的。 求教。

分不够再加。

http://topic.csdn.net/u/20100113/08/17ba1e71-4c33-43f6-91a5-0e031c86e5ed.html
linux ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号