-
Dec 2nd, 2005, 11:16 AM
#1
Expression Language not supported in compile time attribute value
Hello Group,
I am very new to Spring Framework. I am trying to use 'Developing a Spring Framework MVC application step-by-step' guide. I am using all the instructions specified in the guide (at least I think....), but in step 14, where I change hello.jsp to show value for 'now' passed from SpringappController.java, I am getting an 'Expression Language not supported in compile time attribute value' error. I am not sure what I am missing. I have included standard.jar and jstl.jar files in WEB-INF/lib directory. But I am still getting this error.
Please help me out. I am really feeling frustrated at this point nd really need some help.
Thank you to all of you,
Anu
-
Dec 3rd, 2005, 06:21 AM
#2
This first of all has absolutely nothing to do with Spring, it's something in your particular Servlet/JSP environment that is giving the error.
You need to give more details about what environment you're running in, including versions of the server. Lookinng at this thread, where the user was running the Oracle app server, they had the same error messge (when trying to precompile JSPs) when their servlet/jsp jars were not up to date:
http://forums.oracle.com/forums/thre...5412&tstart=15
Regards,
-
Mar 2nd, 2006, 09:03 AM
#3
I encountered the same problem as abagde.
The source of the problem was: I used a servlet 2.4 deployment descriptor (opposed to what is done in the tutorial where a servlet 2.3 descriptor is used). This in turn enables the JSP 2.0 machinery with the built-in EL which doesn't mix too well with JSTL 1.0.
So, the solutions at hand are:
- use a 2.3 deployment descriptor, or
- include JSTL 1.1 by changing the taglib-URIs in include.jsp from
<%@ taglib prefix="c" uri="http://java.sun.com/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jstl/fmt" %>
to
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
Regards
mks
-
Mar 19th, 2006, 09:04 PM
#4
Same problem
Hi all,
I think I'm having the same problem. I've been trying to pre-compile jsp files containing EL and some Spring tags with Jasper2, but I always get NullPointerException. Not sure where the error comes from, but I'm able to deploy it on Jboss 4.0.2 (without pre-compiled).
Anyone, please tell me what should I do?
Thanks
-
Jan 30th, 2007, 08:48 AM
#5

Originally Posted by
mks99
- <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
That fixed my issue. Thanks!
-
Feb 15th, 2007, 03:09 PM
#6
This helped me too!
Just in case you ever wondered if people really do scan forums for answers to their questions I am here to tell you YES!
I was having this very same problem for over a day. This is exactly what I needed to fix my problem.
Thanks so much.
-
Mar 31st, 2011, 08:15 AM
#7
This helped me too
Just in case you ever wondered if people really do scan forums for answers to their questions, even years later... I am here to tell you YES!
I was having this very same problem for over a day. This is exactly what I needed to fix my problem.
Thanks so much.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules