Results 1 to 2 of 2
- 03-06-2009, 12:22 AM #1
Member
- Join Date
- Mar 2009
- Posts
- 1
- Rep Power
- 0
execute on server and read from file
hello.
i have data files on web server that contains some values(i need to build from them chart).
i make aplet that read information from file and build chart.
but when i upload the applet to server , it didn't find the files.
can you please suggest how can i make java program that will be executing on server and read there from files ?
thank you
- 03-13-2009, 07:45 PM #2
Member
- Join Date
- Feb 2009
- Posts
- 40
- Rep Power
- 0
you would have to jar all your files needed for that applet. then design an html with the applet embedded inside either using and <applet> or <object> tag.
You would also need to develope a jnlp file to that initializes the the applet inside the html.
using netbeans its really easy. just enable web start in the properties of your applet check the self sign box then select which package and class is the main class for the applet. click done and netbeans does the rest. you would just have to copy the jnlp file, the launch html, and the jar file which would be in the dist folder of your project to your webserver. pretty sure you would have to delete the codebase part of the jnlp file just open it with notepad to do that and delete that part just leave the href part with "launch.jnlp" and you should be good.
Similar Threads
-
how to read openproj(Projity) file i.e. ,POD file(Project Management file)
By mahendra.athneria in forum New To JavaReplies: 0Last Post: 02-11-2009, 09:53 AM -
How to read and write to a file without taking out the comments in the file
By MAGNUM in forum New To JavaReplies: 5Last Post: 02-05-2009, 10:28 AM -
How to read a text file from a Java Archive File
By Java Tip in forum Java TipReplies: 0Last Post: 02-08-2008, 09:13 AM -
send/read int in a client/server app
By dim_ath in forum New To JavaReplies: 2Last Post: 01-03-2008, 01:03 PM -
Execute Jar file
By barney in forum New To JavaReplies: 1Last Post: 08-07-2007, 07:13 AM


LinkBack URL
About LinkBacks
Reply With Quote
Bookmarks