Environment:
Tomcat 4.0 on NT4.0
Browser: IE5.5
Problem:
I am unable to get <init-param> to work.
In my web.xml I have
<servlet>
<servlet-name>Quote</servlet-name>
<servlet-class>Quote</servlet-class>
<init-param>
<param-name>quotesFile</param-name>
<param-value>quotes.txt</param-value>
</init-param>
</servlet>
The ServletContext in init() fetches null for
init-param "quotesFile". (I've tried restrating catalina).
Could someone please give me an example of
storing and using resources (say, Files) in my
web application? I am not sure if I should put the file
in thge root of the web app or in the classes directory.
Thanks,
Rk
x77309
---
S Ramakrishnan
"... from the sunny shores of California ..."
[EMAIL PROTECTED], (408) 616.3100
Get your small business started at Lycos Small Business at
http://www.lycos.com/business/mail.html
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]