[英]Java client consume ASP.Net Webservice
We are porting a C# module to Java. 我们正在将C#模块移植到Java。 This module consume ASP.Net Webservice.
该模块使用ASP.Net Web服务。 C# Module use CookieContainer to help ASP.Net Webservice distinguish between sessions.
C#模块使用CookieContainer帮助ASP.Net Web服务区分会话。 What is equivalent in Java?
Java中有什么等效功能? Thanks
谢谢
I think you want the getSession()
method on the HttpServletRequest interface. 我认为您需要HttpServletRequest接口上的
getSession()
方法。
You might want to reference this primer on Java servlets as well. 您可能还希望在Java servlet上引用此入门。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.