954,574 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

Calling another dynamic URL in jsp

Hi All,

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.

Thanks in advance for your help.

meghab
Newbie Poster
5 posts since Oct 2010
Reputation Points: 10
Solved Threads: 0
 

Can't you put variables in the values of your url? How do you create that url and how did you put in your code?

javaAddict
Nearly a Senior Poster
Team Colleague
3,329 posts since Dec 2007
Reputation Points: 1,014
Solved Threads: 448
 
Can't you put variables in the values of your url? How do you create that url and how did you put in your code?

The url is a web page where the value of a & b keeps changing every second. If I put the values in variables then how will I fetch it's value as I can't know values of a & b.

meghab
Newbie Poster
5 posts since Oct 2010
Reputation Points: 10
Solved Threads: 0
 

If you don't know what are those values, then how could we know? Don't you have a way to read them from somewhere?

javaAddict
Nearly a Senior Poster
Team Colleague
3,329 posts since Dec 2007
Reputation Points: 1,014
Solved Threads: 448
 
If you don't know what are those values, then how could we know? Don't you have a way to read them from somewhere?


The names of the variables a & b are fixed but not their values. The values are dynamic, like we have in most of the cases.

meghab
Newbie Poster
5 posts since Oct 2010
Reputation Points: 10
Solved Threads: 0
 

I have no idea.

javaAddict
Nearly a Senior Poster
Team Colleague
3,329 posts since Dec 2007
Reputation Points: 1,014
Solved Threads: 448
 
I have no idea.


no problem.
Somebody else please help me.

meghab
Newbie Poster
5 posts since Oct 2010
Reputation Points: 10
Solved Threads: 0
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You
View similar articles that have also been tagged: