I am creating an application in which I want to keep refreshing a jsp file and in that jsp file i need to keep calling another url of type www.daniweb.com/receive.jsp?a=xxx&b=xxx and save this url in database. Here the url keeps changing in every second ie. values of a & b keeps changing.
I have been able to keep refreshing the jsp file but unable to call another dynamic url in it. Please tell me how to do it in my jsp.
I'm not sure of what you mean by "calling" a URL. However, you will need to use the java.net's URL, URLConnection and the URLHTTPConnection classes to make a server request and read the response.