关于response.sendRedirect()传递多个参数的问题! 如果我要传递2个参数给xx.jsp页面 参数名为id和name,应该要怎么写,我总是报错!求指教 主要是引号的使用!太乱了! 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 xx.jsp?id=1111&name=zhangsanurl中不需要引号 更多参数都可以啊,只要不超过url长度限制。 照1L的写,参数之间用&分割就OK 我是在jsp页面里使用response.Redirect()的!我试了这样好像不太行! 我是在jsp页面里使用response.Redirect()的!我试了这样好像不太行!response.sendRedirect(xx.jsp?id=1111&name=zhangsan url);这样不太行! response.sendRedirect("xx.jsp?id=1111&name=zhangsan"); 我是在jsp页面里使用response.Redirect()的!我试了这样好像不太行!response.sendRedirect(xx.jsp?id=1111&name=zhangsan url);这样不太行!晕,最外面加引号啊response.sendRedirect("xx.jsp?id=1111&name=zhangsan"); response.sendRedirect("xx.jsp?id=1111&name=wj"); 我是在jsp页面里使用response.Redirect()的!我试了这样好像不太行!response.sendRedirect(xx.jsp?id=1111&name=zhangsan url);这样不太行!晕,最外面加引号啊response.sendRedirect("xx.jsp?id=1111&name=zhangsan");id和name的值是个变量!不是常量! response.sendRedirect("xx.jsp?id=" + id + "&name=" + name);这个些不行吗 我是在jsp页面里使用response.Redirect()的!我试了这样好像不太行!response.sendRedirect(xx.jsp?id=1111&name=zhangsan url);这样不太行!晕,最外面加引号啊response.sendRedirect("xx.jsp?id=1111&name=zhangsan");id和name的值是个变量!不是常量!传进去不就完了,参考楼上。 能感谢的方式只有加分了 请高人完善 一个很奇怪的equal的顺序问题 有关jsp中数据库连接等问题 spring,hibernate,struts的权限树 JavaMail邮箱发送失败 OCX在网页里调用是怎么做到的,怎么让它能自动下载, 用UltraEdit打开tomcat的server.xml或web.xml或自己程序的web.xml,修改保存完毕后,总是弹出错误提示:"0x70c70c99"指令引用的"0x00000008" Jbuilder4问题;(( Java Event!!!事件!! extjs流行吗? 求指导入门级:JSON的使用问题。jquery的使用。
url中不需要引号
更多参数都可以啊,只要不超过url长度限制。
response.sendRedirect(xx.jsp?id=1111&name=zhangsan url);这样不太行!
response.sendRedirect(xx.jsp?id=1111&name=zhangsan url);这样不太行!晕,最外面加引号啊
response.sendRedirect("xx.jsp?id=1111&name=zhangsan");
response.sendRedirect(xx.jsp?id=1111&name=zhangsan url);这样不太行!晕,最外面加引号啊
response.sendRedirect("xx.jsp?id=1111&name=zhangsan");
id和name的值是个变量!不是常量!
这个些不行吗
response.sendRedirect(xx.jsp?id=1111&name=zhangsan url);这样不太行!晕,最外面加引号啊
response.sendRedirect("xx.jsp?id=1111&name=zhangsan");
id和name的值是个变量!不是常量!传进去不就完了,参考楼上。