http://localhost:8000/customer/appid=api000文件URL(&F)=http://192.0.0.16:8080/test.pdf
我无法使用下面的代码访问appid和fileurl。
get("customer/", "application/json", (request, response)->{
String id = request.queryParams("AppId");
String path= request.queryParams("FileURL");
return id+":"+path;
}
提前谢谢。
1条答案
按热度按时间j2datikz1#
我们需要看看你的完整方法。
如果此代码是作为java类的一部分编写的,那么您的代码实际上是如何拉取请求和响应对象的。可能需要使用一些注解。
如果这段代码是使用scriplets作为jsp的一部分编写的,那么您使用的是哪个jstl核心函数,整个代码都应该呈现出来。