Win a copy of Java Concurrency Live Lessons this week in the Threads forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Exception in jsp: The content of elements must consist of well  RSS feed

 
Happy S Singh
Ranch Hand
Posts: 58
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Below is my jsp , when I add total attribute to display:column I get below exception


frm_Rslt.jsp

 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Are you using .jspx format? If so, why? That's not intended to be used for hand coding.
 
PedroPk Santos
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I solved this converting the JSP from XHTML to HTML, doing this in the begining:

 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You should be using an HTML 5 doctype by this time.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!