*
The moose likes JSP and the fly likes jstl - specify how many tokens 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 "jstl - specify how many tokens" Watch "jstl - specify how many tokens" New topic
Author

jstl - specify how many tokens

Alessandro Ilardo
Ranch Hand

Joined: Dec 23, 2005
Posts: 218
Hi there,
is there any way on the

where I can specify how many tokens should be written?


trying to decode a woman mind....
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

From the JSTL Spec:


6.1.4 Range Attributes

A set of range attributes is available to iterate over a subset of the collection of items.
The begin and end indices can be specified, along with a step. If the items
attribute is not specified, then the value of the current item is set to the integer value
of the current index.

In this example, i would take values from 100 to 110
(inclusive).




Hope it helps.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: jstl - specify how many tokens
 
Similar Threads
JSLT problem
URGENT - need some samples
access to local variable via EL
problem on deviding th tokens
Tokenizing string in Java