Hi,

>> I want to add a variable to the web.xml file and be able to call in
>> from within a servlet, taglib or bean.
>
>You need to use the <init-parameter> element in your <web-app> element
>in web.xml. Your JSP syntax appears to be correct.

Or <context-parameter> if you're right under <web-app>, and want the
variable accessible from the ServletContext directly, as
<init-parameter> belongs to a specific servlet or filter (and only that
servlet or filter can read it).

Yoav Shapira



This e-mail, including any attachments, is a confidential business communication, and 
may contain information that is confidential, proprietary and/or privileged.  This 
e-mail is intended only for the individual(s) to whom it is addressed, and may not be 
saved, copied, printed, disclosed or used by anyone else.  If you are not the(an) 
intended recipient, please immediately delete this e-mail from your computer system 
and notify the sender.  Thank you.


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

Reply via email to