view gnv/src/main/java/de/intevation/gnv/action/mapviewer/ShowMapViewerCallBodyAction.java @ 683:d49e8695786c

Ordered imports. Removed needless imports. Removed empty headers. gnv/trunk@855 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 29 Mar 2010 09:10:25 +0000
parents 15ac78a91d1b
children 57fa8019fbdc
line wrap: on
line source
package de.intevation.gnv.action.mapviewer;

import de.intevation.gnv.action.ArtifactDatabaseActionBase;

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

import org.apache.log4j.Logger;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionForward;
import org.apache.struts.action.ActionMapping;

/**
 * @author Tim Englich <tim.englich@intevation.de>
 */
public class ShowMapViewerCallBodyAction extends ArtifactDatabaseActionBase {

    /**
     * the logger, used to log exceptions and additionally information
     */
    private static Logger log = Logger
            .getLogger(ShowMapViewerCallBodyAction.class);

    /**
     * Constructor
     */
    public ShowMapViewerCallBodyAction() {
        super();
    }

    @Override
    public ActionForward execute(ActionMapping mapping, ActionForm form,
                                 HttpServletRequest request,
                                 HttpServletResponse response) throws Exception {
        log.debug("ShowMapViewerCallBodyAction.execute");
        request.setAttribute("MAPVIEWERCALL", new Boolean(true));
        return super.execute(mapping, form, request, response);
    }
}

http://dive4elements.wald.intevation.org