Thanks.
That's more or less what I was doing.
So my understanding is that there no parameter that
*directly* represente the value of the uri-prefix
inside a sitemap or a generator.
--- Nathaniel Alfred <[EMAIL PROTECTED]> wrote:
> Assuming that you have only one level of
> subsitemaps:
>
> String uri = request.getRequestURI();
> String prefix = uri.substring(0, uri.indexOf("/",
> 1));
>
> HTH, Alfred.
>
> >-----Original Message-----
> >From: Oscar Picasso [mailto:[EMAIL PROTECTED]
> >Sent: Donnerstag, 8. Januar 2004 05:53
> >To: [EMAIL PROTECTED]
> >Subject: Getting the prefix URI form within a
> subsitemap
> >
> >
> >Hi,
> >
> >I am trying to retrieve the prefix URI from inside
> a
> >subsitemap.
> >
> >Let say I have:
> >+-- webapps
> > +-- cocoon
> > +-- my-app
> >
> >I would like to retrieve dynamically the string
> >"my-app" to construct some uris inside my
> generator.
> >
> >From what I have seen only the request object store
> >url/uri like strings and I have not seen
> 'prefix-uri'
> >or something like that.
> >
> >It would be convenient. Did I miss something?
> >
> >
> >
> >__________________________________
> >Do you Yahoo!?
> >Yahoo! Hotjobs: Enter the "Signing Bonus"
> Sweepstakes
> >http://hotjobs.sweepstakes.yahoo.com/signingbonus
> >
>
>---------------------------------------------------------------------
> >To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> >For additional commands, e-mail:
> [EMAIL PROTECTED]
> >
> >
>
> This message is for the named person's use only. It
> may contain
> confidential, proprietary or legally privileged
> information. No
> confidentiality or privilege is waived or lost by
> any mistransmission.
> If you receive this message in error, please notify
> the sender urgently
> and then immediately delete the message and any
> copies of it from your
> system. Please also immediately destroy any
> hardcopies of the message.
> You must not, directly or indirectly, use, disclose,
> distribute, print,
> or copy any part of this message if you are not the
> intended recipient.
> The sender's company reserves the right to monitor
> all e-mail
> communications through their networks. Any views
> expressed in this
> message are those of the individual sender, except
> where the message
> states otherwise and the sender is authorised to
> state them to be the
> views of the sender's company.
>
>
>
>
---------------------------------------------------------------------
> To unsubscribe, e-mail:
> [EMAIL PROTECTED]
> For additional commands, e-mail:
> [EMAIL PROTECTED]
>
__________________________________
Do you Yahoo!?
Yahoo! Hotjobs: Enter the "Signing Bonus" Sweepstakes
http://hotjobs.sweepstakes.yahoo.com/signingbonus
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]