<< < 32 33 34 35 36 37 38 39 40 41 42 > >>   Sort: Date

How to write a script manage a list using JavaScript?
How to write a script manage a list using JavaScript? 1. To remove an item from a list: set it to null: myList[3] = null; 2. To truncate a list: reset the length property: myList.length = 2; 3. To delete all items in a list, set the length to 0: myList.length = 0;
2008-07-01, 5743👍, 0💬

Preventing the Creation of Sessions in JSP Pages
How do you prevent the Creation of a Session in a JSP Page and why? By default, a JSP page will automatically create a session for the request if one does not exist. However, sessions consume resources and if it is not necessary to maintain a session, one should not be created. For example, a market...
2007-04-03, 5739👍, 0💬

Setting Session Timeout Period
Is there a way I can set the inactivity lease period on a per-session basis? Typically, a default inactivity lease period for all sessions is set within your JSPengine admin screen or associated properties file. However, if your JSP engine supports the Servlet 2.1 API, you can manage the inactivity ...
2007-04-03, 5739👍, 0💬

SingleThreadModel Deprecated
In the Servlet 2.4 specification SingleThreadModel has been deprecated, why? Because it is not practical to have such model. Whether you set isThreadSafe to true or false, you should take care of concurrent client requests to the JSP page by synchronizing access to any shared objects defined at the ...
2007-04-03, 5739👍, 0💬

What Is an OPTION Tag/Element
What Is an OPTION Tag/Element? - XHTML 1.0 Tutorials - Understanding Forms and Input Fields A "option" element is an inline element that you can use to define one option of a dropdown input field in a form. Here are basic rules about a "option" element: "option" elements are inline elements. "option...
2007-05-12, 5738👍, 0💬

How To Connect to a MySQL Sever with a Port Number
How To Connect to a MySQL Sever with a Port Number? - MySQL FAQs - PHP Connections and Query Execution If you want to connect a MySQL server with a non-default port number, you need to use the "mysql_connect($server)" function with $server in the format of "hostName:portNubmber". The tutorial exerci...
2007-05-10, 5738👍, 0💬

What Happen to Images with Absolute Page Width Units
What Happen to Images with Absolute Page Width Units? - CSS Tutorials - Page Layout and Background Image Design If you set your page width to absolute length units like inches, what will happen to image sizes? Usually, images have relative length units like pixels. If you include large images on you...
2007-05-11, 5737👍, 0💬

What Is a SELECT Tag/Element
What Is a SELECT Tag/Element? - XHTML 1.0 Tutorials - Understanding Forms and Input Fields A "select" element is an inline element that you can use to define a dropdown input field in a form. Here are basic rules about a "select" element: "select" elements are inline elements. "select" elements can ...
2007-05-12, 5735👍, 0💬

How can we maintain State in Webservices
Do webservice have state ? Webservices as such do not have any mechanism by which they can maintain state. Webservices can access ASP.NET intrinsic objects like Session, application and so on if they inherit from “WebService” base class. &lt;%@ Webservice class="TestWebServiceClass" %> Imports S...
2007-10-23, 5732👍, 0💬

How can you specify remoting parameters using Config files
How can you specify remoting parameters using Config files ? Both remoting server and remoting client parameters can be provided through config files. Below is a sample of server config file which provides all remoting parameter values which we where providing through code. &lt;configuration> &a...
2007-10-23, 5731👍, 0💬

How To List All User Accounts
How To List All User Accounts? - Oracle DBA FAQ - Managing Oracle User Accounts, Schema and Privileges User accounts can be accessed through a system view called ALL_USERS. A simple SELECT statement can be used to get a list of all user accounts. Try the following script: >.\bin\sqlplus /nolog SQL> ...
2007-05-02, 5731👍, 0💬

What Is Transport Network Substrate (TNS)
What Is Transport Network Substrate (TNS)? - Oracle DBA FAQ - Oracle Basic Concepts TNS, Transport Network Substrate, is a foundation technology, built into the Oracle Net foundation layer that works with any standard network transport protocol.
2007-04-22, 5731👍, 0💬

