J2EE学习笔记
笨得很想飞
这个作者很懒,什么都没留下…
展开
-
XML的学习笔记(一)
记得在大学的时候,花了几天的时间看看了XML,可现在再拾起来的时候,感觉记的东西真的不多了。这次也下决心把一些东西记住,而不是要用的时候现去翻文档。 XML到底是什么,也许我现在给出来的答案只能是配置文件-_-!。其实,我接触最多的xml文件,莫过于struts-config.xml和web.xml,还有tomcat中的一些配置文件。好那么借着重新学习XML的机会,我也更深一层的了解这些文件,...2007-04-02 12:23:48 · 156 阅读 · 0 评论 -
Porlet的类和接口
Portlet->PortletAdapterPortletRequest(接口)PortletResponse(接口)PortletSession(接口)Client 基本上新编写的Portlet都是要继承PortletAdapter。PortletAdapter基本上实现所有的接口和方法。与Portlet不同的是,它几乎复写了所有抽象函数。估计设计这样两个抽象类(Portle...2007-06-05 09:41:47 · 213 阅读 · 0 评论 -
Portlet Life Circle
Portlet life circle diagraminit(PortletConfig config) This method is called by the portlet container on the abstract portlet when the portlet is first loaded. As with servlets, portlets are loade...2007-05-29 14:51:09 · 177 阅读 · 0 评论 -
Portlet的API编程
Abstract portlet与concrete portletThe portlet.xml deployment descriptor is used by the portal server to identify the abstract and concrete portlet applications you wish to deploy. An abstract portlet ...2007-05-28 09:43:35 · 230 阅读 · 0 评论 -
了解Portlet
The base building blocks of a Portal are the portlets. Portlets are complete applications following the Model-View-Controller design pattern. Portlets are developed, deployed, managed and displayed in...2007-05-21 02:38:30 · 368 阅读 · 0 评论 -
Portal的架构
Portal的起源WebSphere Portal finds its roots in Apache Jetspeed. Jetspeed is an Open Source implementation of an Enterprise Information Portal, using Java and XML.Jetspeed was created to deliver an Open...2007-05-18 07:16:39 · 410 阅读 · 0 评论 -
Portal的简单介绍
什么是Portal?A server to aggregate contentA scalable infrastructureA framework to build portal components and extensionsThe main job of a portal is to aggregate content and functionality.这句话把Portal的...2007-05-18 03:35:51 · 737 阅读 · 0 评论 -
Document Object Model
When to Use DOMOn the other hand, if you are dealing with simple data structures and if XML Schema isn't a big part of your plans, then you may find that one of the more object-oriented standards, s...2007-05-01 04:42:43 · 92 阅读 · 0 评论 -
DTDHandler And EntityResolver
The DTDHandler APIIn Choosing Your Parser Implementation you saw a method for referencing a file that contains binary data, such as an image file, using MIME data types. That is the simplest, most e...2007-04-25 13:43:08 · 210 阅读 · 0 评论 -
Handling Lexical Events
How the LexicalHandler Works To be informed when the SAX parser sees lexical information, you configure the XmlReader that underlies the parser with a LexicalHandler. The LexicalHandler interface d...2007-04-25 01:08:27 · 138 阅读 · 0 评论 -
Using the Validating Parser
首先要明白,Validating Parser是用什么来验证的。You need to understand about two things about the validating parser at the outset: A schema or document type definition (DTD) is required. ...2007-04-23 14:12:59 · 138 阅读 · 0 评论 -
SAX的异常处理。
SAXParseException SAXExceptionSAXParseException 主要用来处理,解析XML过程中出现的不可恢复的异常。比如一个xml中的某个元素不完整。SAXException可能在startDocument(),endDocument(),startElement(),endElement(),characters()中抛出。Handling NonFatal ...2007-04-20 14:12:18 · 931 阅读 · 0 评论 -
Echoing an XML File with the SAX Parser
首先要继承ContentHandler类,然后复写几个函数。startDocument();endDocument();startElement(String namespaceURI, String sName, // simple name String qName, // qualified name Attributes attr...2007-04-15 08:34:10 · 89 阅读 · 0 评论 -
Simple API for XML
SAX是Simple API for XML的简称。什么是SAX?Simple API for XML (SAX), an event-driven, serial-access mechanism for accessing XML documents. SAX is an event-driven model (you provide the callback methods, and ...2007-04-09 13:27:56 · 253 阅读 · 0 评论 -
Java API for XML Processing
The Java API for XML Processing (JAXP) is for processing XML data using applications written in the Java programming language这部分内容主要提纲挈领的讲讲JAXP,讲讲他的几个重要部分,基本的工作原理,还有重要的api。这是几个重要的工厂SAXParserFacto...2007-04-05 01:44:31 · 202 阅读 · 0 评论 -
XML的学习笔记(二)
reference to some binary dataCreating and Referencing a Parameter Entity就是在dtd中,加在xml中]>一样,例子一: %xhtml; 例子二:PCDATA %inline;)*>PCDATA %inline; | item)* > entity parameter的一个用法[...2007-04-02 14:07:54 · 76 阅读 · 0 评论 -
学习问题[XML学习]
1、一个XML文档可以含有多个dtd文档吗?答:当然可以完全可以在一个dtd中引入另外一个dtd,不然也不会出现使用name spacing的情况了。2、sgml是不是指的那些binary文件?答:完全错误的理解。-_-! XML学习过程中的常见问题及其解答SGML是XML的父语言,xml只是SGML的简化版,sgml是用来表达信息的,说明性的语言。html也是SGML的子集,不过他和...2007-04-02 14:04:04 · 74 阅读 · 0 评论 -
servlet-api的基本类和其接口的介绍
基本类和接口 一、javax.servlet.Servlet接口 servlet抽象集是javax.servlet.Servlet接口,它规定了必须由Servlet类实现由servlet引擎识别和管理的方法集。Servlet接口的基本目标是提供生命期方法init()、service()和destroy()方法。 servlet接口中的方法 void init(ServletConfit c...2007-07-16 15:37:21 · 1349 阅读 · 0 评论