<< < 8 9 10 11 12 13 14 15 16 17 18 > >>   Sort: Date

init() vs. Constructor
Can we use the constructor, instead of init(), to initialize servlet? Yes , of course you can use the constructor instead of init(). There's nothing to stop you. But you shouldn't. The original reason for init() was that ancient versions of Java couldn't dynamically invoke constructors with argument...
2007-04-03, 7416👍, 0💬

How do I debug thread
How do I debug thread ? This window is only seen when the program is running in debug mode. In windows one of the window is “Threads”.
2007-10-22, 7411👍, 0💬

How To Control White Spaces between Table Cells
How To Control White Spaces between Table Cells? - XHTML 1.0 Tutorials - Understanding Tables and Table Cells White spaces between cells refer to the vertical space between a upper cell and a lower cell in a table column, and the horizontal space between a left cell and a right cell in a table row. ...
2007-05-11, 7406👍, 0💬

Well-Written Object Oriented Programs
What does a well-written Object Oriented program look like? A well-written object oriented program exhibits recurring structures that promote abstraction, flexibility, modularity and elegance.
2007-03-03, 7398👍, 0💬

How To Create an Add-to-NewsGator Button on Your Website
How To Create an Add-to-NewsGator Button on Your Website? - RSS FAQs - Adding Your Feeds to RSS News Readers and Aggregators If you like the "Add to NewsGator" button showing on this site, you can create one for your own Web site by following the tutorial exercise below: 1. Create an RSS Atom 1.0 fe...
2007-05-12, 7396👍, 0💬

How many types of validation controls are provided by ASP.NET
How many types of validation controls are provided by ASP.NET ? There are six main types of validation controls :- RequiredFieldValidator It checks whether the control have any value. It's used when you want the control should not be empty. RangeValidator It checks if the value in validated control ...
2007-10-24, 7393👍, 0💬

How To Run "mysql" Commands from a Batch File
How To Run "mysql" Commands from a Batch File? - MySQL FAQs - Command-Line End User Interface mysql If you have group of "mysql" commands that need to be executed repeatedly, you can put them into a file, and run them from the file in "mysql" batch mode. Here is a batch file, \temp\links.sql, contai...
2007-05-10, 7393👍, 0💬

How To Use SELECT Statement to Count the Number of Rows
How To Use SELECT Statement to Count the Number of Rows? - Oracle DBA FAQ - Understanding SQL SELECT Query Statements If you want to count the number of rows, you can use the COUNT(*) function in the SELECT clause. The following select statement returns the number of rows in the "department" table: ...
2007-04-20, 7392👍, 0💬

Anonymous Classes
Can an anonymous class be declared as implementing an interface and extending a class? An anonymous class may implement an interface or extend a superclass, but may not be declared to do both.
2007-03-03, 7386👍, 0💬

What is the method to customize columns in DataGrid
What is the method to customize columns in DataGrid? Use the template column.
2007-10-24, 7381👍, 0💬

What Are the Parameter Modes Supported by PL/SQL
What Are the Parameter Modes Supported by PL/SQL? - Oracle DBA FAQ - Creating Your Own PL/SQL Procedures and Functions PL/SQL supports 3 parameter modes on procedure/function parameters: IN: This is the default mode. IN parameters allow the calling code to pass values into the procedure or function....
2007-04-25, 7381👍, 0💬

Including Source Files
What is the result of using Option Explicit? When writing your C program, you can include files in two ways. The first way is to surround the file you want to include with the angled brackets &lt; and &gt;. This method of inclusion tells the preprocessor to look for the file in the predefine...
2007-02-26, 7381👍, 0💬

How Do I Run JUnit Tests from Command Window
How Do I Run JUnit Tests from Command Window? To run JUnit tests from a command window, you need to check the following list: 1. Make sure that JDK is installed and the "java" command program is accessible through the PATH setting. Type "java -version" at the command prompt, you should see the JVM r...
2008-01-17, 7375👍, 0💬

