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,34 @@
package it.acxent.pg.servlet;
import it.acxent.bank.paypal.PayPalResp;
import it.acxent.bank.servlet.paypal.GetPayPalResponseSvlt;
import it.acxent.cart.Cart;
import it.acxent.db.ApplParm;
import it.acxent.db.ApplParmFull;
import it.acxent.pg.Users;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
@Deprecated
public class PayPalResponseSvlt extends GetPayPalResponseSvlt {
protected static ApplParmFull ap2;
protected void preparePaymenResPage(HttpServletRequest req, HttpServletResponse res, PayPalResp ppResponse) {
long l_id_users = 0L;
if (ppResponse != null)
l_id_users = ppResponse.getId_ordine();
Users user = new Users(getApFull());
user.findByPrimaryKey(l_id_users);
req.setAttribute("user", user);
}
protected String getCheckOutMailMessage() {
return getParm(Cart.P_CHECKOUTMSG).getTesto();
}
protected ApplParmFull getAp2() {
if (ap2 == null)
ap2 = new ApplParmFull(new ApplParm(getApFull().getParm("DBDRIVER2").getNumeroInt(), getApFull().getParm("DBNAME2").getTesto(), getApFull().getParm("USER2").getTesto(), getApFull().getParm("PASSWORD2").getTesto()));
return ap2;
}
}