473,385 Members | 1,353 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,385 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 6154

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...
1
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...
0
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...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.