Something simple has this....
 
<%
    String initString = getServletContext().getInitParameter("name");
%>
 
<%=initString%>
 
Basic Java!!
 
Thierry
-----Original Message-
[Thierry Leveque]
 ----
From: Carlos de la Flor [mailto:[EMAIL PROTECTED]]
Sent: 27 février, 2001 16:08
To: [EMAIL PROTECTED]
Subject: get init parameters

in the web.xml i have some init parameters:
<param name>name</param-name>
param-value>value</param-value>
in the jsp page with the <%=request.getInitParameter("name")%>
i print the value.
But how can i this value put in a string? (String name2 = ... )??
or how can i put the value into this:?
<%=w.myservlet(XX)%> the XX must to be the value of the init parameter.
Is this posibnle?
can anybody help me?
thanks
Carlos

Reply via email to