
Servlet 3.0: A Sneak Preview
part from the addition of functionalities such as filters and web application events, the Servlet specification?one of the key Java APIs for web application development?has not undergone any major changes

part from the addition of functionalities such as filters and web application events, the Servlet specification?one of the key Java APIs for web application development?has not undergone any major changes

C++’s SAFEARRAY is difficult to use. A better option is to enumerate an array’s elements by repeatedly calling your own custom enumeration function and incrementing the element index. When the

It’s easy to determine whether a DataGridView column is invisible—just check its Boolean Displayed property. However, the Displayed property returns True even when the column is only partially visible in

Consider storing any URLs used by your application in the web.config file?where you can easily update them?and then using them to create hyperlinks in your web site dynamically. To do

Here’s a way you can check whether the current method is recursive. The following method returns True when your application is in a recursive method: Public Function CheckRecursion() As Boolean

Since the first browsers came out, web designers have wanted to use custom fonts on their sites. It makes perfect sense: you should be able to choose not only your

Communicating with the outside world is one of the ways to make your iPhone applications interesting and useful. This is especially true today where they are so many web services

y keeping each class focused on a single responsibility, plain old Java object (POJO)-based application development improves attributes such as readability, testability, and maintainability, which increases overall software quality. Nevertheless,

s the old saying goes, “The world is changing before your very eyes.” Actually, right now it should really be “the world is changing before your very fingers.” The touch

It’s relatively easy to add an Image Command Field to a GridView programmatically. Here’s how: // in C#if (!Page.IsPostBack){ CommandField field = new CommandField(); field.ButtonType = ButtonType.Image; field.SelectImageUrl = “~/Images/MyPic.GIF”;

Typically, developers hide a DataGrid column by getting the index of the column to be hidden, and then hiding it in the ItemCreated event as follows: e.Item.Cells[myColumnIndex].Visible = false; That

even seems to be the magic number for the W3C. Seven years after releasing XSLT 1.0 (which also debuted XPath), they followed up with XPath 2.0, XSLT 2.0, and XQuery

ne of the most commonly used views in iPhone applications is the Table View, which you use to display lists of items. Users can select a visible item, or tap

This tip is a follow-up to the tip Retrieving the ID of the Last Inserted Record. In that tip, the SELECT command is longer than it needs to be. Here’s

Static fields have class-level scope, so they can execute even without a main() method. Here’s an example: public class Static{ static{System.out.println(“I will print without main()”);}} Related Posts John Romero on

t one time or another, every software engineer makes the mistake of banking on a technology that becomes obsolete?leaving customers or users stuck in a dead-end. This scenario can make

eb services can be very useful for integrating standalone components that communicate across a network. When used with straightforward call/return scenarios involving a very limited number of data types, setting

his article shows you how to use the most important iterator classes: ArrayIterator, DirectoryIterator, FilterIterator, and so forth, found in the Standard PHP Library (SPL), and how to integrate SPL

What would you do if you needed to store text data in a table column that exceeds 8000 characters? The common choices are the TEXT and NTEXT data types, but

Array predicates are a not-so-well-known feature introduced with the .NET Framework 2.0 that let you retrieve specific items or perform operations on all items of an array. For example, a

Over the past several weeks, I’ve had the obligatory parental experience of teaching a teenager to drive. This can be a nerve-wracking process as the new driver learns the mechanics

o allow the creation of truly modular software, OOP has evolved into aspect-oriented programming (AOP). Building on familiar technologies such as JDBC, Hibernate, JPA, Spring Security, Spring MVC, and Swing,

he C++ literature uses the phrase “most vexing parse” to denote one of the dark syntactic alleys of C++. It’s vexing because programmers usually don’t even know it exists; they

You’re probably already aware of the benefits of metatags, which provide metadata about an HTML document. Metatags aren’t rendered in the browser, but search engines use them to categorize web

Related Posts AI entrepreneur raises $13.8 million via LinkedInTech workers transforming layoffs into dialogues onlineExecute Code On-Demand with Azure FunctionsOperations on dates and timesChange default Ctril+Click behaviour in Word to

At the opening keynote of this week’s Oracle OpenWorld Conference, Sun Chairman and Co-founder Scott McNealy called the father of Java, James Gosling, on stage to again reiterate Oracle’s dedication

Recently, I was trying to create a two-column table with multiple rows. I needed to iterate over a collection object and display its data in a table with two columns,

he previous DevX article “Augmented Reality on Android: Prepping the Camera and Compass” explored how to use the Android SDK’s camera and compass as the first two building blocks of

Here’s the problem: You can’t put objects that don’t implement the Comparable interface inside a Tree(Map/Set); if you do, your code won’t even compile. The underlying cause is simple; TreeMap

hen implementing GridPanels, I typically start by configuring the DataStore. The reason for this is because the configuration of the ColumnModel is directly related to the configuration of the DataStore.