True, I know I can use String Tokenizer for parsing. Just curious if JDOM had any built in methods similar to doing: ie.) StringTokenizer st = new StringTokenizer(text, ","); String temp = st.nextToken(); String temp1 = st.nextToken(); ...
The input I am trying to read is something like <validation="true,mask:^\d+$,minlength:5"> -----Original Message----- From: James Holmes [mailto:[EMAIL PROTECTED]] Sent: Friday, June 21, 2002 10:31 AM To: Struts Users Mailing List Subject: Re: JDOM and struts JDOM is a library for manipulating XML files and has nothing to do with CSV files. You can read in a CSV file using some simple file i/o and string tokenization. Do a search on google.com on "java csv" for info on that. -james [EMAIL PROTECTED] http://www.jamesholmes.com/struts/ --- Alok Ghosh <[EMAIL PROTECTED]> wrote: > How can I use jdom along with struts to read Comma > Separated Values > (csv)? > > > > Can jdom read csv by itself? > > > > I've been looking for an example, but can not seem > to find one anywhere. > > > > Thanks, > > Alok. > > __________________________________________________ Do You Yahoo!? Yahoo! - Official partner of 2002 FIFA World Cup http://fifaworldcup.yahoo.com -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>