Hi all,
have anyone use JAAS to authentication cocoon web site?
-
Plangroup
Dott. Marco Taiuti
Plan Soft Srl
Via Ippolito Rosellini, 25
50127 Firenze
email: [EMAIL PROTECTED]
tel.: +39 055 43.68.525
Fax:+39 055 43.68.717
-
Hi all,
I want to be able to parse a java string to an xml representation in a XSP.
Looking at the source code for the StreamGenerator (which takes a http-post
stream) i have written the following code to parse a xml string in xsp:
Parser parser = null;
try {
Hi all,
I want to be able to parse a java string to an xml representation in a XSP.
Looking at the source code for the StreamGenerator (which takes a http-post
stream) i have written the following code to parse a xml string in xsp:
Parser parser = null;
try {
Hi! Happy New Year to everybody!
I've got a bit strange problem when attempted to process SVG with C2:
In my pipeline I have two quite simple matches:
This works fine:
map:match pattern=**/*.svg
map:read src={2}.svg mime-type=image/svg-xml/
/map:match
This
The current cvs of Cocoon2 produces the
exception
Original exception : java.lang.RuntimeException:
Could not get the datasource
org.apache.avalon.excalibur.datasource.NoAvailableConnectionException: There are
no connections in the pool, check your settings.
for all databases I use and the
At 12:48 PM 12/28/01 +0100, you wrote:
I'm using cocoon2, and I've used sql queries, with the next query:
?xml version=1.0?
page xmlns:sql=http://apache.org/cocoon/SQL/2.0;
xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
title/title
content
para/para
execute-query
Happy new year,
I have multiple xsp files which are then chewed and styled to produce
html. Unfortunately a lot of the XSP files have repeat code in them. Is
it possible for me to store this repeating code separately and then call
it when needed. I have been told that logic sheets maybe the
[EMAIL PROTECTED] wrote:
Happy new year,
I have multiple xsp files which are then chewed and styled to produce
html. Unfortunately a lot of the XSP files have repeat code in them. Is
it possible for me to store this repeating code separately and then call
it when needed. I have been told
Stephen Clarke wrote:
Hi,
I've just discovered the joys of Cocoon. Installation of both
Cocoon 2 and Tomcat 4 on Win95 went remarkably smoothly despite
my trepidation. The only problem I recall is running out of
environment space when running the batches. I had to make a
shortcut to the
My code receives data from external data sources. I get this data with the
URLConnection class, everything works fine in Tomcat 1.3.1. I can Post the
parameters and receive the results of the external cgi. I have a servlet
which makes it (probed).
but (always there is a but :) ) I have
this is the fragment of the Servlet where the URL is accesed:
.
String XML = buf.toString();
try{
URL miurl = new
URL(http://www.whatever.es/cgi-bin/XMLprocess;);
URLConnection con =
I can't offer you a concret solution - but you may try this:
Try the HTMLGenerator.
map:generate type=html
src=http://portet:8080/cocoon/wh@m/GenerateItinerary;
map:parameter name=copy-parameters value=true/
/map:generate
Regards,
Reinhard
-Ursprüngliche Nachricht-
Von:
thanks for the help, tomorrow i'll try it
bye
-Mensaje original-
De: Reinhard Pötz [mailto:[EMAIL PROTECTED]]
Enviado el: miércoles, 02 de enero de 2002 17:39
Para: [EMAIL PROTECTED]
Asunto: AW: problem with URLConnection
I can't offer you a concret solution - but you may try this:
Hi all,
I want to be able to parse a java string to an xml representation in a XSP.
Looking at the source code for the StreamGenerator (which takes a http-post
stream) i have written the following code to parse a xml string in xsp:
Parser parser = null;
try {
On Wed, 2 Jan 2002, Torsten Curdt wrote:
Be careful. The above will break the XSP SAX structure.
You need to think of the events:
-xsp:startDocument
-xsp:startElement
-xsp:endElement
- ... some more ...
// now your code
-parser:startDocument
What will the ComponentManager a Composable
Generator is composed with contain/provide? Is there a way to setup this by
myself?
Cheers,
Jan
On Wednesday 02 January 2002 11:48 am, you wrote:
What will the ComponentManager a Composable Generator is composed with
contain/provide? Is there a way to setup this by myself?
It will contain the components defined in the cocoon.xconf. You can add your
own components in there using the
Hi again, I have started to try and implement a simple logicsheet as
shown :
I followd the procedure of adding a logic sheet to the cocoon.xconf:
Cocoon.xconf
builtin-logicsheet
parameter name=prefix value=player-info/
parameter name=uri
On Wednesday 02 January 2002 11:48 am, you wrote:
What will the ComponentManager a Composable Generator is composed with
contain/provide? Is there a way to setup this by myself?
It will contain the components defined in the cocoon.xconf. You can add
your
own components in there using the
Wrapp the page ContentHandler
inside a org.apache.cocoon.xml.EmbeddedXMLPipe before
passing it to the parser.
--
Torsten
Thanks Torsten, this is indeed the probleem and your solution works ! So the
code I now have is (for later reference):
Parser parser = null;
try {
Another option you can use to generate xml output from a string in an XSP page:
Use util:include-expr. It will parse the text that you pass in to it, and generate
SAX calls from it (as opposed to writing the text straight to the output - after
escaping all the control chars - like it's doing
I get the following message when I attempt to install cocoon.war into
wlserver6.1 Can anyone help?
Jan 2, 2002 4:44:10 PM PST Error Management IOException opening
application mydomain:Name=cocoon,Type=Application, loading from path .
\config\mydomain\applications\cocoon
Hi,
you may try to use xsp and the esql taglib :
?xml version=1.0 encoding=ISO-8859-1?
xsp:page
language=java
xmlns:xsp=http://apache.org/xsp;
xmlns:esql=http://apache.org/cocoon/SQL/v2;
esql:connection
esql:pooltpConnection/esql:pool
Hi (and happy news year;-),
I start with SVG and Cocoon.
I tried to create an menu with svg like in Cocoon documentation ... but in
french. I can't get the letters with accent like é ê è à ... render by svg.
I tried to change encoding, looking in the mailing list nothing!
my label.xml :
Just a random thought..
Recently, Jakarta taglibs (http://jakarta.apache.org/taglibs/) and
Cocoon have been looking very similar in terms of functionality.
Have a look at the list of taglibs. SQL, XSL, XTags, JNDI.. at one time, Cocoon
was the only game in town for some of these. No longer.
Hi all
When I try to start cocoon 2.0 on TOmcat I get this error, even after
I follow the instructions as indicated on the website.
type internal-servlet-error
message Internal servlet error
description Cocoon
What is the difference between XSP and
JSP?
How can I separate the content and logic from
presentaion.
For example
I have 5 screens and only one XML. I want to show
first five tag value in first screen presented in tablular form and subsequently
next 10 tag values in next screen presented
27 matches
Mail list logo