Hi,

I tried adding a context parameter to web.xml:
<context-param>
<param-name>testparam</param-name>
<param-value>hello</param-value>
</context-param>


and access it in a jsp:
<html>
<body>
<%
out.print(getServletContext().getInitParameter("testparam"));
%>
</body>
</html>



The result of this print was a "null" value, but struts isn't even involved in this code so maybe struts is not the problem after all.
perhaps web.xml isn't being loaded... (!?) any thoughts?



Thanks in advance, Phyl



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to