Home
Sign Up
Sign In
V2EX
›
Java
碰到 play framework route 错误,大家有没有遇到过
woshifyz
·
Oct 9, 2014
· 3998 views
This topic created in 4437 days ago, the information mentioned may be changed or developed.
用的是play framework + spring,现在遇到一个路由的问题,大概是这个样子的:
有A, B两个api,同时大量的请求这两个api,在log中会显示在B的处理方法中接收到了本来该发向A的请求,不知道大家有没有碰到过
Supplement 1 ·
Oct 10, 2014
不好意思,没有描述清楚,这两个api的url区别很大,而且大部分请求都是正确路由,只有少部分是出错的
framework
API
请求
2 replies
•
2014-10-10 09:13:10 +08:00
lowstz
Oct 10, 2014
1
1
路由优先级问题?
https://www.playframework.com/documentation/2.4.x/JavaRouting#Routing-priority
woshifyz
OP
Oct 10, 2014
2
@
lowstz
不好意思,没有描述清楚,这两个api的url区别很大,而且大部分请求都是正确路由,只有少部分是出错的
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Privacy
·
Solana
·
1909 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 21ms ·
UTC 15:41
·
PVG 23:41
·
LAX 07:41
·
JFK 10:41
♥ Do have faith in what you're doing.
❯