• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

<c:out value="${movieList}" /> Error

 
P Srini
Greenhorn
Posts: 10
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Guys,

I am Getting the following Error Any Idea Why ?


My First Jsp is as fallows Firest.jsp: ================

====CoreTester.jsp is as falllows============================================================

============================================
The following error is getting displayed while calling CoreTester.jsp
============================================
CoreTester.jsp:15:8: Static attribute must be a String literal, its illegal to specify an expression.
<c:out value="${movieList}" /><br>
^---^
CoreTester.jsp:15:8: Static attribute must be a String literal, its illegal to specify an expression.
<c:out value="${movieList}" /><br>
^---^

--------------------------------------------------------------------------------
Please let me know where am I going Wrong.

Thanks in Advance
-Srinivas
 
Balu Sadhasivam
Ranch Hand
Posts: 874
Android Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

I m not sure about the error. I guess you should first check this FAQ and see if you are using correct JSTL versions for the JSP container.
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, as Balu suggested, this is a version problem. You are using JSTL1.0's URI. You should declare the prefix like this :
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 65335
97
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Srinivas PP", please check your private messages for an important administrative matter.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic