Sounds like we need to beef up what HttpHeaderResult is doing. That or you need to write a custom result for yourself.
> -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Samuel Mota > Sent: Wednesday, February 18, 2004 6:17 AM > To: [EMAIL PROTECTED] > Subject: [OS-webwork] HttpHeaderResult > > Hi, > > I'm trying to get an action returning a JNLP definition file (JWS). > > I just need to change the content-type to "application/x-java-jnlp-file". > > At WW2 package there is a HttpHeaderResult that I suppose would solve my > problem ... but reading the > source it just add ALL entries from the ActionContext ValueStack as an > HttpServletResponse header > .... > > Nothing more ... I'd like to after setting the correct header just run a > velocity view that will > build the XML file. How can I achive that? > > Thanks > > + Samuel G. Mota > + [EMAIL PROTECTED] > + 55 (11) 4417 7093 > + Business Application Dpt. > + Netset Serviços em Tecnologia > + a Hypercom Company > + http://www.hypercom.com > > > > > ------------------------------------------------------- > SF.Net is sponsored by: Speed Start Your Linux Apps Now. > Build and deploy apps & Web services for Linux with > a free DVD software kit from IBM. Click Now! > http://ads.osdn.com/?ad_id56&alloc_id438&op=ick > _______________________________________________ > Opensymphony-webwork mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork ------------------------------------------------------- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id56&alloc_id438&op=click _______________________________________________ Opensymphony-webwork mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/opensymphony-webwork