Execute A Application On The Server?

May 2, 2010

I have an application on my server that is called leaf.exe, that haves two arguments needed to run, they are: inputfile and outputfile, that will be like this example:

Code:

pnote.exe input.pnt output.txt

They are all on the same directory as my home page file(the executable and the input file). But I need that a JavaScript could run the application like that, then I want to know how could I do this.I'm using just Apache, I don't have any language for web installed on it. My goal is to do a site using just JavaScript, without the help of anyother language than it, HTML and CSS.

View 6 Replies


ADVERTISEMENT

How To Execute An External Java Application By Javascript?

Jul 23, 2005

I am writing a java application as a mozilla extension.
Because mozilla uses javascript for the frontend,
i need the javascript to call my external java application
and pass one parameter to it.

View 1 Replies View Related

To Kill A Request To Application Server?

Sep 22, 2011

How to kill/abort the request (ie currently processing) to Applicatin server ,like clicking the "submit new thread" button of IE and i want to stop posting .The main thing is that it has to kill the entire process .

View 2 Replies View Related

Ajax :: How To Get Code From Server And Execute It

Dec 6, 2009

How to perform on-demand javascript using AJAX? My question is: how to get a javascript code from my server and execute it?

View 1 Replies View Related

XMLHttpRequest: Script Works To Request XML File On Server But Not On External Server

Oct 2, 2010

I have the following JavaScript (see below). The script requests an XML file from the server and displays it on the page.

The script works fine when the requested XML file is stored on the same server as the script.

The problem is when I try requesting an XML file from an external server such as the National Weather Service. I get an error. If I take the XML file from the National Weather Service and save it to my server it works. Why can't I use my script to request XML files stored on external servers?

Javascript Code

