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:[EMAIL PROTECTED] 
> 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:[EMAIL PROTECTED]
> >>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: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 
> 
> 



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

Reply via email to