How To Enter Comments into XHTML documents
How To Enter Comments into XHTML documents? - XHTML Tutorials - Introduction To Tag and Attribute Syntax If you want to enter comments into an XHTML document, you can use the comment tag: "&lt;!-- ... --&gt;". Here are some good examples of XHTML comments: &lt;!-- Start north banner --&a...
2007-05-12, 5730👍, 0💬

What Is Open Database Communication (ODBC)
What Is Open Database Communication (ODBC)? - Oracle DBA FAQ - ODBC Drivers, DSN Configuration and ASP Connection ODBC, Open Database Communication, a standard API (application program interface) developed by Microsoft for Windows applications to communicate with database management systems. Oracle ...
2007-04-17, 5730👍, 0💬

What are wait handles
What is a mutex object ? Wait handles sends signals of a thread status from one thread to other thread. There are three kind of wait modes :- ã WaitOne. ã WaitAny. ã WaitAll. When a thread wants to release a Wait handle it can call Set method. You can use Mutex (mutually exclusive) objects to a...
2007-10-22, 5729👍, 0💬

What Are White Spaces in HTML Documents
What Are White Spaces in HTML Documents? - CSS Tutorials - Understanding Multiple Element Formatting Rules White spaces are combinations of continuous white space characters: " " - The space character. "\t " - The tab character. "\n " - The new line character. "\r " - The carriage return character.
2007-05-11, 5728👍, 0💬

What is reflection?
.NET INTERVIEW QUESTIONS - What is reflection? All .NET assemblies have metadata information stored about the types defined in modules. This metadata information can be accessed by mechanism called as “Reflection”.System. Reflection can be used to browse through the metadata information.Using reflec...
2010-03-30, 5727👍, 0💬

How To Closing an XHTML Element
How To Closing an XHTML Element? - XHTML Tutorials - Introduction To Tag and Attribute Syntax Every XHTML element must be closed. There are two ways to close an XHTML element: Using a closing tag, which is the element name prefixed with "/" and enclosed in a pair of angle brackets: "&lt;" and "&...
2007-05-12, 5727👍, 0💬

Java Bean Class with 100 Fields
How to write a bean class, when you have 100 fields and each have three sub fields.
2007-04-26, 5727👍, 0💬

What are the various ways of hosting a WCF service
What are the various ways of hosting a WCF service? There are three major ways to host a WCF service: Self hosting the service in his own application domain. This we have already covered in the first section. The service comes in to existence when you create the object of ServiceHost class and the s...
2007-11-04, 5725👍, 0💬

What is CDATA section in XML
What is CDATA section in XML? All data is normally parsed in XML but if you want to exclude some elements you will need to put those elements in CDATA.
2007-10-31, 5725👍, 0💬

Uploading Files with File Input Fields in a Form
How To Write the FORM Tag Correctly for Uploading Files? When users clicks the submit button, files specified in the &lt;INPUT TYPE=FILE...> will be transferred from the browser to the Web server. This transferring (uploading) process is controlled by a properly written &lt;FORM...> tag as: ...
2007-02-27, 5725👍, 0💬

What’s the use of resource manager class
What’s the use of resource manager class? ResourceManager class helps us to read the resource files and get the values using key. First you need to create the object of resource manager. You need to specify the resource name and the assembly in the constructor. private ResourceManager objResourceMan...
2007-11-01, 5724👍, 0💬

How To Get the Last ID Assigned by MySQL
How To Get the Last ID Assigned by MySQL? - PHP Script Tips - Working with MySQL Database If you use an ID column with AUTO_INCREMENT attribute, you can use the mysql_insert_id() function to get the last ID value assigned by the MySQL server, as shown in the sample script below: &lt;?php include...
2007-04-18, 5724👍, 0💬

<< < 32 33 34 35 36 37 38 39 40 41 42 > >>   Sort: Date