Hi, You should use the xwiki-url module to extract information from the URL IMO. >> It's much more complicated than what is written above. See code in xwiki-url >> for details. >> > I had a look at xwiki-url module and I think I cannot use it to extract all the necessary pieces of information form the temp resource URL. The classes that matters are:
http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-url/xwiki-url-default/src/main/java/org/xwiki/url/internal/standard/EntityXWikiURLBuilder.java and http://svn.xwiki.org/svnroot/xwiki/platform/core/trunk/xwiki-url/xwiki-url-api/src/main/java/org/xwiki/url/XWikiEntityURL.java EntityXWikiURLBuilder only handles first four path segments (rest is ignored), so there is no way for me to extract "module" or "filePath" segments. Also, XWikiEntityURL can only represent urlType, action, entityReference, locale and revision. I will have to modify xwiki-url module if I'm to use it for implementing tempresource action; unfortunately I don't have enough time for that :( Thanks. - Asiri _______________________________________________ devs mailing list [email protected] http://lists.xwiki.org/mailman/listinfo/devs

