Skip to Main Content

Java EE (Java Enterprise Edition) General Discussion

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

Request object in JSP EL

843838Sep 27 2005 — edited Sep 27 2005
Hi,

I am very new to JSP but have done a lot of work with servlets. All I want to do is to use the value from request.getContextPath() in an EL expression like this ${CONTEXT_PATH}. I just cant figure out how!

I have read a lot of articles about the expression language and jsp in general but the scope of variables in jsp, and which variables exist in which types of expression is very confusing :S.

Any pointers would be great!

Thanks,
- Robert.
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 25 2005
Added on Sep 27 2005
6 comments
205 views