• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

fn:split - Weid behavior

 
Thai C. Tran
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Maybe I am missing something, but can anyone explain to me why the code

print out the value "abcdefgh@@" instead of "abcdefgh@@INTERNAL_SPLITTAG@@VG@@INTERNAL_SPLITTAG@@a" ???!?!?!?
 
Thai C. Tran
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Sorry, it was supposed to be

 
Thai C. Tran
Greenhorn
Posts: 26
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok. Problem solved ! I just checked out the source code of jstl and realize that they use StringTokenizer (!!!). Better to make a custom tag
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic