摘要:
#includeint main(){ //一般都会在后面加 \n printf("hello world! \n"); return 0;}#include int main(){ int a,b,sum; a = 99; b =... 阅读全文
摘要:
函数使用方法:mysql> select UPPER(cust_name) from customers;+------------------+| UPPER(cust_name) |+------------------+| VILLAGE TOYS |... 阅读全文
摘要:
原因:JDK 和 Eclipse 位数不一样,一个32,一个64就会导致这个问题 32位JDK: 64位JDK: 打开Eclipse安装目录下的 eclipse.ini 阅读全文
摘要:
一、配置基本信息 1. 装maven解压到一个目录下,在eclipse中配置解压好的目录 2. 配置settings.xml文件: 3. settings.xml中需要配置的内容: 二、创建maven项目 1. pom.xml配置文件中配置依赖的项目或jar包 例:配置spring-webmvc j 阅读全文
摘要:
常用目录: (在公司Linux都没有界面) 1. / :表示根目录; 2. root : root 用户单独目录; 3. home : 每个用户都会在home下有一个单独的目录,比如 xxx 用户在 /home 下有一个 /home/xxx 目录, xxx用户对这个目录有操作权限; 4. etc : 阅读全文
摘要:
SpringMVC.xml 阅读全文
摘要:
Uploader: Controller: html: SpringMVC.xml: DownLoad: Contorller: html: 阅读全文
摘要:
在jsp中用el表达示取出: 使用ModelAndView类: 阅读全文
摘要:
转发和重定向: 视图解析器: 在SpringMVC.xml中配置: @ResponseBody 如果方法上只有@Controller,会根据返回值进行跳转, 当加上@ResponseBody之后则不会进行跳转 <mvc:annotation-driven></mvc:annotation-drive 阅读全文
摘要:
当浏览器传的值要赋给类里面的类属性时: <a href="demo5?teacher.name=teacherName">show!!</a> 控制器方法: Student class: 当浏览器传的值要赋给类里面的集合时: 表单: 控制器类: 实体类Student: 新新技术 使用restful传 阅读全文