开发者

How to construct servlet URL

开发者 https://www.devze.com 2023-02-01 07:21 出处:网络
Right now I have a servlet URL as below in one of my stored procedure , which is a working one. URL: http://server600.ctm.com/batch/shyamServletClass?parameter= || Incoming;

Right now I have a servlet URL as below in one of my stored procedure , which is a working one.

URL: http://server600.ctm.com/batch/shyamServletClass?parameter= || Incoming;

The above points to the servlet c开发者_JS百科alss EAR which deployed in server600.ctm.com, but I need to modify the URL in scuh a way that it should point to my local system EAR. (That means the code which is there in (C://code/workspace/batch/shyamServletClass)

Suppose my IP Address is 172.16.61.208, how should I change it?


Let it point to http://localhost instead of http://server600.ctm.com.

Note that this only works when the caller and the servlet runs at physically the same server machine.

0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号