• Post Reply Bookmark Topic Watch Topic
  • New Topic

Struts + Applet issue  RSS feed

Patrick Dezenzio
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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)?

  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!