From: "Horsfield, Peter A." <[EMAIL PROTECTED]>
> Assuming these things, I'd like something that returns > the request URI along with the full query string.
Use RequestModule
Try:
{request:/requestURI}
I've not personally done this, but it seems logical.
Hmm, why the "/"? I assume that has something to do with JXPath? Btw, do all input modules use JXPath? I'm new to using input modules and haven't used JXPath before either, so I'm a bit confused. :-)
If it doesn't
return the query string you might be able to use
{request:/requestURI}?{request:/queryString}
Can I use any "get" method in interface Request by removing the "get" and making the first letter of the first word lowercase? For example: "getRequestURI" --> requestURI", "getQueryString" --> "queryString", etc.
In general I understand what you're saying with the last example, but the "/" again puzzles me since I'm not sure of its purpose.
Sonny
Peter
>
>
>-----Original Message-----
>From: Sonny Sukumar [mailto:[EMAIL PROTECTED]
>Sent: Thursday, October 09, 2003 2:21 PM
>To: [EMAIL PROTECTED]
>Subject: request:requestURI vs requestURI:requestURI
>
>
>
>Hey guys,
>
>Does anybody know the difference between {request:requestURI} and
>{requestURI:requestURI}? I was discussing these things with Tony and Peter
>on the list yesterday, but I didn't get this quite clear in my mind.
>
>Do either of these return the full query string as well? I think I need
>that.
>
>FYI, the "requestURI" refers is not declared in cocoon.xconf by default
>(apparently) and refers to this class:
>
>http://cocoon.apache.org/2.1/apidocs/org/apache/cocoon/components/modules/i
n
>put/RequestURIModule.html
>
>Thanks,
>
>Sonny
_________________________________________________________________
Get MSN 8 Dial-up Internet Service FREE for one month. Limited time offer-- sign up now! http://join.msn.com/?page=dept/dialup
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
