在第二个页面再传过去啊第3不用session 就这办法
解决方案 »
- 在MyEclipse8.5中,Hibernate我是采用注解方式,为什么打不开HQL Editor查询器呢?
- js中回车登录触发事件
- 日期格式转换问题
- struts2中的There is no Action mapped for namespace / and action name LoginRegist.
- 求解Hibernate映射问题
- 谁能帮我弄个简单的jsp求助系统!!!!
- Jsp入门,安装疑问,简单到送分的。
- xml文件该放哪个目录
- 怎么在cooki中存取
- tomcat报错org.apache.catalina.core.standardwrappervalve invoke
- 关于JAVABeans的编写 20分的问题
- 如何实现图片上传?
getparameter
关健是到了第一个页面我已经把他转成字符型变量,
现在是怎么样获取字符变量,
从第二个页面到第三个页
<input type=hidden name=xxx value='<%=request.getParameter(你要传的值)%>'>
第三个页面用
reqeust.getParameter("xxx")就得到了
<%!
public String getStr(String str)
{
try
{
String temp_p=str;
byte[] temp_t=temp_p.getBytes("ISO8859-1");
String temp=new String(temp_t);
return temp;
}
catch(Exception e)
{
}
return"NULL";
}
%><%String v=getStr(request.getParameter("v"));%>
sdsjz=(sdsjz==null)?"":new String(sdsjz.getBytes("8859_1"),"GBK");
唉!学习真是学不完的,
这么好的方法,
谢谢前面几位大哥,