File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/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


Win a copy of OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: fn:split - Weid behavior