HTML host page A GWT module needs a HTML host page to run. The HTML page includes the GWT project through the script tag. In the HTML page we do not add any HTML code ourselves. It is the responsibility of the developer to programmatically include content into the HTML page through GWT. Lets look [...]
Archive | March, 2009
GWT installation and creating a GWT Project
March 29, 2009
Installing GWT To develop programs using the GWT we need to first download it from here : GWT download. Once you have it installed the next step would be to update the PATH environmental variable. For example if you have installed GWT in you C: drive as C:gwt-windows-1.5.3 then append this path to the end [...]
XML Schema Elements – Part2
March 25, 2009
Complex Elements Complex elements are those which contain other elements as children or these elements have attributes. Empty elements and elements containing only text are also considered complex. The following is an examples of complex element 1 2 3 4 5 6 <employee grade="senior"> <id>745821</id> <empName>Tim</empName> <salary>35000</salary> <domain>Insurance</domain> </employee> Define Complex Type in XML schema [...]
XML Schema Elements
March 21, 2009
XML schema is a language for describing the contents and structure of a XML document. It basically creates a blue print of the actual XML document by describing everything about the elements which can appear in the document. By creating a XML schema we make the XML document conform to the rules defined in the [...]
Creating XSLT documents
March 12, 2009
Introduction XSLT is used for the transformation of XML documents into XHTML. We know that HTML uses predefined set of tags which can be interpreted by the browser. However this is not true for XML documents. XML does not use predefined set of tags. Hence, if we open an XML document in browser we cant [...]
How to use XLink and XPointer?
March 12, 2009
XLink In HTML we use anchor tags to create hyperlinks. On the same lines we can create hyperlinks in an XML document using XLink. With XLink we can define two types of link : simple and extended. Simple links are links similar to HTML links and extended links are used for linking multiple resources together. [...]
How to Query XML using XPath
March 12, 2009
How to Query XML using XPath Introduction XML Documents are nothing until some kind of Components called Parsers parses the Documents to extract the meaningful data. Some of the most popular DOM parsers are the Simple API for XML (SAX) and Document Object Model (DOM). Both these parsers have their own advantages and disadvantages in parsing [...]
XQuery Syntax
March 5, 2009
XQuery is a concept very similar to SQL. As sql is used to query database tables we can use XQuery to query XML data. Xquery can be used to query XML documents, data which is in XML syntax and databases. Using XQuery we can find XML elements. This can be very useful in situations when [...]
JSTL Function in JSP 2.0
March 3, 2009
In JSP 2.0 we can perform string operations in JSP without using any java code inside scriptlets. This is possible with the latest release of JSTL 1.1. The new library called Functions with prefix as fn allows us to perform string operations in JSP 2.0. The following example explains all the string operation which we [...]






March 30, 2009
0 Comments