aspose file tools*
The moose likes Struts and the fly likes Exiting Struts & returning Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Exiting Struts & returning" Watch "Exiting Struts & returning" New topic
Author

Exiting Struts & returning

Tim Manchester
Ranch Hand

Joined: Nov 03, 2004
Posts: 62
Howdy, I need to go from a Struts action classs' execute method to a non-struts servlet, process some data and come back into a struts jsp with a newly populated form.

So far, I take my form data, convert it to xml. Put the xml string into a request attribute and forward to the non-struts servlet (I set up a global forward that points to the servlet I need).

In the non-struts servlet, I pull out the xml and process it. Now I have some values I want to populate into a struts form and then forward to the forms jsp page.

What is the suggested process for populating a struts form in a non-struts servlet and forwarding it to a struts jsp?

Regards,

- DM_Tim
[ March 21, 2005: Message edited by: Tim Manchester ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Exiting Struts & returning