摘要: $(function () { $("#btnback").click(function () { window.location.href = "${ctx}/ship/shipInfoAdd"; });}) 阅读全文
posted @ 2017-08-08 15:53 Legolas_4 阅读(265) 评论(0) 推荐(0)
摘要: ShipStatic ship=shipService.getShipInfoBymmsi(mmsi); public interface ShipStaticMapper extends Mapper { ShipStatic getShipinfoBymmsi(String mmsi);} public interface ShipImageMapper extends Mappe... 阅读全文
posted @ 2017-08-08 15:01 Legolas_4 阅读(574) 评论(0) 推荐(0)
摘要: base.jsp<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%><%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/ 阅读全文
posted @ 2017-08-08 14:13 Legolas_4 阅读(477) 评论(0) 推荐(0)
摘要: 和其他数据库系统类似,Oracle字符串连接使用“||”进行字符串拼接,其使用方式和MSSQLServer中的加号“+”一样。 比如执行下面的SQL语句: 复制代码代码如下: SELECT '工号为'||FNumber||'的员工姓名为'||FName FROM T_Employee WHERE F 阅读全文
posted @ 2017-08-08 10:57 Legolas_4 阅读(207) 评论(0) 推荐(0)
摘要: 正斜杠 正斜杠 表示除法,分隔,在windows系统中通常用来分隔命令行参数,/ 表示选项等。不能作为文件名isiss/。 正斜杠"/"在某些文档里面表示“顿号”,如通讯方式GSM/GPRS/3G,表示这三类通讯方式都可以支持。 反斜杠 反斜杠 在windows系统中,\ 用来表示目录。 而在uni 阅读全文
posted @ 2017-08-08 08:48 Legolas_4 阅读(10432) 评论(0) 推荐(0)
摘要: 在Controller中 @ResponseBody 返回JsonObject 在jsp的 success:function(data){}中可以获取 通过data.xxx可以获取json串中返回的各个属性值。 阅读全文
posted @ 2017-08-08 08:44 Legolas_4 阅读(1692) 评论(0) 推荐(0)
摘要: 2.建立序列 -- Create sequence create sequence SEQ_SHIP_IMAGEminvalue 20maxvalue 999999999999999999start with 40increment by 1cache 20; 使用序列: SELECT SEQ_SH 阅读全文
posted @ 2017-08-08 08:39 Legolas_4 阅读(1267) 评论(0) 推荐(0)
摘要: Uncaught ReferenceError: viewShipImgs is not defined 这个问题怎么解决啊?? 研究了一下午了,搜到的答案一个能解决的都没有!!! 有可能仅仅是因为 阅读全文
posted @ 2017-08-07 16:26 Legolas_4 阅读(858) 评论(0) 推荐(0)
摘要: 为了让其不区分大小写,可以在 File --> Setting 中进行设置 依次选择 Editor --> General --> Code Completion ,将 Case sensitive completion 选为 None 阅读全文
posted @ 2017-08-07 09:39 Legolas_4 阅读(254) 评论(0) 推荐(0)
摘要: 【功能任务】1.用户管理 增【done】删【done】改 【done】查【done】 设置密码【】 2.船舶录入图片录入【】图片上传到本地失败 可能是路径问题。 路径等信息存入数据库【done】3.船舶列表查看详细信息编辑 包括图片的编辑船舶列表的显示 【技术任务】1.在oracle数据库中存入自增 阅读全文
posted @ 2017-08-05 09:31 Legolas_4 阅读(178) 评论(0) 推荐(0)