package com.ods.wx.web;
import java.util.Map;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import net.sf.json.JSONObject;
import org.apache...
分类:
微信 时间:
2015-08-28 19:54:35
阅读次数:
413
JSP中一共预先定义了9个这样的对象,分别为:request、response、session、application、out、pagecontext、config、page、exception 1、request对象request 对象是 javax.servlet.httpServletRequest类型的对象。 该对象代表了客户端的请求信息,主要用于接受通过HTTP协议传送到服务器的数据。...
分类:
Web程序 时间:
2015-08-28 19:47:39
阅读次数:
141
import java.net.InetAddress;
import java.net.NetworkInterface;
import java.net.SocketException;
import java.util.Enumeration;
import javax.servlet.http.HttpServletRequest;
/**
* IP工具类
* @...
分类:
其他好文 时间:
2015-08-28 17:53:57
阅读次数:
142
一、JSP的内置对象(9个JSP内置对象)
JSP的内置对象引用名称 对应的类型
request
HttpServletRequest
response HttpServletResponse
session HttpSession(有开关的:page指令的session属性的取值)
application...
分类:
Web程序 时间:
2015-08-28 00:52:33
阅读次数:
194
一、JSP的内置对象(9个JSP内置对象)JSP的内置对象引用名称 对应的类型 request HttpServletRequest response HttpServletResponse session HttpSession(有开关的...
分类:
Web程序 时间:
2015-08-28 00:48:52
阅读次数:
180
1,判断来访者是否第一次public class VistorTest extends HttpServlet { @Override protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws Se.....
分类:
其他好文 时间:
2015-08-27 15:00:12
阅读次数:
150
@RequestMapping(params = "datagrid") public void datagrid(TbStudentDepEntity tbStudentDep,HttpServletRequest request, HttpServletResponse response, D....
分类:
其他好文 时间:
2015-08-27 12:31:37
阅读次数:
376
原文地址:http://blog.csdn.net/wuwenxiang91322/article/details/11660207为什么要使用属性驱动和模型驱动struts2与struts很大的不同点在于,struts的execute方法提供了HttpServletRequest和HttpServ...
分类:
其他好文 时间:
2015-08-27 00:04:11
阅读次数:
235
@RequestMapping("/sendHistory") public ModelAndView sendrhistory(HttpServletRequest req, HttpServletResponse rep, @RequestParam int p) throws Exceptio...
分类:
编程语言 时间:
2015-08-25 21:23:27
阅读次数:
162
HttpServletRequest获取用户真实ip
分类:
编程语言 时间:
2015-08-25 20:58:26
阅读次数:
144