• Post Reply Bookmark Topic Watch Topic
  • New Topic

JSTL problem in displayTag  RSS feed

 
Nakata kokuyo
Ranch Hand
Posts: 472
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi, good day, i have a problem in displayTag , which is caused by JSTL,

the following example which i have use jstl, however it doesn't display out value of userid and it display "rList.user_id" as value


if i change the code to


it will display correctly...

can i know why is it so? anything i miss ?

thanks for guidance
[ April 14, 2006: Message edited by: Nakata kokuyo ]
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66152
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What's the renderred HTML look like? Is the display tag causing its body not to be interpreted, perhaps?
[ April 14, 2006: Message edited by: Bear Bibeault ]
 
Nakata kokuyo
Ranch Hand
Posts: 472
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear Bibeault , html render as

 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66152
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's what I thought. This means that your web app is not properly declared for enabling the JSTL.

Be sure that your web.xml declares itself using the Servlets 2.4 XML Schema rather than the Servlets 2.3 DOCTYPE.

See the JSP FAQ for details.
 
Nakata kokuyo
Ranch Hand
Posts: 472
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
thanks , bear ...i try convert my web.xml for servlet 2.4

many thanks for your guidance
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!