How to construct servlet URL
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.
精彩评论