wood burning stoves 2.0*
The moose likes Struts and the fly likes Struts + Applet issue Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts + Applet issue" Watch "Struts + Applet issue" New topic

Struts + Applet issue

Patrick Dezenzio

Joined: Jul 21, 2006
Posts: 10
Hello All,

I have a Struts application running under Tomcat 5 using an Applet as my frontend. The Applet uploads images to the server using the Http Client and FileUpload packages. The upload works great, including a progress bar. The issue is in the action class that saves the files to the server. The action forward returned doesn't do anything. I have a global action forward in my struts-config to forward to a "hello" html page. No errors are dumped. No messages indicate that an issue occurred in the forwarding. Here's my theory: since I am using the HttpClient package and the applet itself waits for a response from the servlet (in this case, a Struts action), the forward is being rejected in favor of sending the response to the applet.

Is there something I need to do on the Struts side, or should I add a NEXT button in the applet to allow the user to forward to the next page (basically, add a manual forward function in the applet)?

I agree. Here's the link: http://aspose.com/file-tools
subject: Struts + Applet issue
Similar Threads
Back button of the browser
How to get the whole URL to display in address bar
struts Action for asynchronous HTTP processing
an unnatural act
Struts URL