In my servelt coding, I need to go to another URL and get responses from that
servlet in remote server.
the coding looks like this
String result = forward("http://www.ddd.com/servlet");
// "http://www.ddd.com/servlet" will send back a info
if(result.equals("success")){
// continue
}
else{
// notify user this forward has exception
}
I need to do this forward internally,
not shown in browser.
Thanks.