On 21.Jan.2003 -- 05:35 PM, Torsten Curdt wrote:
> >>sure - will do...
> >
> >What's the need for an environment input module besides getting the
> >current uri prefix ?
>
> I couldn't really think of anything else yet..
>
> >Remember that environment is an internal object used by the pipeline
> >system (sitemap + pipeline implementations) that isn't visible from
> >other classes.
> >
> >I also recently needed to get the uri-prefix, and was thinking of adding
> >a new getSitemapPath() to Request, that would complement
> >getContextPath() with the current uri prefix.
> >
> >Thoughts ?
>
> Something like that was also my first thought... just hesitated to
> propose a change/addition of the Request interface ...since I only need
> it inside the sitemap - so I came up with the idea of the environment
> module.
>
> Shall we add it to the Request?
Sounds even better.
Chris.
--
C h r i s t i a n H a u l
[EMAIL PROTECTED]
fingerprint: 99B0 1D9D 7919 644A 4837 7D73 FEF9 6856 335A 9E08
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]