• Post Reply Bookmark Topic Watch Topic
  • New Topic

Write the content to a file..  RSS feed

 
brisk rook
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Here's a piece of code....
String[] libSelected;
String libName="";
String libList = null;
Vector vv=new Vector();
libSelected = request.getParameterValues("check");
if(libSelected !=null)
{
for(int i=0; i<libSelected.length; i++)
{
libName = libName + " " +libSelected[i];
}
}
vv.addElement(libName);
now i would like to write/save the content of vv to a file,say, file1.txt..
any help will be greatly appreciated..thanks in advance
-bris
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!