Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 38810 invoked by uid 500); 17 Sep 2001 14:55:34 -0000 Mailing-List: contact cocoon-users-help@xml.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: list-post: Reply-To: cocoon-users@xml.apache.org Delivered-To: mailing list cocoon-users@xml.apache.org Received: (qmail 38788 invoked from network); 17 Sep 2001 14:55:34 -0000 To: cocoon-users@xml.apache.org Subject: Re: Action vs. Request Message-ID: <1000738512.3ba60ed0c7b14@mail.otego.com> Date: Mon, 17 Sep 2001 16:55:12 +0200 (CEST) From: Giacomo Pati References: <3BA5C98A.52A64AA@exxcellent.de> <20010917161620.A19660@ffzj0ia9.bank.dresdner.net> <3BA608D8.955515DB@exxcellent.de> In-Reply-To: <3BA608D8.955515DB@exxcellent.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: IMP/PHP IMAP webmail program 2.2.4 X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N Quoting Tobias Luikard : > Hi, > > this isn't the problem. > > In the Action I try to set XMLString as seen. But when I try to read it > in the XSP with the following statement it's empty (I get > "EGAL" as result): > You are reading the Parameter XMLString not the Attribute. Giacomo > > When I call the pipeline in my Browser like: > > http://localhost:8080/cocoon/XMLDB_EVAL/XMLTest.html?TestString=ABCDEFG > > The ABCDEFG apperars in the XSP Site (in the response in the > Web-Browser) but the System.out.println only prints "null". > > So it seems there are different independent request objects. > > Any other hint? > > Tobias > > > Christian Schmitt wrote: > > > Hi, > > in your Action source code you are doing: > > request.setAttribute("XMLString", XMLString); > > ^^^^^^^^^ > > but then > > System.out.println(request.getAttribute("TestString")); > > ^^^^^^^^^^ > > May be that's the problem?! > > > > Hth, > > Christian > > > > On Mon, Sep 17, 2001 at 11:59:38AM +0200, Tobias Luikard wrote: > > > Hi all, > > > > > > its me again. > > > > > > I tried to write a Action which adds a Attibute to the request. But > > > somehow a different request is used. When I try to access a request > > > attibute its "null". When I add a attibute, its null in the XSP > Site... > > > > > > Has anyone a hint? > > > > > > Thanks > > > > > > By > > > > > > Tobi > > > > > > P.S. I added my sitemap.xmap and the actor > > > > > > > > > > > > > > > > > > > > > > > src="org.apache.cocoon.generation.FileGenerator"/> > > > name="serverpages" > src="org.apache.cocoon.generation.ServerPagesGenerator"/> > > > > > > > > > src="org.apache.cocoon.transformation.TraxTransformer"> > > > true > > > > false > > > > false > > > > > > > > > > > > src="org.apache.cocoon.reading.ResourceReader"/> > > > > > > > > > src="org.apache.cocoon.serialization.LinkSerializer"/> > > > name="xml" src="org.apache.cocoon.serialization.XMLSerializer"/> > > > name="html" src="org.apache.cocoon.serialization.HTMLSerializer"/> > > > > > > > > > > > > src="org.apache.cocoon.matching.WildcardURIMatcherFactory"/> > > > > > > > > > src="de.exxcellent.cocoon.acting.XMLActionTest"/> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > src="XMLTest.xsp"/> > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > > Please check that your question has not already been answered in the > > > FAQ before posting. > > > > > > To unsubscribe, e-mail: > > > For additional commands, e-mail: > > > > --------------------------------------------------------------------- > > Please check that your question has not already been answered in the > > FAQ before posting. > > > > To unsubscribe, e-mail: > > For additional commands, e-mail: > > > --------------------------------------------------------------------- > Please check that your question has not already been answered in the > FAQ before posting. > > To unsubscribe, e-mail: > For additional commands, e-mail: > > > --------------------------------------------------------------------- Please check that your question has not already been answered in the FAQ before posting. To unsubscribe, e-mail: For additional commands, e-mail: