wood burning stoves*
The moose likes Struts and the fly likes Action class returning a xml file 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 "Action class returning a xml file" Watch "Action class returning a xml file" New topic

Action class returning a xml file

vijay kittu

Joined: Feb 14, 2010
Posts: 1
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

Joined: Sep 29, 2008
Posts: 12617

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.
I agree. Here's the link: http://aspose.com/file-tools
subject: Action class returning a xml file
Similar Threads
How to pass value from .java to .jsp in struts.
JSP to JSP communication problem by using AJAX
how to find the action class?
Sepration of Data from Presesntation layer
struts - internationalization in Action class