JQuery Ajax异步处理JSON数据实现气象图片的显示  被引量:26

ACHIEVING METEOROLOGICAL PICTURES DISPLAY BY ASYNCHRONOUSLY PROCESSING JSON DATA WITH JQUERY AJAX

在线阅读下载全文

作  者:郭庆燕[1] 张敏[1] 杨贤栋[1] Guo Qingyan;Zhang Min;Yang Xiandong(Meteorological Information Center of Fujian Province, Fuzhou 350001 , Fujian, China)

机构地区:[1]福建省气象信息中心,福建福州350001

出  处:《计算机应用与软件》2016年第6期20-22,67,共4页Computer Applications and Software

基  金:福建省气象局开放式气象科学研究基金项目(2010K03)

摘  要:气象资料复杂多样,如何在气象信息网上快速显示气象资料图片,是气象开发工作者的重要工作之一。针对这种需求,提出在页面无刷新的情况下实现气象图片分类显示的效果。前台页面通过Ajax向后台的Servlet发出请求,后台Servlet处理用户请求后返回JSON格式的数据给请求页面,请求页面利用JQuery处理返回的JSON格式的数据,将结果呈献给用户。实验结果表明利用这种j Query Ajax异步处理JSON数据的方法很好地实现了页面对后台数据的数据无刷新访问,达到多种气象图片分类显示效果。Meteorological data is complex and diverse, how to quickly display the images of meteorological data online is one of the important jobs for meteorological development workers. In response to this d e m a n d , the paper presents the realisation of the classification display effect of meteorological pictures in the circumstance of without page refreshing. The webpage in foreground sends a request to the Servlet of background through Ajax, and the background Servlet returns the J S O N format data back to the requesting page after processing the user request, and the requesting page processes the returned J S O N format data with Jquery and then presents the result to users. Experimental results show that the use of such method asynchronously processing J S O N data with JQuery Ajax well realises the access of webpages to the background data without refreshing, and achieves the results of classification display of meteorological images.

关 键 词:AJAX JQUERY JSON 图片分类显示 

分 类 号:TP3[自动化与计算机技术—计算机科学与技术]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象