Can't get the params in JSP file, see below.  I know there was a
problem at one point, but I thought this had been fixed.  Seems to
happen in both 4.0.1 & 4.0.4.  Any info appreciated, thanks.

in JSP:
. . .
 final String cu = config.getInitParameter("connectuser");
. . .

in web.xml descriptor:
. . .
  <servlet>
   <servlet-name>xxxxxxxx</servlet-name>
   <display-name>xxxxxxxx</display-name>
   <description>xxxxxxxxxxxxxxx</description>
   <jsp-file>/infodisp.jsp</jsp-file>
   <init-param>
      <param-name>connect-user</param-name>
      <param-value>userid</param-value>
      <description>Userid to initiate database connection
under.</description>
   </init-param>
. . . 2 more init-params
  </servlet>
. . .

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to