Hi,
It looks like you might have a version of servlet.jar that doesn's
corrsepond to the documentation you're using.
Jeff
RK wrote:
> Hi: I am trying to get the following entries from
> web.xml. <context-param>
> <param-name>DriverName</param-name>
> <param-value>org.gjt.mm.mysql.Driver</param-value>
> </context-param> I am using the following apis to get the
> DriverName. public void init(ServletConfig scon){
> super.init(scon); DriverName =
> getServletContext().getInitParameter("DriverName");............... When
> I compile this code, I get the following error: Method
> getInitParameter(java.lang.String) not found in interface
> javax.servlet.ServletContext.
> DriverName =
> getServletContext().getInitParameter("DriverName"); javax.servlet.ServletContext
> api swears that getInitParameter exists. Obviously I am missing
> something here. Please help. Thanks,
> rk
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]