cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Antony Grinyer" <antony.grin...@csw.co.uk>
Subject RE: Simple question
Date Tue, 02 Aug 2005 13:04:56 GMT
Thanks Ron, I'll take a look.

Upayavira - I have little experience with Cocoon so I cannot comment on
a better Cocoon oriented way yet. The servlet itself will eventually be
invoked from HTML forms and will do things such as authentication and
queries to databases - so I just needed to know how to call this servlet
correctly in a pipeline.

Thanks,
AG

> -----Original Message-----
> From: Upayavira [mailto:uv@odoko.co.uk] 
> Sent: 02 August 2005 01:56 pm
> To: users@cocoon.apache.org
> Subject: Re: Simple question
> 
> Antony Grinyer wrote:
> > Hi Upayavira,
> > 
> > Thanks for replying. I simply want to invoke a servlet which lists 
> > lots of debug information about our current environment (e.g. 
> > application context and DB related configs). It's just a starter to 
> > ensure all the expected environment parameters are correct.
> 
> Okay. So how would that servlet interact with the rest of 
> Cocoon? Does it need to be called via doGet(), i.e. does it 
> need an HTTPRequest and HTTPResponse to be working with?
> 
> Also, what does it expect to do with its output? Do you just 
> want to write that to the logs, or have Cocoon output it?
> 
> Would you consider a more Cocoon oriented way of achieving 
> the same effect?
> 
> Sorry to keep asking questions!
> 
> Regards, Upayavira
> 
> >>-----Original Message-----
> >>From: Upayavira [mailto:uv@odoko.co.uk]
> >>Sent: 02 August 2005 01:31 pm
> >>To: users@cocoon.apache.org
> >>Subject: Re: Simple question
> >>
> >>Antony Grinyer wrote:
> >>
> >>>Hi All,
> >>>
> >>>Being relatively new to Cocoon can I ask a simple question 
> - how do 
> >>>you simply invoke a java class in a Cocoon pipeline without
> >>
> >>having to
> >>
> >>>generate, transform, etc. any XML? Is it just an action?
> >>>
> >>>Thanks in advance :)
> >>
> >>What part do you want this java invocation to play in the pipeline? 
> >>There are a number of ways you can do it, but it depends upon what 
> >>you're trying to do. Can you give us a bit more of your use case?
> >>
> >>Regards, Upayavira
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
> For additional commands, e-mail: users-help@cocoon.apache.org
> 
> 
> 
> 



---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@cocoon.apache.org
For additional commands, e-mail: users-help@cocoon.apache.org


Mime
View raw message