Skip to content

Instantly share code, notes, and snippets.

@SinTeZWh1te
Created January 11, 2024 12:12
Show Gist options
  • Save SinTeZWh1te/689e536313328056a71f33d4afb54732 to your computer and use it in GitHub Desktop.
Save SinTeZWh1te/689e536313328056a71f33d4afb54732 to your computer and use it in GitHub Desktop.
package ru.test.bgbilling.kernel.web.action;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import ru.bitel.bgbilling.common.BGException;
import ru.bitel.bgbilling.kernel.container.web.action.AbstractAction;
/**
* @author sintezwh1te
*/
public class TestWebAction extends AbstractAction {
private static final Logger logger = LogManager.getLogger();
public TestWebAction() {
super("test");
}
@Override
public void execute() throws BGException {
logger.info("execute");
this.context.getRequest().setAttribute("pageTitle", this.getPageTitle(0, "test"));
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment