You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@turbine.apache.org by Colin Chalmers <co...@maxware.nl> on 2002/12/04 20:18:04 UTC

CSV NOT CVS :-)

CSV NOT CVS

----- Original Message -----
From: "Colin Chalmers" <co...@maxware.nl>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Sent: Wednesday, December 04, 2002 6:42 PM
Subject: CVS files to browser


Hi all,

We're trying to implement a solution in T2.2 whereby we send data to the
browser in CSV form. Although we do have a working solution I'd be
interested to hear how others are doing this.

For example we're making direct use of the RunData.getResponse(); method but
this seems to be throwing an IllegaleState Exception claiming that the
method has already been used??

Any other ways we can achieve this??

Look forward to the FB

Thx

/c


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: CSV NOT CVS :-)

Posted by Matt Koranda <ma...@orkan.no>.
Also, there are some good code examples of using RawScreen for pdf files in
the mail archives, just search for RawScreen.

Matt


----- Original Message -----
From: "Edwin Gustafson" <eg...@caymanchem.com>
To: "Turbine Users List" <tu...@jakarta.apache.org>
Sent: Wednesday, December 04, 2002 8:48 PM
Subject: Re: CSV NOT CVS :-)


> Greetings,
>
> Sounds like a job for RawScreen.
>
> See the Turbine API documentation for
> org.apache.turbine.modules.screens.RawScreen.  It describes how to set
> the mime type and the content for your request.
>
> Colin Chalmers wrote:
>
> >CSV NOT CVS
> >
> >----- Original Message -----
> >From: "Colin Chalmers" <co...@maxware.nl>
> >To: "Turbine Users List" <tu...@jakarta.apache.org>
> >Sent: Wednesday, December 04, 2002 6:42 PM
> >Subject: CVS files to browser
> >
> >
> >We're trying to implement a solution in T2.2 whereby we send data to the
> >browser in CSV form. Although we do have a working solution I'd be
> >interested to hear how others are doing this.
> >
> >For example we're making direct use of the RunData.getResponse(); method
but
> >this seems to be throwing an IllegaleState Exception claiming that the
> >method has already been used??
> >
> >Any other ways we can achieve this??
> >
> >
> >
>
>
> --
> Edwin Gustafson
> Cayman Chemical Company
> --
> 734 971 3586 x 221
> http://www.caymanchem.com/promo/ewg
> 42*13'44" N 83*43'25" W
> --
> My employer reserves the right to read and archive all messages
> you and I exchange using my company email account.
>
>
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: CSV NOT CVS :-)

Posted by Edwin Gustafson <eg...@caymanchem.com>.
Greetings,

Sounds like a job for RawScreen.

See the Turbine API documentation for 
org.apache.turbine.modules.screens.RawScreen.  It describes how to set 
the mime type and the content for your request.

Colin Chalmers wrote:

>CSV NOT CVS
>
>----- Original Message -----
>From: "Colin Chalmers" <co...@maxware.nl>
>To: "Turbine Users List" <tu...@jakarta.apache.org>
>Sent: Wednesday, December 04, 2002 6:42 PM
>Subject: CVS files to browser
>
>
>We're trying to implement a solution in T2.2 whereby we send data to the
>browser in CSV form. Although we do have a working solution I'd be
>interested to hear how others are doing this.
>
>For example we're making direct use of the RunData.getResponse(); method but
>this seems to be throwing an IllegaleState Exception claiming that the
>method has already been used??
>
>Any other ways we can achieve this??
>
>  
>


-- 
Edwin Gustafson
Cayman Chemical Company
--
734 971 3586 x 221
http://www.caymanchem.com/promo/ewg
42*13'44" N 83*43'25" W
--
My employer reserves the right to read and archive all messages
you and I exchange using my company email account.



--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: CSV NOT CVS :-)

Posted by Henning Schmiedehausen <hp...@intermeta.de>.
Yep, I did notice it right after I send out the mail. Sorry.

mv foot mouth   :-)


	Regards
		Henning


On Thu, 2002-12-05 at 10:44, Colin Chalmers wrote:
> Hi Henning,
> 
> I need to push the data to the browser not upload.
> 
> Been looking into the RawScreen and this seems to do the trick, don't seem
> to get any Exceptions but will need more testing.
> 
> Thx anyway
> 
> /c
> 
> 
> > "Colin Chalmers" <co...@maxware.nl> writes:
> >
> > >CSV NOT CVS
> >
> > :-)
> >
> > Simple suggestion: Use the upload service to upload your
> > data (I assume that you have a file with CSV values)
> > and then parse the received file.
> >
> > Regards
> > Henning
> >
> > --
> > Dipl.-Inf. (Univ.) Henning P. Schmiedehausen       -- Geschaeftsfuehrer
> > INTERMETA - Gesellschaft fuer Mehrwertdienste mbH     hps@intermeta.de
> >
> > Am Schwabachgrund 22  Fon.: 09131 / 50654-0   info@intermeta.de
> > D-91054 Buckenhof     Fax.: 09131 / 50654-20
> >
> > --
> > To unsubscribe, e-mail:
> <ma...@jakarta.apache.org>
> > For additional commands, e-mail:
> <ma...@jakarta.apache.org>
> >
> >
> 
-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen       -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH     hps@intermeta.de

Am Schwabachgrund 22  Fon.: 09131 / 50654-0   info@intermeta.de
D-91054 Buckenhof     Fax.: 09131 / 50654-20   


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: CSV NOT CVS :-)

Posted by Colin Chalmers <co...@maxware.nl>.
Hi Henning,

I need to push the data to the browser not upload.

Been looking into the RawScreen and this seems to do the trick, don't seem
to get any Exceptions but will need more testing.

Thx anyway

/c


> "Colin Chalmers" <co...@maxware.nl> writes:
>
> >CSV NOT CVS
>
> :-)
>
> Simple suggestion: Use the upload service to upload your
> data (I assume that you have a file with CSV values)
> and then parse the received file.
>
> Regards
> Henning
>
> --
> Dipl.-Inf. (Univ.) Henning P. Schmiedehausen       -- Geschaeftsfuehrer
> INTERMETA - Gesellschaft fuer Mehrwertdienste mbH     hps@intermeta.de
>
> Am Schwabachgrund 22  Fon.: 09131 / 50654-0   info@intermeta.de
> D-91054 Buckenhof     Fax.: 09131 / 50654-20
>
> --
> To unsubscribe, e-mail:
<ma...@jakarta.apache.org>
> For additional commands, e-mail:
<ma...@jakarta.apache.org>
>
>


--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>


Re: CSV NOT CVS :-)

Posted by "Henning P. Schmiedehausen" <hp...@intermeta.de>.
"Colin Chalmers" <co...@maxware.nl> writes:

>CSV NOT CVS

:-)

Simple suggestion: Use the upload service to upload your
data (I assume that you have a file with CSV values)
and then parse the received file.

	Regards
		Henning

-- 
Dipl.-Inf. (Univ.) Henning P. Schmiedehausen       -- Geschaeftsfuehrer
INTERMETA - Gesellschaft fuer Mehrwertdienste mbH     hps@intermeta.de

Am Schwabachgrund 22  Fon.: 09131 / 50654-0   info@intermeta.de
D-91054 Buckenhof     Fax.: 09131 / 50654-20   

--
To unsubscribe, e-mail:   <ma...@jakarta.apache.org>
For additional commands, e-mail: <ma...@jakarta.apache.org>