Need help with the following problem..
<context-param>
<param-name>dBinfo</param-name>
<paramvalue>
jdbc:microsoft:sqlserver://10.29.9.44:1433;DatabaseName=usrmgt</param-value>
</context-param>
I am able to access the dBinfo value in servlets/jsp using
ServletContext servletContext = this.getServletContext();
String value = servletContext.getInitParameter("dBinfo")
Question is how can I access dBinfo in a
java class under webapp(not a
servlet) ???
Thanks