This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
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 Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Frameworks » Struts
Bookmark "Exiting Struts & returning" Watch "Exiting Struts & returning" New topic

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?


- DM_Tim
[ March 21, 2005: Message edited by: Tim Manchester ]
I agree. Here's the link:
subject: Exiting Struts & returning
Similar Threads
Pathing problem between JSP and Servlet
struts - how to solve problem of URL parameter?
help plz
Calling onload event twice