Re: providing downloading functionality for a file which is on disk

2009-07-21 Thread Kham Mulman
you can. for instance, File file = new File(C:\\temp\\downloadfilename.csv); FileInputStream fileIn = new FileInputStream(file); ServletOutputStream out = response.getOutputStream(); byte[] outputByte = new byte[4096]; //copy binary contect to output stream while(fileIn.read(outputByte, 0,

Re: Failed to start Tomcat service

2009-07-13 Thread Kham Mulman
i faced same problem... i'm now ok... i'm not sure, if it works for you.. try once it- put msvcr71.dll into bin directory of your tomcat.. i hope it would be useful to you.. On Tue, Jul 14, 2009 at 10:42 AM, Christopher Schultz ch...@christopherschultz.net wrote: -BEGIN PGP SIGNED