在WEBLOGIC下部署WEBSERVICE服务可使用WEBLOGIC上下文,强制转换成SERVLET对象即可,下面是获得REQUEST例子:
(HttpServletRequest)weblogic.webservice.context.WebServiceContext.currentContext().getSession().getRequest()
(HttpServletRequest)weblogic.webservice.context.WebServiceContext.currentContext().getSession().getRequest()
本文介绍如何在WebLogic服务器中部署WebService服务,并提供了一段示例代码来演示如何通过WebLogic上下文获取HTTPServletRequest对象。
1万+

被折叠的 条评论
为什么被折叠?



