more useful options | |
PerlMonks |
embedding swing (java 1.4.1) applets using CGI.pmby seaver (Pilgrim) |
on Nov 25, 2002 at 22:14 UTC ( [id://215743]=perlquestion: print w/replies, xml ) | Need Help?? |
seaver has asked for the wisdom of the Perl Monks concerning the following question:
Ok,this may entail a bit of java...
so I have an applet that takes a file and produces an image depending on the information contained in the file... this information file is in turn produced by a perl script dubbed MONSTER(which in turns parses and feeds molecular data into another program and uses the output from that to produce the information file, but i digress) previously, my java applet, was embedded in a JSP page, which took an information file, used a bean to upload it, and then passed it into the applet... now I want to be able to direct the information file from MONSTER directly into the applet, or in other words, have a web interface to MONSTER, where I can run it from the browser, and then have a button that opens the applet and pass the resulting information file into the applet.. to this end, im using httpd from apache instead of Tomcat, and am trying to embed the applet using CGI.pm, but it's not working, has anyone had any experience with this? the applet is opening in the web browser, but is not initialising properly, it seems it can't find the class file... i just want to know if this is possible, and the best way to do this, in the first place, i thought about running it via tomcat, but having a servlet run a perl script sounded like a long way round, i though cgi would be better, anyone? thanks S
Back to
Seekers of Perl Wisdom
|
|