struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ashish Kulkarni" <ashish.kulkarn...@gmail.com>
Subject Re: display XML file in JSP page
Date Tue, 01 Apr 2008 20:58:56 GMT
Hi
thanks it works

On 4/1/08, Laurie Harper <laurie@holoweb.net> wrote:
>
> Ashish Kulkarni wrote:
> > Hi
> > I need to display XML file in JSP page (raw XML file)
> > in my Action Class i read this XML file, but how do i display in proper
> > format in JSP, i want the XML file displayed as is.
> > Regards
> > Ashish
>
>
> Don't use a JSP. Either link to the XML file directly (if it's somewhere
> accessible in your web application content) or write it to the response
> output stream in your action and return null to let Struts know the
> response has been completed.
>
> L.
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message