上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 26 下一页
摘要: 使用Ajax写查询功能,后端数据一直传不到前端,遇到parse解析的卡住 原因:传来的json数据格式不正确,后端Java还respond了一个success 解决方法:把success去掉 <script src="https://ajax.googleapis.com/ajax/libs/jqu 阅读全文
posted @ 2023-11-10 22:32 a_true 阅读(22) 评论(0) 推荐(0)
摘要: 复习了离散数学期中知识 阅读全文
posted @ 2023-11-08 22:06 a_true 阅读(13) 评论(0) 推荐(0)
摘要: /* Tomcat 10 以上可用import jakarta.servlet.http.HttpServlet;import jakarta.servlet.http.HttpServletRequest;import jakarta.servlet.http.HttpServletRespons 阅读全文
posted @ 2023-11-07 22:33 a_true 阅读(18) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2023-11-01 21:19 a_true 阅读(40) 评论(0) 推荐(0)
摘要: <script type="text/javascript"><!--全选的方法 --><--复选框的定义方法以及全选方法--> function selectAll() { var s=document.getElementsByName("like"); for (var i= 0; i <s. 阅读全文
posted @ 2023-10-25 21:00 a_true 阅读(21) 评论(0) 推荐(0)
摘要: <tr><%--限制必须输入,学号限制位数、前四位必须是2023,性别限制男或女,专业用下拉框--%> <th>姓名</th> <input type="text" name="name" required> <th>学号</th> <input type="text" name="number" 阅读全文
posted @ 2023-10-25 20:57 a_true 阅读(36) 评论(0) 推荐(0)
摘要: 通过查阅网上资料,得到jsp下拉框默认值的设置方式: <select name="zy" id="zy" required> <option value="0"> </option> <option value="信息工程"<%= selectValue.equals("信息工程") ? "sele 阅读全文
posted @ 2023-10-24 21:58 a_true 阅读(305) 评论(0) 推荐(0)
摘要: 在JAVA项目中,异常处理是一项非常重要的任务。合理处理异常能够提高程序的稳定性和可靠性,保证程序的正常运行。下面是关于JAVA项目中常用的异常处理情况的总结: 1. 空指针异常(NullPointerException):在使用一个空对象的成员变量或方法时会抛出该异常。可以通过判断对象是否为空来避 阅读全文
posted @ 2023-10-18 21:40 a_true 阅读(63) 评论(0) 推荐(0)
摘要: 树的操作: 1、树的构建 Node build(Node p, int &k, string s){ if(s[k] == '#'){ k++; return NULL; } p = new node(); p -> ch = s[k++]; p -> lc = build(p->lc,k,s); 阅读全文
posted @ 2023-10-16 10:54 a_true 阅读(42) 评论(0) 推荐(0)
摘要: Java类的继承问题 public class ParentChildTest { public static void main(String[] args) { Parent parent=new Parent(); parent.printValue(); Child child=new Ch 阅读全文
posted @ 2023-10-12 23:17 a_true 阅读(18) 评论(0) 推荐(0)
上一页 1 ··· 14 15 16 17 18 19 20 21 22 ··· 26 下一页