tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Chan <>
Subject How to pass init parameter to a JSP
Date Tue, 17 Jul 2001 10:24:38 GMT

How to pass initial parameters to a JSP?  I know how to pass initial
parameters to a servlet via web.xml file (<init-param>). However, I
don't know where to put for JSP.  This is my JSP file

    String c = config.getInitParameter("cfg");

Thanks in advance


View raw message