aspose file tools*
The moose likes JSP and the fly likes fn:split - Weid behavior Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JSP
Bookmark "fn:split - Weid behavior" Watch "fn:split - Weid behavior" New topic
Author

fn:split - Weid behavior

Thai C. Tran
Greenhorn

Joined: Jul 05, 2009
Posts: 26
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

Joined: Jul 05, 2009
Posts: 26
Sorry, it was supposed to be

Thai C. Tran
Greenhorn

Joined: Jul 05, 2009
Posts: 26
ok. Problem solved ! I just checked out the source code of jstl and realize that they use StringTokenizer (!!!). Better to make a custom tag
 
 
subject: fn:split - Weid behavior