apologies if i have missed a previous posting in my searches.

in cross-testing our webapp between Tomcat 3.1 and another container
(Resin 1.2.1) for compliance, i noticed that the behaviour of
ServletContext.getRealPath() is different when applied to the
application root.  ( actually, after checking the 2.2 spec, i suspect
this may not be well defined. )

for getRealPath("/") AND getRealPath("")

Tomcat 3.1 returns:

realpath/

whereas the other container returns:

realpath

(without the trailing path-separator)

i'm coding around this difference right now, but i'm curious who i
should be bugging about this.  (get it, 'bugging'? ;)


chris monster

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]

Reply via email to