Hi,
In relation with my previous post, I thought of a plan B. If I can't connect
to an url with an applet, is it possible to let something else doing the
job? For example, I want to send "test" to IP "1.2.3.4". With an ordinary
website, this won't be a problem. The applet is generated inside a normal
website with some parameters and stuff, so, is it possible to let the applet
give something back to it's parent page and let him send it?
1. test.html
2. test.html starts up applet
3. applet does some stuff and generates a string
4. applet is ' finished' (button click or something)
5. test.html receives a string and send it
Would that be possible?
Greetings,
Rick 3 1823
"Rick" <as******@hotmail.com> wrote in message news:<3f*********************@news.xs4all.nl>... Hi,
In relation with my previous post, I thought of a plan B. If I can't connect to an url with an applet, is it possible to let something else doing the job? For example, I want to send "test" to IP "1.2.3.4". With an ordinary website, this won't be a problem. The applet is generated inside a normal website with some parameters and stuff, so, is it possible to let the applet give something back to it's parent page and let him send it? 1. test.html 2. test.html starts up applet 3. applet does some stuff and generates a string 4. applet is ' finished' (button click or something) 5. test.html receives a string and send it Would that be possible?
Unless you need some kind of fancy validation on the client side this
can best be done using a simple HTML form, against a CGI script, PHP,
or whatever on the server side.
(Tip: never trust the client to validate data. You usually have no
control over the client, and a malfunctioning or modified client can
send any type of garbage to your server. A well programmed server app
should always treat any data coming from a client with a healthy degree
of mistrust! :-)
-FISH- ><>
"FISH" <jo*****@merseymail.com> wrote in message
news:db************************@posting.google.com ... "Rick" <as******@hotmail.com> wrote in message
news:<3f*********************@news.xs4all.nl>... Hi,
In relation with my previous post, I thought of a plan B. If I can't
connect to an url with an applet, is it possible to let something else doing the job? For example, I want to send "test" to IP "1.2.3.4". With an
ordinary website, this won't be a problem. The applet is generated inside a
normal website with some parameters and stuff, so, is it possible to let the
applet give something back to it's parent page and let him send it? 1. test.html 2. test.html starts up applet 3. applet does some stuff and generates a string 4. applet is ' finished' (button click or something) 5. test.html receives a string and send it Would that be possible?
Unless you need some kind of fancy validation on the client side this can best be done using a simple HTML form, against a CGI script, PHP, or whatever on the server side.
(Tip: never trust the client to validate data. You usually have no control over the client, and a malfunctioning or modified client can send any type of garbage to your server. A well programmed server app should always treat any data coming from a client with a healthy degree of mistrust! :-)
-FISH- ><>
I would like to reinforce fish's tip. A user can just copy the html page,
make changes, and send it to you. Be especially careful about hidden
variables.
Well, I don't have enough time to learn CGI or PHP but I fixed the problem
what was described in the previous post so it's ok now. Anyway, thanks for
help and advice!
Greetings,
Rick This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Jeff T. |
last post by:
I have an applet that sizes itself to the size of the browser frame
that it is running in. On IE the applet resizes upon dragging the
frame divider.
I'm having a problem with getting this...
|
by: James Hong |
last post by:
Help please, I try to sending an email from my html page using the java
applet.
but it give error on most of the PC only very few work, what is the error i
make
the java applet show as below
...
|
by: Wayne's World |
last post by:
hi everyone,
i have a big problem, writing a image from my applet to my apache
webserver. i tried three way's of writing that file. every way was
described in forums to solve this problem, but...
|
by: George Hester |
last post by:
I have an applet which is a cube each face if which is a link. I have a floating <DIV> element which when the mouse is over the applet it pops up showing the text of all the links in the applet....
|
by: DKM |
last post by:
Here are the source code files to a Java applet that utilizes
LiveConnect to communicate with Javascript, and the HTML file.
The thing works both in IE 6.0 and FireFox 1.4. but with some...
|
by: ankur |
last post by:
WHEN I RUN THIS WEB APPLICATION ON Tomcat5.5.9 SERVER
MY HttpChatApplet sccessfully Loaded from ChatDispatch but
running on some another PC HttpChatApplet not loaded
my Coad
...
|
by: ponvijaya |
last post by:
Hi All,
In My project, i am loading an applet in a HTML page using applet tag.
And I am passing parameters to applet while loading the applet.
In this project , this applet will do...
|
by: ManidipSengupta |
last post by:
Hi, a few (3) questions for the Java experts, and let me know if this is the right forum. It deals with 100% java code (reason for posting here) but manages a Web browser with Javascript. Thanks in...
|
by: xtremebass |
last post by:
Hi Bytes,
i did sample Applet program in linux environment in that place where my java is installed. when i execute the code it creates the .class file and browser shows the result when i load...
|
by: DolphinDB |
last post by:
Tired of spending countless mintues downsampling your data? Look no further!
In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
|
by: ryjfgjl |
last post by:
ExcelToDatabase: batch import excel into database automatically...
|
by: isladogs |
last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM).
In this month's session, we are pleased to welcome back...
|
by: Vimpel783 |
last post by:
Hello!
Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
|
by: PapaRatzi |
last post by:
Hello,
I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
|
by: CloudSolutions |
last post by:
Introduction:
For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
|
by: Shællîpôpï 09 |
last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
|
by: af34tf |
last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you
|
by: Faith0G |
last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
| |