File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
A friendly place for programming greenhorns!
Big Moose Saloon
Search
|
Java FAQ
|
Recent Topics
Register / Login
Win a copy of
The Mikado Method
this week in the
Agile and other Processes
forum!
JavaRanch
»
Java Forums
»
Products
»
JBoss
Author
What needs to be done to display EL expression
Dilip Mallik
Ranch Hand
Joined: Sep 19, 2008
Posts: 40
posted
Oct 09, 2008 02:05:00
0
Hi all,
Can anyone please tell me that what needs to be done to display EL expression in jsp
I am using JBoss4.2.2GA
I searched this forum about EL but didnot get enough information.
Peter Johnson
author
Bartender
Joined: May 14, 2008
Posts: 5536
I like...
posted
Oct 09, 2008 09:40:00
0
You need to provide the correct namespace within the web.xml file in your WAR. If you are using JBossAS 4.2.x or 4.0.x, use:
<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 <a href="http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"" target="_blank" rel="nofollow">http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd"</a> version="2.4">
If you are using JBossAS 5.0, use:
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/javaee <a href="http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"" target="_blank" rel="nofollow">http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"</a> version="2.5" >
JBoss In Action
I agree. Here's the link:
http://zeroturnaround.com/jrebel
- it saves me about five hours per week
subject: What needs to be done to display EL expression
Similar Threads
where to look for jsp and servlet specs?
Confusing in EL
Scriptlet to EL
html:img Taking Different Dynamic SRC Value
Replacing a Special Character With Carriage Return and Line Feed
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter