How to access Spring MVC model object in javascript file?

前端 未结 8 1153
南方客
南方客 2020-12-28 19:05

I am using spring 3 MVC and i have below classes.

External system would call my application using below URL:

http://somehost/root/param1/param2/param         


        
8条回答
  •  我在风中等你
    2020-12-28 19:37

    Another solution could be using in JSP:

    and getting the value in Javascript with jQuery:

    var jsonBom = $('#jsonBom').val();

提交回复
热议问题