devxlogo

Tip Bank

View the Bytecode Contained in a Java Class

If you look in the bin directory of a regular Java2 SDK installation, you’ll find a ‘javap’ application (javap.exe), which you can use as a disassembler by adding the -c

Classloader Diffculties with JBoss

When you deploy two Web applications as Web archives (WARs) into JBoss’ deploy folder, you expect them to run independently of each other. But this does not happen. WebApp1.war +

Initializing a TextBox

There are two ways to initialize a TextBox whose TextMode is “password” with a default password:

Arrays as Pointers in C++

In C++, arrays and pointers are inextricably linked. The elements of an array are stored in consecutive memory addresses on the computer and the name of the array is equivalent

Dynamic <div> Tags

Use JavaScript to make a tag dynamically and then adds code to handle the onmouseclick event to it.”: /*The following code generates a div in javascript dynamically and add events

Achieving IIF Functionality in T-SQL

The syntax for the IIF command in T-SQL is: select case when then when then ….else endfrom In the following example, the bit data type will store either 0 or