devxlogo

Tip Bank

Closing a Popup Window Automatically

The following code will close a popup window after the user selects to download the file, or if he/she cancels the download. Between the tags of the document is popped

Find All User Tables, Columns, DataTypes, and Length

To determine all your user tables, plus their columns, datatypes, and length, type: SELECT DISTINCT SO.Name AS “TableName”, SC.ColID, SC.Name AS “ColumnName”, ST.Name AS “DataType”, SC.Length AS “Length”, SC.Status AS

What Does “strictfp” Do?”

When this modifier is specified, the JVM sticks to the Java specifications and returns the consistent value independent of the platform. That is, if you want the answers from your

Send and Recieve Messages Using a CGI Java Application

The following code shows you how to send and receive CGI messages from a Java application: import java.net.*;import java.io.*;class POSTrequest{URL url=null;URLConnection URLcon=null;OutputStreamWriter OSW=null;BufferedReader BR=null;PrintStream PS=null;public void GetReady() { try {

Arrays of Functions

A pointer to a function refers to the memory address of the function. Just like arrays, the name of a function is the starting address of the function’s code. Here’s