The Artima Developer Community
Sponsored Link

Java Answers Forum
Struts + Applet

0 replies on 1 page.

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 0 replies on 1 page
Rasa

Posts: 1
Nickname: sumadinac
Registered: Oct, 2004

Struts + Applet Posted: Oct 20, 2004 12:59 AM
Reply to this message Reply
Advertisement
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 have switched from using APPLET tag to <jsp:plugin ...> with parameter <jsp:param 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.

What is goin' on here?

Topic: Parser Previous Topic   Next Topic Topic: Need to evaluate a String to make graphing calc

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use