Month: August 2008

Binding XML attribute to a DataGrid column

Most binding examples work with a flat XML structure. However, in most cases the format of the data attribute will not work directly with Flex components. I was looking for a way to bind XML attributes to a DataGrid in Flex. XML:     <Vehicles> <Vehicle id=”1″ status=”SUCCESS”> <car type=”ford”>my car</car> </Vehicle> <Vehicle id=”2″ status=”SUCCESS” />…

Read More

Why I picked Flex and not JSP / JSF

• Flex and JSP applications interact effectively with the browser caching mechanism to eliminate redundant loading of resources from the client. • Flex applications are delivered as complete, self-contained applications, while JSP applications generally require a round trip to the server to generate the next page of the application. These architectural differences have the following…

Read More

6 new Features on JSP & Servlets

If you use a web container such as Tomcat 5.x, which supports Servlet API 2.4 and JSP 2.0, then you can use a number of useful new features. These include: 1. Servlets as Welcome Files Welcome files are automatic web server responses to requests that specify only directories, not specific web components or files. When…

Read More