How to support JTA Transaction in tomcat to use JBoss Tree cache

2007-07-27 Thread Umar Zubair
I am using hibernate. I am looking to use JTA Transaction because i want to use JBoss tree cache for cluster environment. My hibernate.cfg.xml files contains session-factory property name=connection.datasourcejava:comp/env/MykDS/property !-- SQL dialect -- property

RE: Downloadable file name is not correct on Linux/Unix box

2006-10-28 Thread Umar Zubair
header ? Content-Type: application/octet-stream Mic Umar Zubair a écrit : I am using Tomcat5.5. I have a jsp page with option to download xls and pdf files. When I click the link to download file and try to save it, I can not see the exact file name. It shows the jsp file name. By the way, if I

Downloadable file name is not correct on Linux/Unix box

2006-10-19 Thread Umar Zubair
file byte[] buf = new byte[1024]; int len; while ((len = in.read(buf)) 0) { outS.write(buf, 0, len); //out.wr } outS.close(); Instead of showing summaryReport.xls, system shows jsp file name. Regards, Umar Zubair NOTE: This communication