469,647 Members | 1,814 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,647 developers. It's quick & easy.

interesting problem with JAVA...

Hey guys....

I'm facing an interesting problem ....and need some solution.....

The problem goes like this.

You r having one site like www.abc.com (for example). The website contains only one textbox....blank textbox.
Now I have a database of names of people. I hv control over database.
I hv another site containing only one 'button'. (for ex. www.xyz.com)
It acts as an interface site.(not exactly interface...but kinda)

Now wat i want to do is :
the moment i click on the button in my website...ur website(www.abc.com) will be opened in the browser automatically & the first entry in the database would be retrieved in ur website's ( www.abc.com) textbox....and this will happen only in my computer coz i'm accessing the website( www.xyz.com) thr' my comp and the website( www.abc.com) too is getting opened in my computer only.

So this is server side programming but the effect takes place on the client side.
Thus even u or ne client opens the site www.xyz.com. & clix on the button...then www.abc.com will get opened and the textbox will be filled with the first entry of the database.

If u r getting the solution....plz mail me at <email removed by Admin:Against site rules>,.....

Thanx....

Regards
Manas
Mar 28 '07 #1
7 1585
r035198x
13,262 8TB
Hey guys....

I'm facing an interesting problem ....and need some solution.....

The problem goes like this.

You r having one site like www.abc.com (for example). The website contains only one textbox....blank textbox.
Now I have a database of names of people. I hv control over database.
I hv another site containing only one 'button'. (for ex. www.xyz.com)
It acts as an interface site.(not exactly interface...but kinda)

Now wat i want to do is :
the moment i click on the button in my website...ur website(www.abc.com) will be opened in the browser automatically & the first entry in the database would be retrieved in ur website's ( www.abc.com) textbox....and this will happen only in my computer coz i'm accessing the website( www.xyz.com) thr' my comp and the website( www.abc.com) too is getting opened in my computer only.

So this is server side programming but the effect takes place on the client side.
Thus even u or ne client opens the site www.xyz.com. & clix on the button...then www.abc.com will get opened and the textbox will be filled with the first entry of the database.

If u r getting the solution....plz mail me at <email removed by Admin:Against site rules>,.....

Thanx....

Regards
Manas
This sounds like a javascript question.
Are you using JSPs?
Mar 28 '07 #2
Dude...I don't know wat to use actually......can u tell me how to work it out....
Mar 30 '07 #3
r035198x
13,262 8TB
You can use a JSP to connect to the database and display the first value in the database.
Mar 30 '07 #4
but dude....i haave no control over the other site which is having the 'TEXTBOX'.....assume that i just knoe the TEXTBOX NAME...nothnig else...now how can i give connectivity to the site wiht TEXTBOX??...can u plz elaborate???? And tell me...is it really feasible to do that??? imean is there really a solution to the problem???
Apr 4 '07 #5
r035198x
13,262 8TB
but dude....i haave no control over the other site which is having the 'TEXTBOX'.....assume that i just knoe the TEXTBOX NAME...nothnig else...now how can i give connectivity to the site wiht TEXTBOX??...can u plz elaborate???? And tell me...is it really feasible to do that??? imean is there really a solution to the problem???
This is all not very clear. But you can get the value entered in a textbox form a page using
Expand|Select|Wrap|Line Numbers
  1. request.getParameter("textBoxName"); 
in the second JSP.
Apr 4 '07 #6
hirak1984
316 100+
if you dont have the second jsp name and full path,knowing only the name of the textbox doesnt help.

can you be a bit more elaborate and clear?

but dude....i haave no control over the other site which is having the 'TEXTBOX'.....assume that i just knoe the TEXTBOX NAME...nothnig else...now how can i give connectivity to the site wiht TEXTBOX??...can u plz elaborate???? And tell me...is it really feasible to do that??? imean is there really a solution to the problem???
Apr 4 '07 #7
Assume that u know the full path.....still then how would u give connectivity of database with the third party site ......which is having only textbox....wtih the java or javascript???


if you dont have the second jsp name and full path,knowing only the name of the textbox doesnt help.

can you be a bit more elaborate and clear?
Apr 7 '07 #8

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by gabryh | last post: by
10 posts views Thread by Rakesh Rajan | last post: by
reply views Thread by Captain | last post: by
3 posts views Thread by 7stud | last post: by
4 posts views Thread by carlos123 | last post: by
126 posts views Thread by jacob navia | last post: by
reply views Thread by gheharukoh7 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.