view gnv/src/main/java/de/intevation/gnv/action/mapviewer/ShowMapViewerCallBodyAction.java @ 684:57fa8019fbdc

Bring @author javadoc tags in form '@author <a href="john.doe@example.com">John Doe</a>' gnv/trunk@858 c6561f87-3c4e-4783-a992-168aeb5c3f6f
author Sascha L. Teichmann <sascha.teichmann@intevation.de>
date Mon, 29 Mar 2010 09:40:35 +0000
parents d49e8695786c
children 902d4de27c37
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 <a href="mailto:tim.englich@intevation.de">Tim Englich</a>
 */
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