-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Raj,
Raj Sidh wrote:
> I am a newbie running Apache Tomcat/5.5.20.
>
> My web.xml has these entries:
>
> <context-param>
[snip]
> application.getAttribute("EmailId")
You are confusing these types of values. In web.xml, you are configuring
/context/ parameters, while you are attempting to read application (or
context) attributes in your JSP.
In order to access the values configured using <context-param>, you need
to call application.getInitParameter() instead of
application.getAttribute().
Hope that helps.
- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFGMR6j9CaO5/Lv0PARAtvfAKC9XO9nNjiLw5T0n+UaVstPA7xsawCfQekz
hi5t56h+VjHOItMabtm3rvw=
=cP5g
-----END PGP SIGNATURE-----
---------------------------------------------------------------------
To start a new topic, e-mail: [email protected]
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]