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 java:comp/env/MykDS org.hibernate.dialect.MySQLDialect org.hibernate.transaction.JTATransactionFac tory

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. >

Downloadable file name is not correct on Linux/Unix box

2006-10-18 Thread Umar Zubair
bytes from the ZIP file to the output 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 Zu