File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes EL Not working Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "EL Not working" Watch "EL Not working" New topic
Author

EL Not working

Sunny Jain
Ranch Hand

Joined: Jul 23, 2007
Posts: 433

Hi,

I am using Oracle JDeveloper 10G and EL expressions are not working on this? Why is that so ?
Following is my code :

Output is :

Hi My Name is is...${person.name}
What can i do to correct this?
[ March 28, 2008: Message edited by: Sunny Jain ]

Thanks and Regards,
SCJP 1.5 (90%), SCWCD 1.5 (85%), The Jovial Java, java.util.concurrent tutorial
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

Check the web-app tag of your web.xml. The instructions are in this FAQ.


[My Blog]
All roads lead to JavaRanch
Sunny Jain
Ranch Hand

Joined: Jul 23, 2007
Posts: 433

Hi Christophe Verre

I have following mentioned in the web.xml :


How to correct this..? I saw that jstl.jar's version is 1.0. I have download the jstl.jar version 1.2 ; but dont know where should i replace this, I look into the WEB-INF folder, there is not lib folder there..!! I am confuse..
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

web-app_2_3.dtd

Can't you use 2.4 instead ? This forum is for SCWCD. You should be using at least 2.4.


<web-app xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"
version="2.4">


EL is disabled by default in 2.3
[ March 28, 2008: Message edited by: Christophe Verre ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: EL Not working