cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Graaf, Edgar de (fin)" <Edgar.de.Gr...@ordina.nl>
Subject RE: XSP Function to get URL
Date Tue, 21 May 2002 08:39:34 GMT
I tried that, your right. You still have to use
<xsp-request:get-scheme/>://<xsp-request:get-server-name/>:<xsp-request:get-
server-port/>

But my problem here was that you will get something like
http://myserver:8080/cocoon/myprog/index.xsp
And I wanted: http://myserver:8080/cocoon/myprog/

Regards,

Edgar

-----Oorspronkelijk bericht-----
Van: KOZLOV Roman [mailto:r-kozlov@opencascade.com]
Verzonden: vrijdag 17 mei 2002 17:29
Aan: cocoon-users@xml.apache.org
Onderwerp: Re: XSP Function to get URL


What about <xsp-request:get-uri/> (its from cocoon's samples, there it's
used
with  as="xml" and it's working at least in v2.0.1).

Roman

"Graaf, Edgar de (fin)" wrote:

> I also tried this and could not get the right function (get-request-url or
> something).
> Try
>
<xsp-request:get-scheme/>://<xsp-request:get-server-name/>:<xsp-request:get-
> server-port/><xsp-request:get-servlet-path/>
>
> Regards
>
> Edgar
>
> -----Oorspronkelijk bericht-----
> Van: Zack Angelo [mailto:zack@nostromocorp.com]
> Verzonden: vrijdag 17 mei 2002 5:52
> Aan: cocoon-users@xml.apache.org
> Onderwerp: XSP Function to get URL
>
> Is there an XSP or Java class I can access that will give me the URL of
> the current page?
>
> TIA,
> Zack
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>
>
> ---------------------------------------------------------------------
> Please check that your question has not already been answered in the
> FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>
>
> To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
> For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>

---------------------------------------------------------------------
Please check that your question has not already been answered in the
FAQ before posting. <http://xml.apache.org/cocoon/faqs.html>

To unsubscribe, e-mail: <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail: <cocoon-users-help@xml.apache.org>


Mime
View raw message