atom feed7 messages in org.apache.tomcat.usersBug or feature
FromSent OnAttachments
Ripalda-Marin, Miguel-AngelJun 30, 2000 2:39 am 
Wyn EastonJun 30, 2000 8:25 am 
Craig R. McClanahanJun 30, 2000 10:09 am 
Volker TurauJul 3, 2000 8:03 am 
Volker TurauJul 3, 2000 8:05 am 
Steve WeissJul 6, 2000 10:27 am 
Volker TurauJul 7, 2000 12:20 am 
Subject:Bug or feature
From:Volker Turau (tur@informatik.fh-wiesbaden.de)
Date:Jul 3, 2000 8:03:11 am
List:org.apache.tomcat.users

The web-application spec allows the assignment of init-params to JSP-files. I did the following in my web.xml file:

<servlet> <servlet-name>config</servlet-name> <jsp-file>/webanw/config.jsp</jsp-file> <init-param> <param-name>Init-param</param-name> <param-value>wert3</param-value> </init-param> </servlet>

In the JSP-page config.jsp the call

config.getInitParameter("Init-param")

returns null when I use Tomcat 3.1. The same application works fine using the Orion server. Now which is the correct behaviour?