Connecting Tech Pros Worldwide Help | Site Map

launch an exe file from a web page...I use jsp and i cannot use VBScript...

dinamointer
Guest
 
Posts: n/a
#1: May 10 '06
Could you help me in this problem:
I want to launch an exe file(executable jar file) from a web page.
I use jsp...and i cannot use vbScript...?
could u tell me how should i do it?
Thanks

Richard Cornford
Guest
 
Posts: n/a
#2: May 10 '06

re: launch an exe file from a web page...I use jsp and i cannot use VBScript...



dinamointer wrote:[color=blue]
> Could you help me in this problem:
> I want to launch an exe file(executable jar file) from a web page.
> I use jsp...and i cannot use vbScript...?
> could u tell me how should i do it?[/color]

If you mean a public web page with normal Internet security
restrictions you cannot launch an exe at all (for very obvious
safety/security reasons).

Richard.

David Dorward
Guest
 
Posts: n/a
#3: May 10 '06

re: launch an exe file from a web page...I use jsp and i cannot use VBScript...


dinamointer wrote:[color=blue]
> I want to launch an exe file(executable jar file) from a web page.
> I use jsp...and i cannot use vbScript...?[/color]

If you are running this on the server, then this is the wrong place.
JavaScript has four things in common with JavaServer Pages - the
letters "J", "A", "V" and another "A".

On the client side, running executables with JavaScript is pretty much
impossible in a standard security environment, but as you seem to be
writing the executable in Java you might have some luck if you google
for "Java Web Start" (which also has nothing to do with JavaScript).

Robert Baer
Guest
 
Posts: n/a
#4: May 11 '06

re: launch an exe file from a web page...I use jsp and i cannot use VBScript...


Richard Cornford wrote:
[color=blue]
> dinamointer wrote:
>[color=green]
>>Could you help me in this problem:
>>I want to launch an exe file(executable jar file) from a web page.
>>I use jsp...and i cannot use vbScript...?
>>could u tell me how should i do it?[/color]
>
>
> If you mean a public web page with normal Internet security
> restrictions you cannot launch an exe at all (for very obvious
> safety/security reasons).
>
> Richard.
>[/color]
I presume that means one cannot create a file from scratch to use for
variable memory common to a number of web pages that call each other?
If true, and since cookies are said to be not reliable, then it would
seem to be impossible for a 100% client-side JavaScript based web page
set to have shared variables.
If that is possible, then how could it be implimented?
I ask because i am trying to save a goodly chunk of money that would
be required for a server-side solution.
Richard Cornford
Guest
 
Posts: n/a
#5: May 11 '06

re: launch an exe file from a web page...I use jsp and i cannot use VBScript...


Robert Baer wrote:[color=blue]
> Richard Cornford wrote:[color=green]
>> dinamointer wrote:
>>[color=darkred]
>>>Could you help me in this problem:
>>>I want to launch an exe file(executable jar file) from a
>>> web page. I use jsp...and i cannot use vbScript...?
>>>could u tell me how should i do it?[/color]
>>
>> If you mean a public web page with normal Internet security
>> restrictions you cannot launch an exe at all (for very obvious
>> safety/security reasons).
>>
>> Richard.
>>[/color]
> I presume that means one cannot create a file from scratch
> to use for variable memory common to a number of web pages
> that call each other?[/color]

No, I mean that a public web page with normal Internet security cannot
launch an arbitrary executable in the client computer.
[color=blue]
> If true, and since cookies are said to be not reliable,
> then it would seem to be impossible for a 100%
> client-side JavaScript based web page set to have shared
> variables.[/color]

That would probably depend upon what 'shared variables' was supposed to
be referring to.
[color=blue]
> If that is possible, then how could it be implimented?[/color]

Your specification for 'it'?
[color=blue]
> I ask because i am trying to save a goodly chunk of money
> that would be required for a server-side solution.[/color]

There is a difference between not spending money and saving money
(particularly over the longer term).

Richard.


Randy Webb
Guest
 
Posts: n/a
#6: May 11 '06

re: launch an exe file from a web page...I use jsp and i cannot use VBScript...


Robert Baer said the following on 5/11/2006 4:24 AM:[color=blue]
> Richard Cornford wrote:
>[color=green]
>> dinamointer wrote:
>>[color=darkred]
>>> Could you help me in this problem:
>>> I want to launch an exe file(executable jar file) from a web page.
>>> I use jsp...and i cannot use vbScript...?
>>> could u tell me how should i do it?[/color]
>>
>>
>> If you mean a public web page with normal Internet security
>> restrictions you cannot launch an exe at all (for very obvious
>> safety/security reasons).
>>
>> Richard.
>>[/color]
> I presume that means one cannot create a file from scratch to use for
> variable memory common to a number of web pages that call each other?[/color]

