Do not understand the background, the first time to use springmvc controller access can not ask the boss to take a look

this is the web-serlet.xml configuration

clipboard.png

congtroller :

clipboard.png

I have used springboot before. The springmvc is mainly used to send data to the front end. Html is not jsp. What"s wrong with me? take a look-sharp-sharp-sharp topic description

sources of topics and their own ideas

related codes

/ / Please paste the code text below (do not replace the code with pictures)

what result do you expect? What is the error message actually seen?

May.02,2022

add @ ResponseBody annotation or try @ RestController annotation directly

MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3bd65-2c2c0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3bd65-2c2c0.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?