I am a CF developer that has been working with JSP recently. In Cold Fusion,
we can set application variables in the application.cfm file that gets
processed before each page at request time. For example, say I wanted to set
the title of every page to "My Website", could I create a parameter in the
web.xml file that would allow me to call it on every page and if it needed
to be changed, just change it in one place. I can do it using session
variables, but I would not like to do this. I was looking into the web.xml
file and thought that I may be able to do something similar in JSP using the
web.xml file, but I have not been able to do so. If anybody can give me some
advice on doing this, it would be greatly appreciated.

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
For digest: mailto [EMAIL PROTECTED] with body: "set JSP-INTEREST DIGEST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://archives.java.sun.com/jsp-interest.html
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.jsp
 http://www.jguru.com/faq/index.jsp
 http://www.jspinsider.com

Reply via email to