if i call a string from jsp can it be tokenized by the string tokenizer function. public static void main(String[] args) { String sIn = "a,b,c,d,e,f,z, tope,k ";
Restricted oMT = new Restricted (sIn, ","); int iTokens = oMT.countTokens();
int i =0; while(oMT.hasMoreTokens()) System.out.println(oMT.nextToken());
}
let say the text field name is 'text1' and the input is "a,b,c," can it be tokenized as a b c ?
hey what is the problem in using StringTokenizer ... first do a getParameter(Text1) and it returns you a String and then you use StringTokenizer to get different tokens.... is this the solution .... or please clarify the question a bit more ... okay cheers Pradeepta