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


In reply to embedding swing (java 1.4.1) applets using CGI.pm by seaver

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.