View Javadoc
1   /*
2    * Licensed under the GPL License. You may not use this file except in compliance with the License.
3    * You may obtain a copy of the License at
4    *
5    *   https://www.gnu.org/licenses/old-licenses/gpl-2.0.html
6    *
7    * THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING,
8    * WITHOUT LIMITATION, THE IMPLIED WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR
9    * PURPOSE.
10   */
11  package psiprobe.controllers.apps;
12  
13  import javax.servlet.http.HttpServletRequest;
14  import javax.servlet.http.HttpServletResponse;
15  
16  import org.springframework.beans.factory.annotation.Value;
17  import org.springframework.stereotype.Controller;
18  import org.springframework.web.bind.annotation.RequestMapping;
19  import org.springframework.web.servlet.ModelAndView;
20  
21  /**
22   * The Class ViewWebXmlConfController.
23   */
24  @Controller
25  public class ViewWebXmlConfController extends BaseViewXmlConfController {
26  
27    @RequestMapping(path = "/app/viewwebxml.htm")
28    @Override
29    public ModelAndView handleRequest(HttpServletRequest request, HttpServletResponse response)
30        throws Exception {
31      return super.handleRequest(request, response);
32    }
33  
34    @Value("view_xml_conf")
35    @Override
36    public void setViewName(String viewName) {
37      super.setViewName(viewName);
38    }
39  
40    @Value("web.xml")
41    @Override
42    public void setDisplayTarget(String displayTarget) {
43      super.setDisplayTarget(displayTarget);
44    }
45  
46    @Value("/app/downloadwebxml.htm")
47    @Override
48    public void setDownloadUrl(String downloadUrl) {
49      super.setDownloadUrl(downloadUrl);
50    }
51  
52  }