tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Laurent LAUBIN <Laurent.LAU...@S2M.FR>
Subject Context-param troubles...
Date Fri, 23 Feb 2001 13:53:20 GMT
Hi everybody,

I'm definetly getting crasy with a context param ... I want to offer init
parameters to all my JSP pages... so In the WEB-INF/web.xml file of my
application, I've put something like :
...
  <context-param>
      <param-name>RmiServer</param-name>
      <param-value>//10.10.10.7/BOB</param-value>
      <description>
         Nom de l'objet RMI de connexion.
      </description>
    </context-param>   
...
Who can I retrieve this value from a JSP Pages... I've tried many things
like getServletContext().getInitPArameter("RmiServer"); and it always
returns null ...


Hellllllllllllllllllllppppppp Pleaaaaaaaaaaze 

Tchaoooo.

_______________________________________________________
Laurent LAUBIN              S2M
Ingénieur système           2, rue des champs - BP 2282
Tél : +33 232 64 33 76      27950 St-Marcel - France
Fax : +33 232 21 25 99      http://www.s2m.fr/
_______________________________________________________
 

Mime
View raw message