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:[EMAIL PROTECTED]] Verzonden: vrijdag 17 mei 2002 17:29 Aan: [EMAIL PROTECTED] 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:[EMAIL PROTECTED]] > Verzonden: vrijdag 17 mei 2002 5:52 > Aan: [EMAIL PROTECTED] > 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: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> > > --------------------------------------------------------------------- > 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: <[EMAIL PROTECTED]> > For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]> --------------------------------------------------------------------- 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: <[EMAIL PROTECTED]> For additional commands, e-mail: <[EMAIL PROTECTED]>