| Author |
model.addAttribute value won't display using JSTL in my jsp file
|
laura mccord
Ranch Hand
Joined: Feb 10, 2009
Posts: 80
|
|
I event tried to pass something generic like
And when I try to display the result like such:
What displays is actually ${name} instead of me
I do have the jstl library in my webapp and I did include the following line of code in my jsp file <%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
I'm not sure what I'm doing wrong.
|
 |
Christophe Verré
Sheriff
Joined: Nov 24, 2005
Posts: 14672
|
|
|
Make sure that your web.xml is defined correctly. Check this FAQ.
|
[My Blog]
All roads lead to JavaRanch
|
 |
laura mccord
Ranch Hand
Joined: Feb 10, 2009
Posts: 80
|
|
Ugh! That was it!
I have been doing various samples and I must have meshed them without considering the a conflict in versions.
Thanks sooooo much...now I can proceed.
Laura
|
 |
 |
|
|
subject: model.addAttribute value won't display using JSTL in my jsp file
|
|
|