• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JApplet System Access

 
Ola Daniel
Ranch Hand
Posts: 105
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all, Im kind of stuck. I am attempting to call an executable from within an applet. Using:

The executable file runs some process on a database residing on the client machine and then writes some response text to the client machine.

When run normally from the command prompt. Everything runs ok.

How ever when i run it from the Applet using the above code. The browser just freezes.

Ive tried modifying the java.policy file in my jre as shown below:



I tried running some other executable files like notepad.exe, iexplore. No problem my applet calls them ok. However any attemp to call any program that uses the command prompt does not work.

I am out of ideas. Can anyone give me options.

Thanks
 
Ulf Dittmer
Rancher
Posts: 42969
73
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you properly handling input and output of that process as [URL=http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps_p.html]described here[/url]?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic