阅读背景:

这是一个很好的做法和选择:从Java servlet向jsp发送Hash Map对象或JSON?

来源:互联网 

I am developing a java web application with MongoDB. In this app, I'm querying a Monogo database from a Java servlet. I am just confused whether to convert the query result to Json or a HashMap and send it to JSP or is there any other way to achieve this, and in the jsp file I can get the HashMap data and send it to the javascript in the same file.(I need to use the data in javascript)I am developing a java web application with Mon




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: