struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From adam pinder <apin...@hotmail.co.uk>
Subject RE: jsp out to a differnet outputstream
Date Fri, 05 Mar 2010 08:40:08 GMT

 

is it a file on the client side or server side ?

 

if client side, you can specify a result type in the struts.xml but the user will be prompted
to save the file as its a security risk to write it without there confirmation.

 

server side, just use plain java code in jsp to write and then do a page redirect or return
null.

 

adam


 
> Date: Fri, 5 Mar 2010 12:52:33 +0530
> Subject: Re: jsp out to a differnet outputstream
> From: abhishek.netjain@gmail.com
> To: user@struts.apache.org
> 
> On Fri, Mar 5, 2010 at 11:05 AM, Dale Newfield <dale@newfield.org> wrote:
> 
> > abhishek jain wrote:
> >
> >> I am not sure if it a direct struts question, if it is not pl pardon me
> >> and
> >> let me know,
> >>
> >
> > Maybe a filter in your web.xml?
> >
> > How are your pages put together? tiles? sitemesh?
> > Since those are already filters, you might see if those can do what you
> > want...
> >
> Hi,
> I am using Tiles.
> Can tiles do the work for me?
> thanks
> abhi
 		 	   		  
_________________________________________________________________
We want to hear all your funny, exciting and crazy Hotmail stories. Tell us now
http://clk.atdmt.com/UKM/go/195013117/direct/01/
Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message