Gianugo Rabellino wrote:
> <SNIP/>
I am very bad in naming stuff, but I would say that something like getSitemapPath() could do the trick.
Hmm, did you have a look at the Request interface in 2.2:

/**
* <p>
* Returns the path to the sitemap of the requested resource as interpreted
* by the sitemap.
* For example, if your webapp is mounted at "webapp" and the HTTP request
* is for "webapp/foo", this method returns "webapp/". Consequently, if the
* request is for "foo", this method returns the empty string.
* </p>
*
* @return a <code>String</code> containing the path to the sitemap
* @since 2.2
*/
String getSitemapPath();


Is this what you're looking for :)

Carsten

--
Carsten Ziegeler - Open Source Group, S&N AG
http://www.s-und-n.de
http://www.osoco.org/weblogs/rael/

Reply via email to