RE: Download a Java ME application to mobile using StreamResult

2009-05-04 Thread Greg Lindholm
> > > > > I didn't change anything in my action class. > > It would be nice if I don't have to edit my .jad file as well... > > Any further ideas? > > Thanks in advance! > > Regards, > Niklas > > -

Re: Download a Java ME application to mobile using StreamResult

2009-05-04 Thread Dale Newfield
Niklas Johansson wrote: I guess the link you sent is pointing to a similar way of doing it as I did. This is my reference: http://sheetalshundori.blogspot.com/2008/02/struts2-dynamic-file-download.html It's unclear to me what this code does that the normal stream result does not, but let me po

RE: Download a Java ME application to mobile using StreamResult

2009-05-03 Thread Niklas Johansson
-- > From: nic_s...@hotmail.com > To: user@struts.apache.org > Subject: RE: Download a Java ME application to mobile using StreamResult > Date: Sun, 3 May 2009 21:16:58 +0200 > > > Hello, > > Thank's for your reply Dave. > > I named it to intercep

RE: Download a Java ME application to mobile using StreamResult

2009-05-03 Thread Niklas Johansson
ur help! Regards, Niklas > Date: Sun, 3 May 2009 14:12:56 -0400 > From: newton.d...@yahoo.com > To: user@struts.apache.org > Subject: Re: Download a Java ME application to mobile using StreamResult > > Niklas Johansson wrote: >> I guess the link you sent is pointing to a

Re: Download a Java ME application to mobile using StreamResult

2009-05-03 Thread Dave Newton
Niklas Johansson wrote: I guess the link you sent is pointing to a similar way of doing it as I did. This is my reference: http://sheetalshundori.blogspot.com/2008/02/struts2-dynamic-file-download.html Oh; the "interceptor" part in the class name made me think you were trying to make an interc

RE: Download a Java ME application to mobile using StreamResult

2009-05-03 Thread Niklas Johansson
--- > Date: Sun, 3 May 2009 12:51:57 -0400 > From: newton.d...@yahoo.com > To: user@struts.apache.org > Subject: Re: Download a Java ME application to mobile using StreamResult > > Using the "stream" result is the canonical way to download files in S2. > > It&#x

Re: Download a Java ME application to mobile using StreamResult

2009-05-03 Thread Dave Newton
Using the "stream" result is the canonical way to download files in S2. It's not clear to me what you're trying to do with the DownloadInterceptor class, which looks like an interceptor, but extends a result. In most circumstances there should be no need to create an interceptor for downloadin

Download a Java ME application to mobile using StreamResult

2009-05-03 Thread Niklas Johansson
Hello, I am trying to create an application for the mobile phone from which you can download a Java ME application. I have gotten so far that I can download the .jad file but the only thing that happens is that the content it is presented on the screen like this: MIDlet-1: WLListenerMIDlet,,W