Because I am trying to do a multiple sql statements in a textarea. And i am using Stringtokenizer to split those lines. Stringtokenizer token=new Stringtokenizer(sql, “;”);
eg. select * from table;
delete from table where a=1;
As a result, i encounter problem that it cannot forward more than 1 sql statement more than once. therefore, the servlet only run the first sql line. Is there any idea how to do it?