This week's book giveaway is in the OO, Patterns, UML and Refactoring forum. We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line! See this thread for details.
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)?