Categories





IM me on the bleedyellow.com sametime community - jeremy.hodge@zetaone.com

« This is why LOTUS DOCUMENTATION CHAPS MY .... or Will the real XPages Themes stand up? | Main| There's nothing like trying to learn new technology to make you feel stupid sometimes. »

An XPages "Did you know" factoid

Category
0
Did you know ... an XPage's name in the URL is case sensitive ?

http://www.YourDomain.com/yourpath/yourdb.nsf/UserProfile.xsp

is not the same as

http://www.YourDomain.com/yourpath/yourdb.nsf/userprofile.xsp

if your XPage is named UserProfile, userprofile.xsp returns a 404 error

Update: Its not consistent. while userprofile.xsp and UserProfile.xsp might work, userprofile-userconfig.xsp and UserProfile-userconfig.xsp may not.

Comments

Gravatar Image3 - good tip, you also get this issue on none xpages web apps, as we discovered when moving an nsf from a windows based server to a linux based one

Gravatar Image2 - True, you should consider urls case sensitive, because there are web servers whose OS (UNIX, Linux, etc) is case sensitive, thus making their paths case sensitive. However, domino historically has been case insensitive with regard to elements within the nsf. In this case, there are certain circumstances that break this tradition, and if you didn't know, you'd assume (as i did) that case did not matter when referring to urls inside the nsf...

Gravatar Image1 - Yeah, URLs are case sensitive, not the protocol nor the machine name, but the pathname is.
"URLs in general are case-sensitive (with the exception of machine names). There may be URLs, or parts of URLs, where case doesn't matter, but identifying these may not be easy. Users should always consider that URLs are case-sensitive."
{ Link }

Post A Comment