摘要:
map = new HashMap(); map.put("a", "aa"); map.put("2", "bb"); map.put("3", "cc"); pageContext.setAttribute("map", map); %> Map1:$... 阅读全文
posted @ 2018-02-28 20:04
wei1
阅读(1480)
评论(0)
推荐(0)
摘要:
jsp中的out.println();为什么换行?out.print("劝君");out.println("更尽");out.println("一杯酒");页面显示:劝君更尽 一杯酒 查看源码:得知,println()将html文本换行了,但是页面显示换行需要 劝君更... 阅读全文
posted @ 2018-02-28 17:31
wei1
阅读(294)
评论(0)
推荐(0)
摘要:
package MaxSubseqSum;public class MaxSubseqSumDemo { // 使用三个嵌套循环计算最大子列和,时间复杂度为 O(n^3) public int getMaxSubseqSum1(int[] a, int n) { i... 阅读全文
posted @ 2018-02-28 16:53
wei1
阅读(138)
评论(0)
推荐(0)
摘要:
import java.util.Scanner;public class Gcd { public static void main(String[] args) { // TODO Auto-generated method stub Scanner sc ... 阅读全文
posted @ 2018-02-28 16:51
wei1
阅读(523)
评论(0)
推荐(0)
摘要:
Only a type can be imported. xxxx resolves to a package看了网上的各种解决问题的方法,最后发现原來是我编写jsp时 alt+/ 自动导入了xxxx这个没用的包,所以下次遇到这个问题可以打开work\Catalina... 阅读全文
posted @ 2018-02-28 16:19
wei1
阅读(200)
评论(0)
推荐(0)

浙公网安备 33010602011771号