You can have the ActionServlet determine where the source XML is coming from. Then, either forward to a JSP and use JSTL to handle the rendering, or use a transformer and write directly to the OutputStream within the ActionServlet, and return null instead of an ActionForward.
-Jacob | -----Original Message----- | From: Peng Tuck Kwok [mailto:[EMAIL PROTECTED]] | Sent: Tuesday, February 11, 2003 12:06 AM | To: Struts Users Mailing List S | Subject: Some questions about struts | | I have a few questions I need to ask about struts. First of I've done | some simple examples that allow my struts example to access the database | and validate fields passed by an action form. All is good and well. | | Now I want my application to read say two xml files and when a page is | requested, the page would display the data from the xml. | My question is when I pre-process the xml file on startup, how do I make | the xml data available to struts on startup? Should I use a | ActionServlet to do this ? Or am I barking up the wrong tree here? | | | | | --------------------------------------------------------------------- | To unsubscribe, e-mail: [EMAIL PROTECTED] | For additional commands, e-mail: [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]