最近毕设在做一个会议管理系统,主体采用的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")

 

相关文章:

  • 2021-11-17
  • 2021-11-17
  • 2022-12-23
  • 2021-12-12
  • 2021-07-01
猜你喜欢
  • 2022-12-23
  • 2022-02-09
  • 2022-12-23
  • 2022-01-11
  • 2022-01-19
  • 2022-12-23
  • 2022-02-27
相关资源
相似解决方案