protected void sendPdfFile(HttpServletResponse resp,
ByteArrayOutputStream dataPdf,
String fileName = "rapport") {
+// sendFile(
+// resp,
+// dataPdf,
+// fileName,
+// ".pdf",
+// "application/xml"
+// )
+
sendFile(
resp,
dataPdf,
"application/pdf"
)
+
}
/**