window.onload = initAll;
var xhr = false;
function initAll() {
document.getElementById("makeTextRequest").onclick = getNewFile;

[Code]....

View 8 Replies View Related

AJAX :: Cross-domain Calls - Loaded From One Server Into A Website On Another Server

Mar 11, 2010

I'm trying to write a script that will be loaded from one server into a website on another server. This script is trying to talk (ajax) to the server that it comes from but I'm getting "Access Denied" errors. I'm well aware that cross-domain calls are not allowed for security reasons so my question is how does Google Analytics work because essentially thats what I'm trying to accomplish. I can embed a Google Analytics script into my website and it'll gather data and send it back to Google.

View 4 Replies View Related

AJAX :: Getting Server Date/time With No Server Side Script

Apr 19, 2010

I'd been looking for some way to get server date/time without using any server side script (such as ASP, PHP, etc).

I found this and it worked just excellent for me! I just want to share it because it wasn't easy to find.

I created a js document with code:

Code:

Now, I can use this js within a html like this:

HTML Code:

You may change your machine date/time and check both dates.

View 1 Replies View Related

Resolve Relative Server Links When HTML Source Is Not On Server

Feb 10, 2010

I would like to open an html file locally (not fetch it from a server) and somehow use javascript to fetch the relative resources from the server. One solution would be to convert all of the relative links to absolute links. I can convert the html source file anyway I wish, but ideally I would like to modify the html source as little as possible, for example insert a function that modifies the result of the src attribute. How would I go about this? Is there any trick I can use to define where the relative home is? Am I going to get into any scripting security gotchas?

View 3 Replies View Related

Saving A File On The Server W/ Js, Ie No Server Code

Dec 31, 2006

I am creating an XML document on my page with javascript. My question
is, is it possible to save that xml file on the server (I have write
permissions) only using javascript, ie no server code? This task would
be trivial using server code, but I was wondering if I can do it all
with client code and post backs? Well, any input?

View 1 Replies View Related

Server To Server Connection (with Clients)?

Dec 7, 2010

I already have a server connected to clients, clients send msgs and it echoes back to all of them and now i want when a client sends a msg it echoes on his server and the other server too .. so when any of the clients on any of the servers sends a msg it is broadcasted all over the servers to all clients

[Code]...

View 1 Replies View Related

Events - Add Server Control To Custom Webcontrol That Fires Function And A Server Side Function?

Jun 24, 2010

In ASP.Net, I am trying to create a WebControl. In this control, I have RenderControl method overridden with my html controls.

protected override void RenderContents(HtmlTextWriter output)
{
output.Write(@"<table><tr><td>");

[code]....

How can I make the button call the click event so that the server side method btnExecute_Click() can be called? Also, this button calls a javascript function before server side even.

View 5 Replies View Related

Multilanguage Application

May 25, 2006

I need to develope a multilanguage application in javascript:
is there some particular library, or do you have some
pointer to guidelines to follows: the messages should
if possible be keeped in a separate file, one for language.
Is there some standard format?

View 2 Replies View Related

Application Planner

Sep 3, 2007

I having taken on a large project (set by myself), and I can never
seem to plan out my functions, classes, variables etc... in a format
that's easy to read, and follow.

Would anyone know of some kind of application which will allow me to
"prototype" my application first? I am sure such a thing exists, I
just don't know what I am looking for. I think I am after something
along the lines of Microsoft Visio, but a bit simpler.

View 4 Replies View Related

Application Add Wig To Face

Jan 13, 2010

I know this sounds so stupid, but it's a project that I am working on. I need to develop an application where people can upload a picture of themself and then it will add a wig to their picture over their hair.I just don't know how the code scans the uploaded photo and finds where to add the wig to the picture. The program will be really simple. No choice of wigs there is just one wig and as soon as the picture is uploaded the wig should be added and then displayed.

View 2 Replies View Related

Javascript IE + Word.application

Jul 23, 2005

Is there any way for me to capture the DocumentBeforeSave event with an ActiveXObject("Word.Application") via Javascript in IE?

View 1 Replies View Related

Debug Javascript In A JSP Web Application?

Sep 29, 2005

Is there any way to debug javascript in a web application? When I
develop JSP pages, and it has the javascript code in it. The problem is
the debugger in Java IDE (WSAD in my case) can only debug Java code but
not Javascript code.

What should I do to debug javascript code?

View 2 Replies View Related

Is It Possible To Disable Toolbars In My (asp.net) Web Application?

Oct 30, 2006

I am developing a web application in asp.net. In this application, i would like to disable all other tool bar other than menu bar. If you know more about the same. Please guide me to proceed further?

Note: It should work for all major browser such as IE, netscape, Mazilla, opera....

View 1 Replies View Related

AJAX And Application Variable (ASP)

Nov 14, 2006

I am using ASP to make an application. What I want right now - is to
make the self updating list of the users online - based on thier
cookies. In my opinion all seems to be writen well with it's logic, but
computer thinks otherwise. I use application("loged") to store the
cookies of all users. Code:

View 5 Replies View Related

JQuery :: Querystring From One Application To Another?

Oct 19, 2011

Ineed to pass two variable in a querystring from one application (in PHP) to another (in ASP.NET). It's a one way transfer...That is I need to encrypt it in PHP and decrypt it in ASP.NET (c#). The data will be anywhere from 5 - 15 characters..only letters and numbers.

View 2 Replies View Related

Make My Application Always Run In New Window?

May 5, 2009

Is it possible to make my application always open in a new window even if IE 7 tabbed setting is set to Open links in a new tab in the current window.Always open pop-ups in a new tab.I am using the following command to open my application in new window

NewWin=window.open('my_http','_blank','toolbar=no,resizable=no,width=1150,height=810')

Which works fine as long as users dont set their IE7 tabbed setting to always open pop-ups in a new tab.

View 2 Replies View Related

Launch An Application In Script?

Mar 25, 2010

If I want to launch an application in DOS it is START notepad.exe

How do I launch the application in Javascript?

View 3 Replies View Related

Realtime Graphic Web Application?

Jun 9, 2011

i'm only looking for someone that will want to point me in the right direction...and i'll try to do my best on my own ...we want to offer personalized tshirts...so we do need a way for the customer to choose size, color, subject and text and check all this in real time...someone that is doing something that we want is
http://www.vistaprint.com/embroidered-activewear.aspx?xnav=top#in your opininion,

View 4 Replies View Related

Asp Application Contained Within An Iframe?

Mar 14, 2007

I have an asp application contained within an Iframe. If the browser refreshes, the page within the Iframe reverts back to the login page and the user has to log on again.Is there a way to keep this from happening if a user clicks the refresh button on their browser?

View 3 Replies View Related

Opening CD Burning Application Through PHP

Jun 30, 2009

I have a requirement in my PHP application which needs me to open a CD Burning application like NERO or others so that data can be burnt on it. I want to know how I can achieve this using PHP or Javascript or both. So that on a click of a button or any other link etc I can open the CD burning application and also can i burn data from a web page on to a cd.

View 4 Replies View Related

Script To Open An Application?

Mar 25, 2010

I just start learning javascript and sorry if the question seem basic.

In DOS, if I write a batch file it would be START notepad.exe. This will launch the notepad application. How do you launch an application in Javascript?

View 6 Replies View Related

Using Javascript To Open An Application

Mar 27, 2001

I need to have a way to create a link that opens a specific word document.

How can I write a javascript function to do that?

View 6 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved