-
Sep 1st, 2011, 05:06 AM
#1
SpEL can be used in JSP?
Hi,
Quick question: In Spring 3.0.5, can SpEL work in JSP?
On some machines, it works. But others don't. In not-working case, "${exp}" is interpreted as JSP EL instead of SpEL, I guess.
The example of the SpEL expressin is "${list.size()}".
That is completely fine for SpEL but not for JSP EL.
We all are using same source and eclipse project environment form our SVN repository but the results are different.
Any advice?
Thanks.
-
Sep 1st, 2011, 08:37 AM
#2
Make sure all of spring related jars are loaded first before the webcontainer load its classes.
-
Sep 1st, 2011, 04:56 PM
#3
Hi,
Thank you for your reply.
How can I control the loading order of jar files?
I am using STS 2.7.1 with maven in the project set.
Just changing the order of dependencies entries in pom.xml file? Or something else?
Thanks.
-
Sep 2nd, 2011, 01:04 PM
#4
Changing the order of pom.xml doesn't help. Make sure that you change the order of class loader in your web container such as tomcat or Websphere.
I hope this will help
Tags for this Thread
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