1 /*
2 * #%L
3 * Coser :: Web
4 * %%
5 * Copyright (C) 2010 Ifremer, Codelutin, Chatellier Eric
6 * %%
7 * This program is free software: you can redistribute it and/or modify
8 * it under the terms of the GNU Affero General Public License as published by
9 * the Free Software Foundation, either version 3 of the License, or
10 * (at your option) any later version.
11 *
12 * This program is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 * GNU General Public License for more details.
16 *
17 * You should have received a copy of the GNU Affero General Public License
18 * along with this program. If not, see <http://www.gnu.org/licenses/>.
19 * #L%
20 */
21
22 package fr.ifremer.coser.web.actions;
23
24 import fr.ifremer.coser.web.actions.common.AbstractCoserJspAction;
25 import org.apache.struts2.convention.annotation.Action;
26 import org.apache.struts2.convention.annotation.Result;
27
28 /**
29 * Action index, recupere la liste des resultats.
30 *
31 * @author chatellier
32 * @version $Revision$
33 * <p/>
34 * Last update : $Date$
35 * By : $Author$
36 */
37 public class LocaleAction extends AbstractCoserJspAction {
38
39 /** serialVersionUID. */
40 private static final long serialVersionUID = 1663244944108703571L;
41
42 @Override
43 @Action(results = {@Result(location = "index", type = "redirect")})
44 public String execute() {
45 return SUCCESS;
46 }
47 }