| Author |
JSP EL have access to HttpSession & ServletConfig ??
|
Deepak Jain
Ranch Hand
Joined: Aug 05, 2006
Posts: 637
|
|
How can a JSP EL have access to HttpSession & ServletConfig objects? There is initParam that can give you the context parameters, but then how can a JSP access its servlet config parameters using EL?
|
SCJP, SCWCD, SCBCD
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14669
|
|
|
Servlet init parameters in EL
|
[My Blog]
All roads lead to JavaRanch
|
 |
Abhijit Rai
Ranch Hand
Joined: Aug 07, 2008
Posts: 41
|
|
hi, Guess for session its ${pagecontext.request.session} for servlet config its ${pagecontext.servletConfig} To access init parameters in servletconfig you will have to work a little try solving it as an excercise. [ September 19, 2008: Message edited by: Abhijit Rai ]
|
SCJP5 ,SCWCD5
|
 |
 |
|
|
subject: JSP EL have access to HttpSession & ServletConfig ??
|
|
|