HttpServletRequest类有些什么方法啊? 即是我们怎么用它啊?谢谢 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 see j2ee apidocString getAuthType() Returns the name of the authentication scheme used to protect the servletString getContextPath() Returns the portion of the request URI that indicates the context of the request …… 最重要的1.String str = request.getPrameter(str);2.String[] str = request.getPramterValues(str);3.Object obj = request.getAttribute(str);4.quest.setAttribute(str,obj);5.HttpSession session = request.getSession();分别是1.接单个参数比如1.jsp?id=1中的id2.接多个参数比如<input type=checkebox name=id value=1><input type=checkebox name=id value=2>3.4.放参数比如在Sevlet里面request.setAttribute("id",id);JSP里面String id = (String)request.getAttribute("id");5.得到session。 读取本文部分数据变为byte数组,如何防止字符被拆开? 关于数组对象长度 java中回调机制和别名机制有什么区别 J2EE的学习需要些什么 下午实验课急用,帮个忙 Tomcat问题 这段代码的几个Testthis2分别是干什么的 请问,如何用JAVA得到当前系统屏幕的分辨率? 刚学JAVA菜鸟问题 简单改错,马上给分。 求救!张孝祥教程中多线程那一节课的例子程序! swing 知识运用求解
Returns the name of the authentication scheme used to protect the servletString getContextPath()
Returns the portion of the request URI that indicates the context of the request
……
1.String str = request.getPrameter(str);
2.String[] str = request.getPramterValues(str);
3.Object obj = request.getAttribute(str);
4.quest.setAttribute(str,obj);
5.HttpSession session = request.getSession();
分别是
1.接单个参数比如1.jsp?id=1中的id
2.接多个参数比如<input type=checkebox name=id value=1><input type=checkebox name=id value=2>
3.4.放参数比如在Sevlet里面request.setAttribute("id",id);JSP里面String id = (String)request.getAttribute("id");
5.得到session。