JSP&&JAVA
sinse_
这个作者很懒,什么都没留下…
展开
-
web路径问题
不以/开始的相对路径,找资源是以当前资源的路径为基准,经常容易出问题。以/开始的相对路径,找资源,以服务器的路径为标准(http://localhost:8080),需要加上项目名。可以通过<% pageContext.setAttribute("APP_PATH",request.getContextPath());%>注意:此处路径以/开始,但是不以/结束。...原创 2019-12-05 14:49:04 · 188 阅读 · 0 评论 -
【读取具有特定格式的文件】
Create a table named Quiz within a database called ExamDB. You should use the embedded Java DB mode to implement this database.Data is stored in a text file in the following csv format (questionNumb...原创 2019-10-29 09:52:15 · 223 阅读 · 0 评论 -
java实现栈(Stack)数据结构
Stack.java(Java有自带的栈结构,不要用这个了)package com.zx.match;import java.util.ArrayList;import java.util.List;/** * @author 作者 * @version 创建时间:2019年10月20日 下午10:05:41 * @email zxiao@stu.ouc.edu.cn 类说明...原创 2019-10-22 09:45:48 · 170 阅读 · 0 评论 -
【三个枪手问题】谁是最伟大的软件开发工程师?
Once upon a time in the land of Asgard there lived 3 wizards Gandalf, Merlin and Dumbledore. These 3 wizards often had an argument over which one of them was thegreatest software developer of all time...原创 2019-10-20 20:20:12 · 694 阅读 · 9 评论 -
【翻牌游戏】源码
Remember the concentration game that you mighthave played as a kid with some cards. The idea of the game is to find identical pairs among a shuffled pack of cards laidout. For example, let us assume t...原创 2019-10-16 21:27:18 · 1077 阅读 · 0 评论