[Project_owners] URI to page conversions
neil at parkwaycc.co.uk
Sat Feb 14 12:24:06 EST 2004
Ben Bucksch wrote:
> HJ wrote:
>> I've got this URI:
>> but only need: index.jsp
>> What can/should I use for this?
> Create a URI (using nsIIOService) and get the filename from nsIURI.
> Unfortunately, it gives you only the path, not the filename, but that
> removes most of the troubles of the non-trivial URI parsing already.
Better still, QI your URI to a URL and get the filename directly.
More information about the Project_owners