如何用JSP编写AJAX [英] How to write AJAX with JSP

查看:76
本文介绍了如何用JSP编写AJAX的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我是AJAX的新手,对JSP和Servlet有所了解。



请为JSP和servlet提供AJAX代码。其中,根据复选框的选择,页面右侧显示的文本会发生变化。

Hi,

I am very new to AJAX, have knowledge on JSP & Servlet.

Please provide a code for AJAX with JSP & servlet. Where, based on selection of Checkboxes, the text thus displayed on right side of page changes.

推荐答案

从这里开始...

< a href =https://netbeans.org/kb/docs/web/ajax-quickstart.html> https://netbeans.org/kb/docs/web/ajax-quickstart.html [< a href =https://netbeans.org/kb/docs/web/ajax-quickstart.html\"target =_ blanktitle =New Window> ^ ]

http://simpleajaxjsp.blogspot.co.il/ [ ^ ]
Start here...
https://netbeans.org/kb/docs/web/ajax-quickstart.html[^]
http://simpleajaxjsp.blogspot.co.il/[^]


请查看一些示例实现



http://codesstore.blogspot.com/2011 /12/json-with-jquery-jsp-servlets.html [ ^ ]



http://www.programming-free .com / 2012/08 / ajax-with-jsp-and-servlet-using-jquery.html [ ^ ]



http://srikanthtechnologies.com/blog/java/jqueryexample.html [ ^ ]
Please have a look into some sample implementations

http://codesstore.blogspot.com/2011/12/json-with-jquery-jsp-servlets.html[^]

http://www.programming-free.com/2012/08/ajax-with-jsp-and-servlet-using-jquery.html[^]

http://srikanthtechnologies.com/blog/java/jqueryexample.html[^]


这篇关于如何用JSP编写AJAX的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