spring boot 中的a标签跳转

最近毕设在做一个会议管理系统,主体采用的spring boot,其中有一部分视频会议后台用的nodejs,需要从springboot中的a标签跳到nodejs中,

即从http://localhost:8080/organizer/unVideo_Meeting_list.html跳到http://127.0.0.1:3000/index.html。(忘了加http。。。所以一直没跳过去)

href值:

(1)http://127.0.0.1:3000/index.html跳转到指定网址

(2)写127.0.0.1:3000/index.html不会跳转,报空界面:about:blank#blocked

(3)写index.html会通过controller控制跳转

<a href="value">超链接的 URL,可能的值:

  • 绝对 URL - 指向另一个站点(比如 href="http://www.example.com/index.html")
  • 相对 URL - 指向站点内的某个文件(href="index.html")
  • 锚 URL - 指向页面中的锚(href="#top")
原文地址:https://www.cnblogs.com/ssyh/p/12169977.html