Why is this JSTL giving this error?

S

Steven

This code :

---

<c:set var="rssTitle" scope="page">
<rss:itemTitle feedId="example1" index="1"/>
</c:set>

---
Gives this error :
description The server encountered an internal error () that prevented it
from fulfilling this request.
javax.servlet.ServletException: javax/servlet/jsp/el/VariableResolver


While this code works :
 
A

Andrea Desole

Steven said:
This code :

---

<c:set var="rssTitle" scope="page">
<rss:itemTitle feedId="example1" index="1"/>
</c:set>

---
Gives this error :
description The server encountered an internal error () that prevented it
from fulfilling this request.
javax.servlet.ServletException: javax/servlet/jsp/el/VariableResolver

the type of exception just says that there is something wrong with
resolving a variable, but the set tag looks fine. I can't tell the same
about the rss tag, because I don't know it.
While this code works :

well, this other code looks completely different, so it doesn't really
help. Try something like

<c:set var="rssTitle" scope="page">
test
</c:set>

and if it doesn't work, try some other variable names and scopes.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Members online

No members online now.

Forum statistics

Threads
474,432
Messages
2,571,680
Members
48,796
Latest member
Greg L.

Latest Threads

Top