devxlogo

Tip Bank

Why Should I Use XML?

Question: I recently bought a book that includes the XML specification as well as some commentary. Much to my surprise, I found that after authoring an XML document, the browser

Execute FormCheck Function When Submitting Form

Question: I have a statement to submit a form: This JavaScript will validate entries in different textboxes placed on the form: FormCheck(this.form, ”, ”) When the user clicks the enter

Compressed Output From Servlet

The Java servlet below demonstrates how to use compressed output fromservlets. You can compress big chunks of data before sending and they will be decompressed on the fly in the

Use Pointers to Parents

When trying to navigate through a complex class hierarchy from any given instance of an object, it’s useful to be able to reference its parent. But how do you clean

The Importance of Virtual Destructors

Some classes in the Standard Library do not have a virtual destructor or virtual member functions by design. These classes include std::string, std::complex, and all STL containers. The lack of