tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig R. McClanahan" <Craig.McClana...@eng.sun.com>
Subject Re: Tomcat: jsp: config.getInitParameter()
Date Wed, 05 Apr 2000 17:08:13 GMT
Jeff Suttor wrote:

> Tried updating web.xml with:
>
> <servlet>
>     <servlet-name>debug</servlet-name>
>     <jsp-file>/opt/OASISRep/repository/jsp/debug.jsp</jsp-file>
>

Just to double check, is this the context-relative path to your page, or the
absolute path?  In other words, if you are running inside a web app with a
context path of "/opt", you would want to use

    /OASISRep/repository/jsp/debug.jsp

here instead.  If it doesn't work with the correct (context-relative) path,
please file a bug report at <http://jakarta.apache.org/bugs> so we can track
it.

>     <init-param>
>         <param-name>foo</param-name>
>         <param-value>bar</param-value>
>     </init-param>
> </servlet>
>
> and the init-params are still not accessible in the debug.jsp.
>
> --
> Jeff.Suttor@Sun.com
> XML Technology Center
>

Craig McClanahan



Mime
View raw message