摘要:
1.服务端接口配置(providr样例)applicationContext-dubbo-smk.xml: <?xml version="1.0" encoding="UTF-8"?><beans xmlns:xsi="http://www.w3.org/2001/XMLSchema-instanc 阅读全文
摘要:
1. 获得客户机信息 getRequestURL方法返回客户端发出请求时的完整URL。 getRequestURI方法返回请求行中的资源名部分。 getQueryString 方法返回请求行中的参数部分。 getRemoteAddr方法返回发出请求的客户机的IP地址 getRemoteHost方法返 阅读全文
摘要:
<?xml version="1.0" encoding="UTF-8"?> <!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN" "http://java.sun.com/dtd/web- 阅读全文
摘要:
@RequestMapping的参数如下 /** * @see RequestMapping 参数 * @param value * 需要跳转的地址 * @param mehtod * 基于RestFul的跳转参数,有RequestMethod.get post,put 等 * @param par 阅读全文