How To Add Column Headers to a Table
How To Add Column Headers to a Table? - XHTML 1.0 Tutorials - Understanding Tables and Table Cells If you want to add column headers to a table, you need to use "th" elements instead of "td" elements in the first row of the table. "th" elements are displayed in bold and centered by default. Below is...
2007-05-11, 7373👍, 0💬

What is a delegate
What is a delegate ? Delegate is a class that can hold a reference to a method or a function. Delegate class has a signature and it can only reference those methods whose signature is compliant with the class. Delegates are type-safe functions pointers or callbacks. Below is a sample code which show...
2007-10-23, 7370👍, 0💬

How To Write a Minimum Atom 1.0 Feed File
How To Write a Minimum Atom 1.0 Feed File? - RSS FAQs - Atom Feed Introduction and File Generation If you want your Website to support a minimum Atom 1.0 feed, you can follow the tutorial exercise bellow. 1. First create a file called "atom.xml" with the following content: &lt;?xml version="1.0"...
2007-05-12, 7368👍, 0💬

How To Display a Past Time in Days, Hours and Minutes
How To Display a Past Time in Days, Hours and Minutes? - MySQL FAQs - Managing Tables and Running Queries with PHP Scripts You have seen a lots of Websites are displaying past times in days, hours and minutes. If you want to do this yourself, you can use the TIMEDIFF() SQL function. Note that the TI...
2007-05-11, 7367👍, 0💬

How To Analyze Tables with "mysqlcheck"
How To Analyze Tables with "mysqlcheck"? - MySQL FAQs - Administrator Tools for Managing MySQL Server If you want analyze tables with "mysqlcheck", you need to use the "--analyze" option. The following tutorial exercise shows you how to analyze all tables in "mysql" database: >cd \mysql\bin >mysqlch...
2007-05-11, 7363👍, 0💬

Where Is the Submitted Form Data Stored
Where Is the Submitted Form Data Stored? - PHP Script Tips - Processing Web Forms When a user submit a form on your Web server, user entered data will be transferred to the PHP engine, which will make the submitted data available to your PHP script for processing in pre-defined arrays: $_GET - An as...
2007-04-23, 7359👍, 0💬

How To Process Query Result in PL/SQL
How To Process Query Result in PL/SQL? - Oracle DBA FAQ - Introduction to PL/SQL You can run queries (SELECT statements) in a PL/SQL code blocks, and process the results a loop as shown in the following script example: SQL> set serveroutput on; SQL> BEGIN 2 FOR row IN 3 (SELECT * FROM employees WHER...
2007-04-26, 7347👍, 0💬

How to set a cookie with the contents of a textbox ?
How to set a cookie with the contents of a textbox ? Values stored in cookies may not have semicolons, commas, or spaces. You should use the handy "escape()" function to encode the values, and "unescape()" to retrieve them. //Sets cookie of current value for myTextBox function TextBoxOnchange() { va...
2024-05-02, 7341👍, 6💬

💬 2021-04-09 r: wer

What Is invokeLater() Method
When should the method invokeLater() be used? This method is used to ensure that Swing components are updated through the event-dispatching thread.
2007-03-03, 7333👍, 0💬

what are the advantages of hosting WCF Services in IIS as compared to self hosting
what are the advantages of hosting WCF Services in IIS as compared to self hosting? There are two main advantages of using IIS over self hosting: Automatic activation IIS provides automatic activation that means the service is not necessary to be running in advance. When any message is received by t...
2007-11-04, 7325👍, 0💬

Constants
WHat will be the result of the following code? #define TRUE 0 // some code while (TRUE) { // some code } Answer: This will not go into the loop as TRUE is defined as 0.
2007-02-26, 7325👍, 0💬

<< < 8 9 10 11 12 13 14 15 16 17 18 > >>   Sort: Date