parent
1e83b66522
commit
ea27605aa5
@ -1,14 +0,0 @@
|
||||
package com.ssm.controller;
|
||||
|
||||
|
||||
import org.springframework.stereotype.Controller;
|
||||
import org.springframework.web.bind.annotation.RequestMapping;
|
||||
|
||||
@Controller
|
||||
@RequestMapping("testRM")
|
||||
public class TestRequestMappingController {
|
||||
@RequestMapping("onClass")
|
||||
public String onClass(){
|
||||
return "showRequestMapping";
|
||||
}
|
||||
}
|
||||
@ -1,16 +0,0 @@
|
||||
<%--
|
||||
Created by IntelliJ IDEA.
|
||||
User: HP
|
||||
Date: 2026/4/25
|
||||
Time: 11:00
|
||||
To change this template use File | Settings | File Templates.
|
||||
--%>
|
||||
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
|
||||
<html>
|
||||
<head>
|
||||
<title>Test RequestMapping!</title>
|
||||
</head>
|
||||
<body>
|
||||
Success!
|
||||
</body>
|
||||
</html>
|
||||
Binary file not shown.
Binary file not shown.
Loading…
Reference in new issue