Problem in fetching source for <jsp:include>..?
Great to meet you all in this forum; this is my first post.
Im using <jsp:include page="support.jsp>" in a jsp page name "home.jsp"
FYI: FInd the attachment code for 'support.jsp'
In my above code i have used some <script src=""> tags for which the source file is fetched from a Remote Machine.
When i open my home.jsp page in my browser and as i have included 'support.jsp' page in my home.jsp page it will look for the file specified in another machine that i have specified as a URL, '//192.xx.xx.xxx/dr/util.js' so if the corresponding system/machine is SLOW or it is DOWN at that time or if the INTERNET is slow, it takes long time to respond;
Instead I have to try to connect for a certain time limit and it if goes beyond the time limit specified, I have to Include another page instead of 'support.jsp' page.
Please help out in this;
I have tried using UrlConnection.connect() in my java code, but it tries to fetch the content for long time;
|All times are GMT +5.5. The time now is 01:43.|