This week's giveaway is in the Android forum.
We're giving away four copies of Android Security Essentials Live Lessons and have Godfrey Nolan on-line!
See this thread for details.
The moose likes JSP and the fly likes use of fn:trim Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » JSP
Bookmark "use of fn:trim" Watch "use of fn:trim" New topic
Author

use of fn:trim

Akshay Singhvi
Ranch Hand

Joined: Nov 08, 2005
Posts: 93
Hello Ranchers,
How can I use the jstl function fn:trim. What things do i need to include to use this. I have standard and jstl jar files in my workspace.


Regards,<br />Akshay Singhvi<br />SCJP 1.4 (95%)<br />SCWCD 1.4 (86%)
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

As with any other taglib, you need to declare the taglib on your page using the appropriate URI for the fn library.

Was the JSP FAQ entry on this issue not helpful?
[ March 12, 2007: Message edited by: Bear Bibeault ]

[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Akshay Singhvi
Ranch Hand

Joined: Nov 08, 2005
Posts: 93
i am using JSTL 1.0 version
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60810
    
  65

Then you cannot use the function library which was added with JSTL 1.1 and must be used in a JSP 2.0 environment.
[ March 13, 2007: Message edited by: Bear Bibeault ]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: use of fn:trim
 
Similar Threads
fn:trim question
JSTL and basic String methods
Using html drop down box to retain values (in a jsp page)
simple JSTL question
Best usage of chained method calling in JSTL