This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
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


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Struts + Applet issue" Watch "Struts + Applet issue" New topic
Author

Struts + Applet issue

Patrick Dezenzio
Greenhorn

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)?

Thanks,
Patrick
 
 
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