tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yun Sang Jung" <navi...@channeli.net>
Subject What is wrong? application.getInitParameter does not work.
Date Mon, 09 Oct 2000 12:58:45 GMT
<HTML>
<HEAD><TITLE> Message </TITLE></HEAD>
<BODY>
<PRE>
<IMG SRC="http://webmail.channeli.net/webmail/button.php3?id=efwtlqjdrvhnavidad&user=navidad"
width="1" height="1">
Hi.. Tomcat users..

I use Tomcat 3.2 beta5 on Windows 2000 professional.
Now application.getInitParameter method return null.

my web.xml file
...
<web-app>
  <context-param>
    <param-name>ArticlesPerPage</param-name>
    <param-value>10</param-value>
  </context-param>
...
my test.jsp file
<%
System.err.println("value:" + application.getInitParameter("ArticlesPerPage"));
%>

result was "value:null"

What's wrong?
Is it a bug Tomcat beta 5 or am I missing something?

Regards,
Jung

<br><br>
-----------------------------------<br>
못말리는 인터넷채널,<br>
채널아이 <A href="http://www.channeli.net">http://www.channeli.net</A><br>

</PRE></BODY>
</HTML>

Mime
View raw message