www in docker support

This commit is contained in:
MaddoScientisto 2026-04-22 18:41:37 +02:00
commit c227fce036
2145 changed files with 399596 additions and 58 deletions

View file

@ -0,0 +1,27 @@
package it.acxent.art.servlet;
import it.acxent.art.AllegatoArticolo;
import it.acxent.servlet.GetFileSvlt;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@WebServlet(urlPatterns = {"/_a/_art/*"})
public class GetArticoloAttachNoLoginSvlt extends GetFileSvlt {
private static final long serialVersionUID = -4630036169421100261L;
protected String getFileName(HttpServletRequest req, HttpServletResponse res) {
boolean checkGrant = true;
if (checkGrant) {
AllegatoArticolo bean = new AllegatoArticolo(getApFull(req));
bean.findByPrimaryKey(getRequestLongParameter(req, "id"));
String fileName = bean.getNomeFileCompleto();
return fileName;
}
return null;
}
protected boolean isSecureServlet(HttpServletRequest req) {
return false;
}
}