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 …
Archives for March 2009
GWT installation and creating a GWT Project
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
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 Define Complex Type in XML schema Complex types can be defined in XML schema as demonstrated in this example: …
XML Schema Elements
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
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 …
XQuery Syntax
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
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. also read: Java EE Tutorials Servlets Interview Questions New Features …