37 lines
1.2 KiB
Java
37 lines
1.2 KiB
Java
|
|
package it.acxent.newsletter.servlet;
|
||
|
|
|
||
|
|
import it.acxent.db.CRAdapter;
|
||
|
|
import it.acxent.db.DBAdapter;
|
||
|
|
import it.acxent.newsletter.TemplateMsg;
|
||
|
|
import it.acxent.newsletter.TemplateMsgCR;
|
||
|
|
import it.acxent.servlet.AblServletSvlt;
|
||
|
|
import javax.servlet.annotation.WebServlet;
|
||
|
|
import javax.servlet.http.HttpServletRequest;
|
||
|
|
import javax.servlet.http.HttpServletResponse;
|
||
|
|
|
||
|
|
@WebServlet(urlPatterns = {"/ShowTemplateMsgWww.abl"})
|
||
|
|
public class ShowTemplateMsgWwwSvlt extends AblServletSvlt {
|
||
|
|
protected void fillComboAfterDetail(DBAdapter beanA, HttpServletRequest req, HttpServletResponse res) {}
|
||
|
|
|
||
|
|
protected void fillComboAfterSearch(CRAdapter CR, HttpServletRequest req, HttpServletResponse res) {}
|
||
|
|
|
||
|
|
protected DBAdapter getBean(HttpServletRequest req) {
|
||
|
|
return new TemplateMsg(getApFull(req));
|
||
|
|
}
|
||
|
|
|
||
|
|
protected CRAdapter getBeanCR(HttpServletRequest req) {
|
||
|
|
return new TemplateMsgCR(getApFull(req));
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void search(HttpServletRequest req, HttpServletResponse res) {
|
||
|
|
showBean(req, res);
|
||
|
|
}
|
||
|
|
|
||
|
|
protected void sqlActions(HttpServletRequest req, HttpServletResponse res) {
|
||
|
|
showBean(req, res);
|
||
|
|
}
|
||
|
|
|
||
|
|
protected boolean isSecureServlet(HttpServletRequest req) {
|
||
|
|
return false;
|
||
|
|
}
|
||
|
|
}
|