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

Can we get a strongly typed resource class rather than using resource manager
Can we get a strongly typed resource class rather than using resource manager? In the previous question we had seen how resourcemanager class can be used to read the string from the resource file. But there has been considerable improvement in VS.Net 2005 for resource support. You no more need to lo...
2007-11-01, 6659👍, 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, 6655👍, 0💬

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, 6655👍, 0💬

Using Macros for Contants
What is the benefit of using #define to declare a constant? Using the #define method of declaring a constant enables you to declare a constant in one place and use it throughout your program. This helps make your programs more maintainable, because you need to maintain only the #define statement and...
2007-02-26, 6646👍, 0💬

Can you explain in brief how the ASP.NET authentication process works
Can you explain in brief how the ASP.NET authentication process works? ASP.NET does not run by itself, it runs inside the process of IIS. So there are two authentication layers which exist in ASP.NET system. First authentication happens at the IIS level and then at the ASP.NET level depending on the...
2007-10-24, 6642👍, 0💬

How To Set session.gc_maxlifetime Properly
How To Set session.gc_maxlifetime Properly? - PHP Script Tips - Understanding and Using Sessions As you know that session.gc_maxlifetime is the session value timeout period. You should set this value based on the usage pattern of your visitors. Here are some suggestions: # Set it to 20 minutes for a...
2007-04-18, 6638👍, 0💬

How To Give a User Read-Only Access to a Database
How To Give a User Read-Only Access to a Database? - MySQL FAQs - Managing User Accounts and Access Privileges If you want give a user read-only access to a database, you can grant to him/her only the "SELECT" privilege, so that he/she can not run any DDL statements, and any INSERT, UPDATE, or DELET...
2007-05-08, 6636👍, 0💬

How To Assign Debug Privileges to a User
How To Assign Debug Privileges to a User? - Oracle DBA FAQ - Introduction to Oracle SQL Developer In order to run SQL Developer in debug mode, the session must be connected with a user who has debug privileges. The following script shows you how to assign debug privileges: Connect to the default dat...
2007-04-28, 6635👍, 0💬

What Is the "@SuiteClasses" Annotation?
What Is the "@SuiteClasses" Annotation? "@SuiteClasses" is a class annotation defined in JUnit 4.4 in org.junit.runners.Suite.SuiteC lasses.It allows you to define a suite class as described in the previous question. By the way, the API document of JUnit 4.4 has a major typo for the org.junit.runner...
2008-01-31, 6632👍, 0💬

What Are Named Parameters
What Are Named Parameters? - Oracle DBA FAQ - Creating Your Own PL/SQL Procedures and Functions Named parameters are actual parameters specified not by position but by providing formal parameter names when calling the procedure or function. The main advantage of named parameters is that the caller d...
2007-04-21, 6631👍, 0💬

Where Do You Download JUnit?
Where Do You Download JUnit? Where do I download JUnit? I don't think anyone will ask this question in a job interview. But the answer is simple. You should follow the download instructions from the JUnit official Website: JUnit.org.
2008-01-07, 6629👍, 0💬

malloc Function
Why does malloc(0) return valid memory address? What's the use? malloc(0) does not return a non-NULL under every implementation. An implementation is free to behave in a manner it finds suitable, if the allocation size requested is zero. The implmentation may choose any of the following actions: * A...
2007-02-26, 6629👍, 0💬

How to create arrays in JavaScript?
How to create arrays in JavaScript? We can declare an array like this var scripts = new Array(); We can add elements to this array like this scripts[0] = "PHP"; scripts[1] = "ASP"; scripts[2] = "JavaScript"; scripts[3] = "HTML"; Now our array scrips has 4 elements inside it and we can print or acces...
2008-05-06, 6627👍, 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, 6617👍, 0💬

How do you target a specific frame from a hyperlink?
How do you target a specific frame from a hyperlink? Include the name of the frame in the target attribute of the hyperlink. &lt;a href=”mypage.htm” target=”BodyFrame”>>Next&l t;/a>
2008-05-06, 6604👍, 0💬

What are the five levels in CMMI
What are the five levels in CMMI? There are five levels of the CMM. According to the SEI, Level 1 – Initial At maturity level 1, processes are usually ad hoc and the organization usually does not provide a stable environment. Success in these organizations depends on the competence and heroics of pe...
2007-10-30, 6604👍, 0💬

How To Remove the Top White Space of Your Web Page
How To Remove the Top White Space of Your Web Page? - CSS Tutorials - Introduction To CSS Basics The top white space of your Web page is provided by the browser's default CSS definition of the margin-top property on the BODY tag. You can remove this white space by adding your own margin-top definiti...
2007-05-11, 6604👍, 0💬

include Directive vs. jsp:include Action
What is the difference between include directive & jsp:include action? Difference between include directive and jsp:include action: provides the benifits of automatic recompliation,smaller class size ,since the code corresponding to the included page is not present in the servlet for every inclu...
2007-04-03, 6603👍, 0💬

How To Increment Dates by 1
How To Increment Dates by 1? - MySQL FAQs - Introduction to SQL Date and Time Handling If you have a date, and you want to increment it by 1 day, you can use the DATE_ADD(date, INTERVAL 1 DAY) function. You can also use the date interval add operation as "date + INTERVAL 1 DAY". The tutorial exercis...
2007-05-11, 6592👍, 0💬

What Is Hashing
What is hashing? To hash means to grind up, and that's essentially what hashing is all about. The heart of a hashing algorithm is a hash function that takes your nice, neat data and grinds it into some random-looking integer. The idea behind hashing is that some data either has no inherent ordering ...
2007-02-26, 6588👍, 0💬

What is the version information in XML
What is the version information in XML? “version” tag shows which version of XML is used.
2007-10-31, 6586👍, 0💬

FORM - How to Use IT
How do I use forms? The basic syntax for a form is: &lt;FORM ACTION="[URL]">...&lt;/FOR M>When the form is submitted, the form data is sent to the URL specified in the ACTION attribute. This URL should refer to a server-side (e.g., CGI) program that will process the form data. The form itsel...
2007-03-03, 6585👍, 0💬

Searching Date in Linked Lists
How can I search for data in a linked list? Unfortunately, the only way to search a linked list is with a linear search, because the only way a linked list's members can be accessed is sequentially. Sometimes it is quicker to take the data from a linked list and store it in a different data structur...
2007-02-26, 6584👍, 0💬

How To Join a List of Keys with a List of Values into an Array
How To Join a List of Keys with a List of Values into an Array? - PHP Script Tips - PHP Built-in Functions for Arrays If you have a list keys and a list of values stored separately in two arrays, you can join them into a single array using the array_combine() function. It will make the values of the...
2007-04-21, 6573👍, 0💬

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