大漠雪关山月

关注

设置 web项目 localhost:8080 默认访问接口

大漠雪关山月

关注

阅读 75

2023-01-30


设置 web项目 localhost:8080 默认访问接口

@Controller
@RequestMapping("/")
public class index {
@RequestMapping(value = “/”, method = RequestMethod.GET)
public String index(Model model){
return “login.html”;
}
}

相关推荐

承蒙不弃

http://localhost:8080/hohode

承蒙不弃 66 0 0

yeamy

Tomcat已经配置好了,但是访问localhost:8080出错

yeamy 41 0 0

janedaring

Eclipse中启动tomcat后,无法访问localhost:8080(HTTP Status 404)

janedaring 34 0 0

一只1994

设置axios默认访问前缀

一只1994 42 0 0

黎轩的闲暇时光

Access to XMLHttpRequest at ‘http://localhost:8443/api/logout‘ from origin ‘http://localhost:8080‘

黎轩的闲暇时光 91 0 0

苦茶如歌

HBuilderX 如何修改内置web服务默认的8080端口

苦茶如歌 77 0 0

伊人幽梦

访问localhost失败拒绝访问

伊人幽梦 12 0 0

林塬

json:报POST http://localhost:8080/testJson 415

林塬 137 0 0

花姐的职场人生

Proxy error: Could not proxy request xxx from localhost:8080 to http://localhost:3000(ECONNREFUSED)

花姐的职场人生 110 0 0

Sophia的玲珑阁

【问题解决】The connection to the server localhost:8080 was refused

Sophia的玲珑阁 187 0 0

精彩评论(0)

0 0 举报