tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jim Rudnicki <>
Subject Bug in getInitParameter() ?
Date Sat, 27 May 2000 08:59:56 GMT
I've just bashed up against odd behavior of  getInitParameter().  It seems
that the canonical name specified in the web.xml must exactly match the
class name or it does not work. e.g. access


does not result in getInitParameter() returning values.  Oddly add a


and the same servlet does get the init parameters only when accessed thru
the mapped url: /myapp/pfile

If I change the canonical to match the fully qualified class name:


then /myapp/servlet/abc.vault.PostFile does get the init parameters, and the
mapped url also does.



View raw message