接触XML有一段日子了,但一直都是复制粘贴,或者照着例子写,没有真正地理解。今天,又温习了一下XML,有种陌生又熟悉的感觉。。。言归正传,先看一个简单的schema文件(05.xsd)语法就不说了,这里主要解释一下schema元素的前三个属性:1.xmlns="http://www.w3.org/2001/XMLSche..
分类:
其他好文 时间:
2014-05-27 04:14:00
阅读次数:
327
<!DOCTYPEhtmlPUBLIC"-//W3C//DTDXHTML1.0Transitional//EN""http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><htmlxmlns="http://www.w3.org/1999/xhtml"><head><metahttp-equiv="Content-Type"content="text/html;charset=utf-8"/><ti..
分类:
其他好文 时间:
2014-05-27 03:41:43
阅读次数:
304
1、 w3
Jmail4.3组件重新设计了其内部结构——使用Message对象代替原来的单一对象Jmail.smtpmail发送邮件;2、 w3
Jmail4.3组件一共有十多个对象(后面将详细介绍)——这些对象中,绝大多数是针对Jmail.Message对象操作的;3、 支持从POP3邮件服务器收...
分类:
其他好文 时间:
2014-05-26 23:20:06
阅读次数:
476
一、XML的两种约束DTD和Schema
摘自IBM官网一段话命名空间。
二、shema文件
student.xsd
xmlns="http://www.w3.org/2001/XMLSchema"
targetNamespace="http://www.example.org/student"
elementFormDefault="qualified">...
分类:
其他好文 时间:
2014-05-25 22:54:51
阅读次数:
385
利用Eclipse中的Maven构建Web项目
1、在进行上述操作时,pom.xml一直报错
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache....
分类:
Web程序 时间:
2014-05-25 21:28:00
阅读次数:
323
1、添加jar
2、web.xml配置
xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://ja...
分类:
编程语言 时间:
2014-05-22 11:23:45
阅读次数:
436
文件配置如下:
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:context="http://www.springframework.org/schema/context"
xsi:sch...
分类:
编程语言 时间:
2014-05-22 07:38:58
阅读次数:
388
1、导入jar
2、web.xml配置
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://ja...
分类:
编程语言 时间:
2014-05-21 09:06:23
阅读次数:
484
一、查看虚拟目录是否存在private bool
IsExitesVirtualDir(string virtualdirname){ bool exited =false; DirectoryEntry
_entry = new DirectoryEntry("IIS://localhost/W3...
分类:
Web程序 时间:
2014-05-20 01:56:24
阅读次数:
401
"http://www.w3.org/TR/html4/loose.dtd">
-->
.red{width:100px;height:100px;background:red;}
.blue{width:100px;height:100px;background:blue;}...
分类:
其他好文 时间:
2014-05-15 23:16:15
阅读次数:
379