Hi all,

The RequestPathInfo interface is currently defined to return empty
strings (or empty array for one method) if no extension, selectors,
suffix exists in the request URL. This makes checking for existence of
any of the parts somewhat complicated. On the other hand to build a
string, you just print the respective method result and don't worry for
null values.

I would like to quickly poll on the list, what the general impression is
on the question: Should null or an empty instance (String, array) be
returned in the absence of the respective path part ?

My opinion is: null should be returned.

Regards
Felix

Reply via email to