aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes client-side scripting? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "client-side scripting?" Watch "client-side scripting?" New topic
Author

client-side scripting?

Rudy Rusli
Ranch Hand

Joined: Jun 01, 2006
Posts: 114
Hi,

Let's say I have a HTML page with some javascript inside body tag.
When I request the html page, the server will return me the html page and the script will be executed in the client side, right?

I understand this concept when we are accessing the page using web browser. What happen when a looping program accessing this html page? Would the script be executed also?

Thanks. Maybe I'm just a little bit confused about the client-side scripting concept.

Rudy Rusli
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 41839
    
  63
Can you explain what a "looping program" is? I have never heard the term.


Ping & DNS - my free Android networking tools app
Rudy Rusli
Ranch Hand

Joined: Jun 01, 2006
Posts: 114
Sorry about that.

Basically what I'm trying to ask is the condition when a program access a certain HTML page.

What I meant by a looping program is a program that loops let's say once every six hours to access a URL.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
Funny idea: Have you tried to se what the screen scraper does? What do they say about web spiders?

Eric
Rudy Rusli
Ranch Hand

Joined: Jun 01, 2006
Posts: 114
Hello,

Just for information, I ask this question since I want to do the following:

1. I'm going to provide my clients with an html page to access our data.
It will be something like "http://....com/index.html?username=..&pwd=.."
My clients then will access this URL using a program.
2. In this page there is javascript that will hashed the password (using hashed algorithm) before it redirects to a JSP page.

I'm just wondering whether the javascript will be executed or not in my clients' program before the information is sent to the web server. Based on my understanding, it will be executed if I access the URL using a web browser.

Thank you
- Rudy -
Gregg Bolinger
GenRocket Founder
Ranch Hand

Joined: Jul 11, 2001
Posts: 15299
    
    6

I'm just wondering whether the javascript will be executed or not in my clients' program before the information is sent to the web server. Based on my understanding, it will be executed if I access the URL using a web browser.

If your clients "program" has a Javascript Engine that will process the Javascript, sure.


GenRocket - Experts at Building Test Data
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: client-side scripting?