hi
im trying to render the swf on jsp page i can show local files "waf.swf" but whenever i use the servlet address it fails on IE but works on firefox
this is the servlet code
ServletOutputStream out = response.getOutputStream();
response.setContentType("application/x-shockwave-flash");
response.setContentLength(length);
response.setHeader("Content-Disposition", "filename=\"" + file.getName() + "\"" );
response.setHeader("cache-control", "no-cache");
byte[] bbuf = new byte[1024];
DataInputStream in = new DataInputStream(new FileInputStream(file));
while ((in != null) && ((length = in.read(bbuf)) != -1))
out.write(bbuf,0,length);
in.close();
out.flush();
out.close();