All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.anotheria.moskito.webui.more.action.AdditionalSectionAction Maven / Gradle / Ivy

There is a newer version: 4.0.3
Show newest version
package net.anotheria.moskito.webui.more.action;

import net.anotheria.maf.action.ActionCommand;
import net.anotheria.maf.action.ActionMapping;
import net.anotheria.maf.bean.FormBean;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

/**
 * This action returns simply forward to the "everything else" navigation point.
 *
 * @author lrosenberg
 * @since 29.10.12 00:21
 */
public class AdditionalSectionAction extends BaseAdditionalAction{
	@Override
	protected String getLinkToCurrentPage(HttpServletRequest req) {
		return "mskMore?ts="+System.currentTimeMillis();
	}

	@Override
	public ActionCommand execute(ActionMapping mapping, FormBean formBean, HttpServletRequest req, HttpServletResponse res) throws Exception {
		return mapping.success();
	}

	@Override
	protected String getPageName() {
		return "more";
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy