Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Exiting Struts & returning

Tim Manchester
Ranch Hand
Posts: 62
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ]
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic