我正在加载一个jsp,其中有对另一台服务器的内部请求。
例如。
<html>
<head>
</head>
<body>
<div> Welcome to....</div>
.....
.....
<%
HttpConnection conn = new HttpConnection("http://someothersite/somepage");
conn.getResponse ();
%>
<div><%=response%></div>
....
</html>
在这种情况下,减少响应时间的所有更好方法是什么?