Hi,
We want to initialize the axis servlet by putting some init parameters in
web.xml like below

<servlet>
    <servlet-name>AxisServlet</servlet-name>
    <display-name>Apache-Axis Servlet</display-name>
    <servlet-class>
        org.apache.axis.transport.http.AxisServlet
    </servlet-class>

    <init-param>
         <param-name>servlet.jdbcurl</param-name>
         <param-value>jdbc:sybase:Tds:mycompany.com:7300</param-value>
     </init-param>

     <init-param>
         <param-name>servlet.dbuser</param-name>
         <param-value>leeins</param-value>
     </init-param>
     <init-param>
         <param-name>servlet.dbpwd</param-name>
         <param-value>leeins</param-value>
     </init-param>

     <init-param>
         <param-name>servlet.minconn</param-name>
         <param-value>5</param-value>
     </init-param>

  </servlet>


Normally, we would get this out of ServletConfig, but how would I get
ServletConfig from MessageContext?
Thanks
Insoo


 

 

Reply via email to