Not on an Internet site. If it's Intranet you have possibilities.
[color=blue]
> If true, and since cookies are said to be not reliable, then it would
> seem to be impossible for a 100% client-side JavaScript based web page
> set to have shared variables.[/color]

True, cookies are not reliable. Put the site in a hidden frame scenario
and keep your variables in the frameset.
[color=blue]
> If that is possible, then how could it be implimented?[/color]

See above.
[color=blue]
> I ask because i am trying to save a goodly chunk of money that would
> be required for a server-side solution.[/color]

PHP and Apache are free so where is that "goodly chunk of money" going
to be spent?
--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Robert Baer
Guest
 
Posts: n/a
#7: May 12 '06

re: launch an exe file from a web page...I use jsp and i cannot use VBScript...


Randy Webb wrote:
[color=blue]
> Robert Baer said the following on 5/11/2006 4:24 AM:
>[color=green]
>> Richard Cornford wrote:
>>[color=darkred]
>>> dinamointer wrote:
>>>
>>>> Could you help me in this problem:
>>>> I want to launch an exe file(executable jar file) from a web page.
>>>> I use jsp...and i cannot use vbScript...?
>>>> could u tell me how should i do it?
>>>
>>>
>>>
>>> If you mean a public web page with normal Internet security
>>> restrictions you cannot launch an exe at all (for very obvious
>>> safety/security reasons).
>>>
>>> Richard.
>>>[/color]
>> I presume that means one cannot create a file from scratch to use
>> for variable memory common to a number of web pages that call each other?[/color]
>
>
> Not on an Internet site. If it's Intranet you have possibilities.
>[color=green]
>> If true, and since cookies are said to be not reliable, then it
>> would seem to be impossible for a 100% client-side JavaScript based
>> web page set to have shared variables.[/color]
>
>
> True, cookies are not reliable. Put the site in a hidden frame scenario
> and keep your variables in the frameset.
>[color=green]
>> If that is possible, then how could it be implimented?[/color]
>
>
> See above.
>[color=green]
>> I ask because i am trying to save a goodly chunk of money that would
>> be required for a server-side solution.[/color]
>
>
> PHP and Apache are free so where is that "goodly chunk of money" going
> to be spent?[/color]
My ISP wants $$ to impliment security on my proposed web pages.
I do not want anyone to type in the full URL of any of the web pages
and have them work - except the index.html "root".
I have figured out a way that page#1 can "call" page#2 which can
"call" page#3 etc and one can use the back button successfully - but the
(stored) state variable can be used to prevent any other kind of entry.
Randy Webb
Guest
 
Posts: n/a
#8: May 12 '06

re: launch an exe file from a web page...I use jsp and i cannot use VBScript...


Robert Baer said the following on 5/12/2006 3:59 AM:[color=blue]
> Randy Webb wrote:
>[color=green]
>> Robert Baer said the following on 5/11/2006 4:24 AM:[color=darkred]
>>> I ask because i am trying to save a goodly chunk of money that would
>>> be required for a server-side solution.[/color]
>>
>>
>> PHP and Apache are free so where is that "goodly chunk of money" going
>> to be spent?[/color]
> My ISP wants $$ to impliment security on my proposed web pages.[/color]

Your ISP or your hosting company? All your ISP does is provide you with
an Internet connection, hence the ISP - Internet Service Provider.

Get a Broadband Connection (preferably Cable)
Download Apache and PHP
Create your own server.

Simple stuff and it only costs you a Broadband connection.
[color=blue]
> I do not want anyone to type in the full URL of any of the web pages
> and have them work - except the index.html "root".[/color]

You can't reliably do that on the client. If you want limited access you
have to do it on the server.
[color=blue]
> I have figured out a way that page#1 can "call" page#2 which can
> "call" page#3 etc and one can use the back button successfully - but the
> (stored) state variable can be used to prevent any other kind of entry.[/color]

If your "security" depends on JS (or any other client side technology)
then you don't have security, you have a false sense of security.
--
Randy
comp.lang.javascript FAQ - http://jibbering.com/faq & newsgroup weekly
Javascript Best Practices - http://www.JavascriptToolbox.com/bestpractices/
Closed Thread