RE: ProducerFromRequest

2001-07-27 Thread Jay Doggett


html won't do what java can in a servlet. They aren't even in the same
ballpark.

Jay

-Original Message-
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent: Friday, July 27, 2001 4:13 AM
To: [EMAIL PROTECTED]
Subject: Re: ProducerFromRequest


Jay Doggett wrote:
>
> Using ProducerFromRequest allows one to use dynamic xml.

So does using HTTP.

Ulrich

--
Ulrich Mayring
DENIC eG, Systementwicklung

-
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: ProducerFromRequest

2001-07-27 Thread Sergio Carvalho


The easiest way out is to make an HTTP request to the same host. Since you 
already have a Servlet container, everything is available to install C2 as a 
servlet. If, for some reason you don't want to, there are two clear options:
 1) Setup a pseudo-command line request. Have a look at the command-line entry 
point code, on org.apache.cocoon.Main. 
 2) Write a new environment (ServletEnvironment?). This involves implementing the 
interfaces on the org.apache.cocoon.environment package. 

Option 2 is the elegant one. Any one of these two involves writing way more code 
than just requesting a document via HTTP. Unless you have a compeling reason, I'd 
go for an HTTP request. 


On Thu, 26 Jul 2001 16:25:11 +0100, "Joao R Silva (EST)" <[EMAIL PROTECTED]> wrote:
--
> The function ProducerFromRequest was removed from the Cocoon version 1.7.4
> for security reasons.
> I would like to know if the is any solution to overcome the problem.
> I want to call cocoon from a servlet. In the example "fromServlet" that
> existed in the Cocoon version 1.7.4 is used the removed function. Running
> this example in recent versions is impossible.
> So, what can i do?
> Please help!
> 
> Regards
>   João Silva
> 
> -
> Please check that your question has not already been answered in the
> FAQ before posting. 
> 
> To unsubscribe, e-mail: <[EMAIL PROTECTED]>
> For additional commands, e-mail: <[EMAIL PROTECTED]>
> 



--
Sergio Carvalho
---
[EMAIL PROTECTED]

If at first you don't succeed, skydiving is not for you

-
Please check that your question has not already been answered in the
FAQ before posting. 

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




Re: ProducerFromRequest

2001-07-27 Thread Ulrich Mayring

Jay Doggett wrote:
> 
> Using ProducerFromRequest allows one to use dynamic xml.

So does using HTTP.

Ulrich 

-- 
Ulrich Mayring
DENIC eG, Systementwicklung

-
Please check that your question has not already been answered in the
FAQ before posting. 

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




RE: ProducerFromRequest

2001-07-26 Thread Jay Doggett


Using ProducerFromRequest allows one to use dynamic xml.

Jay

-Original Message-
From: Uli Mayring [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 5:35 PM
To: [EMAIL PROTECTED]
Subject: RE: ProducerFromRequest


On Thu, 26 Jul 2001, Jay Doggett wrote:

> 
>   My solution to this problem was to add security code to the original
> ProducerFromRequest code that looks at the session object for a special
> identification object used to insure that the request came from one of my
> servlets.

Why not just call Cocoon via HTTP?

Ulrich


-
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: ProducerFromRequest

2001-07-26 Thread Uli Mayring

On Thu, 26 Jul 2001, Jay Doggett wrote:

> 
>   My solution to this problem was to add security code to the original
> ProducerFromRequest code that looks at the session object for a special
> identification object used to insure that the request came from one of my
> servlets.

Why not just call Cocoon via HTTP?

Ulrich


-
Please check that your question has not already been answered in the
FAQ before posting. 

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




RE: ProducerFromRequest

2001-07-26 Thread Jay Doggett


I'm using the latest version of cocoon, but I have taken the
ProducerFromRequest class and the support classes and after modifying them,
I added them to my classpath. I work with Tomcat as a development
environment, so I created the c:\jakarta-tomcat\classes folder and put the
ProducerFromRequest stuff in there.

If you have or obtain the original ProducerFromRequest source code a
careful reading of those files will help you. There are only a couple of
files to look at.

Jay

-Original Message-
From: Joao R Silva (EST) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 11:57 AM
To: [EMAIL PROTECTED]
Subject: RE: ProducerFromRequest


So, you continued to use the older version of Cocoon but with additional
code for security.
It's the first time i am working with Cocoon. So, if you could give me more
details about the additional code and a more deep explanation about the
solution you have encountered ii would be great.

Thanks in advance
João Silva

-Original Message-
From: Jay Doggett [mailto:[EMAIL PROTECTED]]
Sent: Quinta-feira, 26 de Julho de 2001 16:36
To: [EMAIL PROTECTED]
Subject: RE: ProducerFromRequest



  My solution to this problem was to add security code to the original
ProducerFromRequest code that looks at the session object for a special
identification object used to insure that the request came from one of my
servlets.

Jay



-Original Message-
From: Joao R Silva (EST) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 11:25 AM
To: [EMAIL PROTECTED]
Subject: ProducerFromRequest


The function ProducerFromRequest was removed from the Cocoon version 1.7.4
for security reasons.
I would like to know if the is any solution to overcome the problem.
I want to call cocoon from a servlet. In the example "fromServlet" that
existed in the Cocoon version 1.7.4 is used the removed function. Running
this example in recent versions is impossible.
So, what can i do?
Please help!

Regards
João Silva

-
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]>

-
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: ProducerFromRequest

2001-07-26 Thread Joao R Silva (EST)

So, you continued to use the older version of Cocoon but with additional
code for security.
It's the first time i am working with Cocoon. So, if you could give me more
details about the additional code and a more deep explanation about the
solution you have encountered ii would be great.

Thanks in advance
João Silva

-Original Message-
From: Jay Doggett [mailto:[EMAIL PROTECTED]]
Sent: Quinta-feira, 26 de Julho de 2001 16:36
To: [EMAIL PROTECTED]
Subject: RE: ProducerFromRequest



  My solution to this problem was to add security code to the original
ProducerFromRequest code that looks at the session object for a special
identification object used to insure that the request came from one of my
servlets.

Jay



-Original Message-
From: Joao R Silva (EST) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 11:25 AM
To: [EMAIL PROTECTED]
Subject: ProducerFromRequest


The function ProducerFromRequest was removed from the Cocoon version 1.7.4
for security reasons.
I would like to know if the is any solution to overcome the problem.
I want to call cocoon from a servlet. In the example "fromServlet" that
existed in the Cocoon version 1.7.4 is used the removed function. Running
this example in recent versions is impossible.
So, what can i do?
Please help!

Regards
João Silva

-
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]>

-
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: ProducerFromRequest

2001-07-26 Thread Jay Doggett


  My solution to this problem was to add security code to the original
ProducerFromRequest code that looks at the session object for a special
identification object used to insure that the request came from one of my
servlets.

Jay



-Original Message-
From: Joao R Silva (EST) [mailto:[EMAIL PROTECTED]]
Sent: Thursday, July 26, 2001 11:25 AM
To: [EMAIL PROTECTED]
Subject: ProducerFromRequest


The function ProducerFromRequest was removed from the Cocoon version 1.7.4
for security reasons.
I would like to know if the is any solution to overcome the problem.
I want to call cocoon from a servlet. In the example "fromServlet" that
existed in the Cocoon version 1.7.4 is used the removed function. Running
this example in recent versions is impossible.
So, what can i do?
Please help!

Regards
João Silva

-
Please check that your question has not already been answered in the
FAQ before posting. 

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. 

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