1
|
package eu.dnetlib.functionality.modular.ui.oai;
|
2
|
|
3
|
import javax.servlet.http.HttpServletRequest;
|
4
|
import javax.servlet.http.HttpServletResponse;
|
5
|
|
6
|
import org.springframework.ui.ModelMap;
|
7
|
|
8
|
import eu.dnetlib.functionality.modular.ui.ModuleEntryPoint;
|
9
|
|
10
|
public class OaiExplorerEntryPointController extends ModuleEntryPoint {
|
11
|
|
12
|
@Override
|
13
|
protected void initialize(final ModelMap map, final HttpServletRequest request,
|
14
|
final HttpServletResponse response) throws Exception {
|
15
|
if (request.getParameterMap().containsKey("oaiBaseUrl")) {
|
16
|
map.addAttribute("oaiBaseUrl", request.getParameter("oaiBaseUrl"));
|
17
|
}
|
18
|
}
|
19
|
|
20
|
}
|