Re: Action vs. Request

2001-09-17 Thread Giacomo Pati
Quoting Tobias Luikard <[EMAIL PROTECTED]>: > 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 Attri

Re: Action vs. Request

2001-09-17 Thread Tobias Luikard
I just copied the example from the docu... See http://xml.apache.org/cocoon2/actions.html there is also a attribute set and a parameter requested. Sorry. But now it works Thanks a lot Tobias Christian Schmitt wrote: > Hi Tobias, > OK, I see. But I believe you're mixing up request attributes

Re: Action vs. Request

2001-09-17 Thread Christian Haul
On 17.Sep.2001 -- 04:29 PM, Tobias Luikard wrote: > 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): > > > request.setAtt

Re: Action vs. Request

2001-09-17 Thread Christian Schmitt
Hi Tobias, OK, I see. But I believe you're mixing up request attributes and request parameters. If you do something like: request.setAttribute("MyAttribute", whatever); you can't do: request.getParameter("MyAttribute"); Hth, Christian On Mon, Sep 17, 2001 at 04:29:44PM +0200, Tobias Luikard wro

AW: Action vs. Request

2001-09-17 Thread Jorn Heid
That's it, isn't it: request.getAttribute is not equal to request.getParameter -Ursprungliche Nachricht- Von: Tobias Luikard [mailto:[EMAIL PROTECTED]] Gesendet: Montag, 17. September 2001 16:30 An: [EMAIL PROTECTED] Betreff: Re: Action vs. Request Hi, this isn't t

Re: Action vs. Request

2001-09-17 Thread 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): When I call the pipeline in my Browser like: http://localhost:8080/cocoon/XMLDB_EVAL/XMLTest.html?TestString=ABC

Re: Action vs. Request

2001-09-17 Thread Christian Schmitt
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

Action vs. Request

2001-09-17 Thread Tobias Luikard
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.xma