Ralph Goers wrote:
At 9/6/2004 02:55 AM, you wrote:
we've used this trick a number of times:
add an action with:
public Map act( Redirector redirector, SourceResolver resolver,
Map objectModel, String source, Parameters parameters)
throws Exception
{
Request request = ObjectModelH
At 9/6/2004 02:55 AM, you wrote:
we've used this trick a number of times:
add an action with:
public Map act( Redirector redirector, SourceResolver resolver,
Map objectModel, String source, Parameters parameters)
throws Exception
{
Request request = ObjectModelHelper.getRequest(obj
Thanks! Very helpful.
Lars
> -Original Message-
> From: Marc Portier [mailto:[EMAIL PROTECTED]
> Sent: Monday, September 06, 2004 4:56 AM
> To: [EMAIL PROTECTED]
> Subject: Re: finding the URL of the current Cocoon application?
>
>
> we've used this trick a
we've used this trick a number of times:
add an action with:
public Map act( Redirector redirector, SourceResolver resolver,
Map objectModel, String source, Parameters parameters)
throws Exception
{
Request request = ObjectModelHelper.getRequest(objectModel);
if (request.getAttr
At 9/4/2004 09:08 AM, you wrote:
Anyway, Ralph, I would be happy to hear from you how to get the
http servlet request from Java. Especially if it's different from
{request:servletPath} and {request:requestURI}, both
of which return the outer URI.
Thanks,
Lars
If real path is what I think it is it
I wrote:
>
> Ralph Goers wrote:
> >
> > At 9/3/2004 04:17 PM, you wrote:
> >
> >
> > >So... does anyone have a foolproof way to find the URI of
> > the application
> > >(mount/gem)?
> >
> > I should think that the http servlet request would always
> > have the valid
> > request uri. I know
Ralph Goers wrote:
>
> At 9/3/2004 04:17 PM, you wrote:
>
>
> >So... does anyone have a foolproof way to find the URI of
> the application
> >(mount/gem)?
>
> I should think that the http servlet request would always
> have the valid
> request uri. I know how to get this from Java (its in t
At 9/3/2004 04:17 PM, you wrote:
So... does anyone have a foolproof way to find the URI of the application
(mount/gem)?
Thanks,
Lars
I should think that the http servlet request would always have the valid
request uri. I know how to get this from Java (its in the object model) but
I'm not sure