Hi Guys, I am using the Struts Frame Work and Servlets in my Application. And It's working fine... But the Problem is .... It's working only the Static IP Address Systems ...but through Proxy my application is not working . In my application one of the main future is "Download the File to a Specified Location"... It's working on the Static IP Addres System but through Proxy it's not working ... I don't know How to solve the Proble.. Here is the code i have wrote.... f = new File(fPath); FileManagerHelper fHelper=new FileManagerHelper(); String mimeType=fHelper.getMimeType(f.getName()); httpServletResponse.setContentLength( (int) f.length()); httpServletResponse.setContentType(mimeType); System.out.println("Step..2"); System.out.println("File Name from MtDownloadAction :::::::::"+f.getName()); httpServletResponse.setHeader("Content-Disposition","attachment;filename=" +f.getName()); os = httpServletResponse.getOutputStream(); stream = new FileInputStream(f); bis = new BufferedInputStream(stream); is = new BufferedInputStream(bis); int count; byte buf[] = new byte[4096]; while ((count = is.read(buf)) > -1) os.write(buf, 0, count); Please help Me.... How to Solve Proxy Problem.. I am waiting for ur Valuable Suggestions.. Thanks Srinivas
--------------------------------- Do you Yahoo!? Yahoo! Mail is new and improved - Check it out!