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