we have deployed two different war files (example A War file, and B War File) in the same tomcat server and both are running fine , we try to connect A War file with the code of B War file code to get the results from War A
using the below code
URL url = new URL("http://localhost:7070/A/user/");
HttpURLConnection conn = (HttpURLConnection) url.openConnection();
tomcat is taking long time to fetch the result after it has established the connection, But the end of the day also we didn't get result. Why tomcat is too long time and doesnt give any results.
please let me know on this.