| Author |
Using EL
|
P Lavti
Ranch Hand
Joined: Mar 27, 2007
Posts: 65
|
|
Hi All, I am learning writing EL and the first step I did was printing one of EL implicit variable ${pageContext.request.requestURI}. My JSP page looks like: And the output is: Request URI: ${pageContext.request.requestURI} Please let me know why is it not evaluating the EL expression. Thanks!
|
-P Lavti<br />SCJP 5.0 (88%)
|
 |
Muhammad Saifuddin
Ranch Hand
Joined: Dec 06, 2005
Posts: 1318
|
|
|
have you done you configuration.. If not then read EL Not Working As Expected before doing it.
|
Saifuddin..
[Linkedin] How To Ask Questions On JavaRanch My OpenSource
|
 |
P Lavti
Ranch Hand
Joined: Mar 27, 2007
Posts: 65
|
|
I am using Jboss-4.0.4 server. And I have copied below jar files in server/default/lib jstl.jar version 1.1.2 standard.jar commons-el-1.0.jar Please let me know if I am missing smoething. Thanks!
|
 |
P Lavti
Ranch Hand
Joined: Mar 27, 2007
Posts: 65
|
|
I just studied HFSJ and its written there that each application needs to have jstl.jar in its WEB-INF/lib. I also removed it from jboss-home/server/default/lib and copied it in WEB-INF/lib, But still its not working
|
 |
P Lavti
Ranch Hand
Joined: Mar 27, 2007
Posts: 65
|
|
Got it finally!!! The version was wrong(2.5) in web.xml for web-app tag Thanks for the help. ServletsWebXml helped in finding out the reason.
|
 |
 |
|
|
subject: Using EL
|
|
|