Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Action class returning a xml file

 
vijay kittu
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
I am using struts 1.x
I am having a jsp page with several list boxes.
I want to populate these values using an xml file but i don't know how to return a xml file to jsp from action class.
Can any one please help me out here
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Write the XML to the response? What, precisely, is the problem? Actions can return anything, either by having the JSP create XML or by writing to the response directly and returning null.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic