Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/13.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/6/opengl/4.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
jqGrid:来自JavaSpring引导的数据_Java_Spring_Spring Boot_Jqgrid - Fatal编程技术网

jqGrid:来自JavaSpring引导的数据

jqGrid:来自JavaSpring引导的数据,java,spring,spring-boot,jqgrid,Java,Spring,Spring Boot,Jqgrid,但是如果我将后端应用程序的url用作(Spring boot JPA): 这是一张图片: 我将url替换为: http://localhost:8080/customer jqgrid中没有记录 这是一张图片: 您可以将jqgrid代码作为文件在本地运行,而不是从服务器运行,即 file:///.../index.html。您应该像下面的示例一样从web服务器运行此代码 url: 'http://localhost:8080/customer', 然后,您可以使用指向您的url。谢谢您,R

但是如果我将后端应用程序的url用作(Spring boot JPA):

这是一张图片:

我将url替换为:

http://localhost:8080/customer
jqgrid中没有记录

这是一张图片:


您可以将jqgrid代码作为文件在本地运行,而不是从服务器运行,即 file:///.../index.html。您应该像下面的示例一样从web服务器运行此代码

url: 'http://localhost:8080/customer',

然后,您可以使用指向您的url。

谢谢您,Roshana您能告诉我怎么做吗?
http://localhost:8080/customer
url: 'http://localhost:8080/customer',
http://localhost:8000/index.html