
com.gruuf.struts2.gae.dispatcher.GaeDispatcher Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of struts2-gae-plugin Show documentation
Show all versions of struts2-gae-plugin Show documentation
Supports running Apache Struts 2 based application on Google AppEngine
The newest version!
package com.gruuf.struts2.gae.dispatcher;
import org.apache.logging.log4j.LogManager;
import org.apache.logging.log4j.Logger;
import org.apache.struts2.dispatcher.Dispatcher;
import javax.servlet.ServletContext;
import java.util.Map;
public class GaeDispatcher extends Dispatcher {
private static final Logger LOG = LogManager.getLogger(GaeDispatcher.class);
GaeDispatcher(ServletContext servletContext, Map params) {
super(servletContext, params);
}
@Override
protected String getSaveDir() {
LOG.debug("Google AppEngine doesn't allow to define a custom save dir");
return null;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy