473,387 Members | 3,750 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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 1736
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

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

Similar topics

4
by: gabryh | last post by:
Hi, The following code throws me NullPointerException. ..... public static boolean isEmpty(String value) { return ((value == null) || (value.trim().equals(""))); }
15
by: Nick Coghlan | last post by:
Thought some folks here might find this one interesting. No great revelations, just a fairly sensible piece on writing readable code :) The whole article:...
10
by: Rakesh Rajan | last post by:
Hi, Seems like VB.NET Intellisense and complier does check for method definitions much. The following code compiles with no errors in VB.NET! (but of course, trust C# to be strict and perfect :)...
0
by: Captain | last post by:
Hi, We have been trying to measure the performance of SQL queries in Java applications using JDBC and SQLJ to figure out the best method for our environment. We intented to use DB2SystemMonitor...
1
by: manas312 | last post by:
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...
3
by: 7stud | last post by:
http://www.evolt.org/article/OO_programming_the_Python_way/18/449/ ----- The last article gives you the absolute basics of using Python. This time, we'll do the OO side of Python. Yes, Python: a...
0
by: Jerry Mcnealy | last post by:
There is an interesting article on java.net about SOA reusability, Shrinking the Lag between Business and IT: http://today.java.net/pub/a/today/2007/07/24/soa-reusability-shrinking-lag-time.html...
4
by: carlos123 | last post by:
Ok, let me explain my problem. I am making a program which writes a program in a .txt file. It is run by a GUI. For example if the user wants to add a button or a label they click the "add button" or...
126
by: jacob navia | last post by:
Buffer overflows are a fact of life, and, more specifically, a fact of C. All is not lost however. In the book "Value Range Analysis of C programs" Axel Simon tries to establish a...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.