在我的Spring应用程序中,我有以下
@RequestMapping(value = "/payment/pspsyncresponse", method = { RequestMethod.GET, RequestMethod.POST })
public String handleSyncResponse(
final HttpServletRequest request, final HttpServletResponse response, final Model model) throws ServletException, IOException
{
LOG.info("Payment | GET | Received synchronous response");
return "pamentpage";
}
在Localhost上如果我点击“localhost:8080 / payment / pspsyncresponse”,它正在调用控制器并打印日志并返回“paymentpage”jsp
但是,如果某个其他网站发送的同一请求正在抛出404错误
Ex:在进行payumoney集成时,我们需要传递“successurl”,它将重定向到我们的应用程序,我们可以捕获响应。 PayuMO成功地使用formdata重定向到上面的url我可以在浏览器的“网络”选项卡中看到。但我的应用程序无法击中该控制器。
我相信我们需要在spring级别或tomcat级别进行一些配置以接受第3次paty请求
任何人都可以帮助我,我错过了上下文吗?
先谢谢