|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
Stop making mediocre tutorials.The best tutorials are video! Camtasia Studio makes it easy to create engaging, buzz-building screen videos at any size, in any popular format. Download the free trial!
|
|
#1
|
|||
|
|||
|
context-param
I have several values stored in web.xml using the context-param tag:
<context-param> <param-name>foo</param-name> <param-value>bar</param-name> </context-param> How do I retrieve these values with JSP at run time? Thanks. |
|
#2
|
|||
|
|||
|
Hi i.maizel
One thing : String param = application.getInitParameter("foo"); and application are (it defined in any jsp page default) ServletContext application = getServletConfig().getServletContext(); |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > context-param |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|