代码如何写?求大神带路
解决方案 »
- java新手不懂的小问题,有空的请帮我解答
- 急,哪里出错!!!!
- 为什么?static
- 关于JDBC连接MySql的问题
- 怎样创建这样的jar文件?
- 求在java中怎样修改XML文件中值的代码!!!!!!!!!!!!!!!
- Swing中有没有类似VC中IP控件那样的类?
- 搜寻关于JAVA的电子书籍的下载网站,关于电脑技术的都可以,谢谢各位!
- 这个程序怎么编译不通过啊?
- 我搞不懂抽象类(abstract class)和接口(interface)之间究竟有什么区别
- 龙通科技面试题之:有n个人围成一圈,顺序排号。从第一个人开始报数(从1到3报数),凡报到3的人退出圈子,再从他的下一个人重新报数,最后留下的是原来第几号的那位
- 还没学到,大神能教教吗
HttpServletResponse response) throws IOException {
int UserID = Integer.valueOf(request.getParameter("UserID"));
Education bookType = ma.SelectEducationInfo(UserID);// 学历认证--数据回填用户ID
if (bookType != null) {
response.setContentType("text/json");
JSONObject object=JSONObject.fromObject(bookType);
PrintWriter out = response.getWriter();
out.write(object.toString());
out.flush();
out.close();
} else {
String str = "false";
response.setContentType("text/json");
JSONObject object=JSONObject.fromObject(str);
PrintWriter out = response.getWriter();
out.write(object.toString());
out.flush();
out.close();
} }
可以去参考我同学的案例