获取Weblogic webservice中的[context/session/request ]

    在WEBLOGIC下部署WEBSERVICE服务可使用WEBLOGIC上下文,强制转换成SERVLET对象即可,下面是获得REQUEST例子:
     (HttpServletRequest)weblogic.webservice.context.WebServiceContext.currentContext().getSession().getRequest()

猜你喜欢

转载自gloryroad-wang.iteye.com/blog/2001633