I have integrated an Applet into my Struts based wizard web-app. Everything works OK until I have to get back to the input page that contains an applet using "return (new ActionForward(mapping.getInput()));". Generated HTML is OK but my applet class doesn't get reloaded. I understand it is because request didn't came from the browser, i.e. the page was sent from the server, and the browser just display what he received, but how can I force the browser to dispaly my applet in this case?
posted 11 years ago
Still confused. I have switched from using APPLET tag to <jsp lugin ...> with parameter <jsp aram name="cache_option" value="No" />, and it works. An applet doesn't get cached. But the problem remains. When I forward to my input JSP using "return (new ActionForward(mapping.getInput()));", Java Plugin displays a message saying something like "... applet class not found... IO error...(...stack trace...)". I understand that an applet should be loaded from the server on each pointing to the JSP page, but that doesn't happen.
Resume: When I type the URL of my JSP page into address field of my IE an applet gets loaded, but when my Actin Servlet (using forward) point back to the same JSP page, an applet doesn't get loaded.