Return-Path: Delivered-To: apmail-xml-cocoon-users-archive@xml.apache.org Received: (qmail 995 invoked by uid 500); 17 Sep 2001 14:29:49 -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 947 invoked from network); 17 Sep 2001 14:29:48 -0000 Message-ID: <3BA608D8.955515DB@exxcellent.de> Date: Mon, 17 Sep 2001 16:29:44 +0200 From: Tobias Luikard MIME-Version: 1.0 To: cocoon-users@xml.apache.org Subject: Re: Action vs. Request References: <3BA5C98A.52A64AA@exxcellent.de> <20010917161620.A19660@ffzj0ia9.bank.dresdner.net> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N 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): 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 > > > > > > > > > > > > > > > > > > > > > > > > > true > > false > > false > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > > --------------------------------------------------------------------- > > 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: