Class IndexAction

java.lang.Object
net.mingsoft.base.action.BaseAction
net.mingsoft.basic.action.web.IndexAction

@Controller("indexAction") public class IndexAction extends net.mingsoft.base.action.BaseAction
Author:
by 铭软开发团队
  • Field Summary

    Fields inherited from class net.mingsoft.base.action.BaseAction

    LOG
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    index(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res)
    访问站点主页

    Methods inherited from class net.mingsoft.base.action.BaseAction

    getDomain, getHost, getHostIp, getLocaleString, getMapByProperties, getMapByProperties, getResString, getResString, getResString, getResString, getUrl, isMobileDevice

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

    • IndexAction

      public IndexAction()
  • Method Details

    • index

      @GetMapping("/msIndex") public String index(jakarta.servlet.http.HttpServletRequest req, jakarta.servlet.http.HttpServletResponse res) throws IOException
      访问站点主页
      Parameters:
      req - HttpServletRequest对象
      res - HttpServletResponse 对象
      Throws:
      jakarta.servlet.ServletException - 异常处理
      IOException - 异常处理