Re: external cgi

2002-02-08 Thread Ratty

Hi all!

i am still have problemm then calling cgi from cocoon2:
then i try map:generate src="URL" all works fine, but how can i supply
parameter to cgi ? parameter is changing dynamically so i can't specify it
in sitemap
and then trying xinclude i get following:
type internal-server-error

message Exception in ServerPagesGenerator.generate()

description org.apache.cocoon.ProcessingException: Exception in
ServerPagesGenerator.generate(): java.lang.NullPointerException

Original exception : java.lang.NullPointerException

its a code :

http://apache.org/xsp";
xmlns:xi="http://www.w3.org/2001/XInclude";>

  Hello
  
This is my first Cocoon2 page!
http://www.crimea.pfu.gov/cgi-bin/day.cgi"/>
  


and in sitemap i have   line for this
pattern
So, question is still open : how to get output of external cgi with
specified parameter ?

Thanx
Igor Sazhnev

- Original Message -
From: "Vadim Gritsenko" <[EMAIL PROTECTED]>
Subject: RE: external cgi


> See Cinclude and Xinclude transformers. Check out aggregation examples,
> including aggregate.xsp.
>
> Regular FileGenerator is good enough for you also, check out samples in
> the sub sitemap (http://localhost:8080/cocoon/sub/)
>
> Vadim
>
> > -Original Message-
> > From: Ratty [mailto:[EMAIL PROTECTED]]
> > Hi!
> >
> > Can anyone answer me - how can i call from xsp page external cgi
> program ?
> > I dont need redirect to that page - i only need output what it
> generate
> > which would be processed in Cocoon
> > Or may be i must write some generator which would read output of this
> cgi
> > and create xml?



-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




Re: external cgi

2002-02-08 Thread Anders Conrad

Hi.

I used to use the tag  in the XSP util logicsheet
(xmlns:util="http://www.apache.org/1999/XSP/Util";).
That was in cocoon 1.8.

Anders

- Original Message -
From: "Ratty" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 07, 2002 4:25 PM
Subject: external cgi


> Hi!
>
> Can anyone answer me - how can i call from xsp page external cgi program ?
> I dont need redirect to that page - i only need output what it generate
> which would be processed in Cocoon
> Or may be i must write some generator which would read output of this cgi
> and create xml?
>
> Thanx for any suggestions
> Igor Sazhnev
>
>
> -
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
>


-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




RE: external cgi

2002-02-07 Thread Vadim Gritsenko

See Cinclude and Xinclude transformers. Check out aggregation examples,
including aggregate.xsp.

Regular FileGenerator is good enough for you also, check out samples in
the sub sitemap (http://localhost:8080/cocoon/sub/)

Vadim

> -Original Message-
> From: Ratty [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, February 07, 2002 10:25 AM
> To: [EMAIL PROTECTED]
> Subject: external cgi
> 
> Hi!
> 
> Can anyone answer me - how can i call from xsp page external cgi
program ?
> I dont need redirect to that page - i only need output what it
generate
> which would be processed in Cocoon
> Or may be i must write some generator which would read output of this
cgi
> and create xml?
> 
> Thanx for any suggestions
> Igor Sazhnev


-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>




external cgi

2002-02-07 Thread Ratty

Hi!

Can anyone answer me - how can i call from xsp page external cgi program ?
I dont need redirect to that page - i only need output what it generate
which would be processed in Cocoon
Or may be i must write some generator which would read output of this cgi
and create xml?

Thanx for any suggestions
Igor Sazhnev


-
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail: <[EMAIL PROTECTED]>