473,320 Members | 2,071 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,320 software developers and data experts.

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

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

May 10 '06 #1
7 6152

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.

May 10 '06 #2
dinamointer wrote:
I want to launch an exe file(executable jar file) from a web page.
I use jsp...and i cannot use vbScript...?


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).

May 10 '06 #3
Richard Cornford wrote:
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.

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.
May 11 '06 #4
Robert Baer wrote:
Richard Cornford wrote:
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.

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?


No, I mean that a public web page with normal Internet security cannot
launch an arbitrary executable in the client computer.
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.
That would probably depend upon what 'shared variables' was supposed to
be referring to.
If that is possible, then how could it be implimented?
Your specification for 'it'?
I ask because i am trying to save a goodly chunk of money
that would be required for a server-side solution.


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

Richard.
May 11 '06 #5
Robert Baer said the following on 5/11/2006 4:24 AM:
Richard Cornford wrote:
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.

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?


Not on an Internet site. If it's Intranet you have possibilities.
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.
True, cookies are not reliable. Put the site in a hidden frame scenario
and keep your variables in the frameset.
If that is possible, then how could it be implimented?
See above.
I ask because i am trying to save a goodly chunk of money that would
be required for a server-side solution.


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/
May 11 '06 #6
Randy Webb wrote:
Robert Baer said the following on 5/11/2006 4:24 AM:
Richard Cornford wrote:
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.

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?

Not on an Internet site. If it's Intranet you have possibilities.
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.

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

See above.
I ask because i am trying to save a goodly chunk of money that would
be required for a server-side solution.

PHP and Apache are free so where is that "goodly chunk of money" going
to be spent?

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.
May 12 '06 #7
Robert Baer said the following on 5/12/2006 3:59 AM:
Randy Webb wrote:
Robert Baer said the following on 5/11/2006 4:24 AM:
I ask because i am trying to save a goodly chunk of money that would
be required for a server-side solution.

PHP and Apache are free so where is that "goodly chunk of money" going
to be spent?

My ISP wants $$ to impliment security on my proposed web pages.


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.
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".
You can't reliably do that on the client. If you want limited access you
have to do it on the server.
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.


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/
May 12 '06 #8

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

17
by: SK | last post by:
I am calling an exe thru' href, but when it executes, I get the message if I want to open the file(exe file). Is there any way I can suppress this from appearing and open the program? Thank...
4
by: Caroline | last post by:
I'd like to launch an executable file from a web page. Basically, the user enters seven parameters and then clicks a button to generate a graph. The input is written to a file and then read by...
1
by: Frank | last post by:
Short Version of Question: Can anyone provide an example of how I should embed the ActiveX and license, and then use it in a function?
5
by: Frank | last post by:
The following code will not work in my shtml page at all and I can not figure out the reason. I get the error that there is a "Type Mismatch 'Launch'" when i click the button. If i change the...
5
by: Neil Rossi | last post by:
I have an issue with a particular ASP page on two web servers. Let's call these servers Dev1 and Beta1. Both Servers are running IIS 5, Windows 2000 SP4 with "almost" all of the latest patches. ...
4
by: Patrick Dugan | last post by:
I am trying to launch a vbscript from within vb.net (vs2005) The script itself requires a parameter of a filename to process. I have tried: Dim P As Process =...
1
by: Curious Trigger | last post by:
Hi there, programming with Visual Studio 2005 and ASP.NET 2.0 I want to open a modal dialog from Default.aspx. I searched the net and many newsgroups but I couldn't find any solution. First I...
0
by: Lee | last post by:
I have an activex control built with VS 2005, C#. I have a "Done" event that I fire from the control when some processing is done. I have tested this with a C++ app as the host, and I do get the...
1
BezerkRogue
by: BezerkRogue | last post by:
I have created a VB Script to synchronize software versions and then launch an application on the system it is run against. The script runs and generates no errors but will not launch the second...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
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...
1
isladogs
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...
0
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...
0
by: jfyes | last post by:
As a hardware engineer, after seeing that CEIWEI recently released a new tool for Modbus RTU Over TCP/UDP filtering and monitoring, I actively went to its official website to take a look. It turned...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
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)...
1
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....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

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.