简体   繁体   中英

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 calss 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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM