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