<< < … 26 27 28 29 30 31 32 33 34 35 36 … > >>   Sort: Date

Perl uses single or double quotes to surround a zero
Perl uses single or double quotes to surround a zero or more characters. Are the single(' ') or double quotes (" ") identical? They are not identical. There are several differences between using single quotes and double quotes for strings: The double-quoted string will perform variable interpolation...
2007-11-26, 6079👍, 0💬

Is XML meant to replace HTML
Is XML meant to replace HTML? No, they both go together one is for describing data while other is for displaying data.
2007-10-31, 6077👍, 0💬

How To Randomly Retrieve a Value from an Array
How To Randomly Retrieve a Value from an Array? - PHP Script Tips - PHP Built-in Functions for Arrays If you have a list of favorite greeting messages, and want to randomly select one of them to be used in an email, you can use the array_rand() function. Here is a PHP example script: &lt;?php $a...
2007-04-21, 6076👍, 0💬

How can you cache different version of same page using ASP.NET cache object ?
.NET INTERVIEW QUESTIONS - How can you cache different version of same page using ASP.NET cache object ? Output cache functionality is achieved by using “OutputCache” attribute on ASP.NET page header. The syntax is as follows:- &lt;%@ OutputCache Duration="20" Location="Server" VaryByParam="stat...
2009-05-19, 6071👍, 0💬

How To Insert Multiple Rows with One INSERT Statement
How To Insert Multiple Rows with One INSERT Statement? - Oracle DBA FAQ - Understanding SQL DML Statements If you want to insert multiple rows with a single INSERT statement, you can use a subquery instead of the VALUES clause. Rows returned from the subquery will be inserted the target table. The f...
2007-04-21, 6070👍, 0💬

How To Define a Sub Procedure
How To Define a Sub Procedure? - Oracle DBA FAQ - Creating Your Own PL/SQL Procedures and Functions A sub procedure is a named procedure defined and used inside another procedure or function. You need to define a sub procedure in the declaration part of the enclosing procedure or function. Sub proce...
2007-04-25, 6069👍, 0💬

Servlet Communicates with JSP Pages
How does a servlet communicate with a JSP page? The following code snippet shows how a servlet instantiates a bean and initializes it with FORM data posted by a browser. The bean is then placed into the request, and the call is then forwarded to the JSP page, Bean1.jsp, by means of a request dispatc...
2007-04-03, 6068👍, 0💬

How can JavaScript be used to improve the user interface?
How can JavaScript be used to improve the "look and feel" of a Web site? By the same token, how can JavaScript be used to improve the user interface? On their own, Web pages tend to be lifeless and flat unless you add animated images or more bandwidth-intensive content such as Java applets or other ...
2008-04-22, 6067👍, 0💬

Transient Variables
What is a transient variable? A transient variable is a variable that may not be serialized. If you do not want some variables to be serialized, you can mark those variables transient or static.
2007-03-03, 6065👍, 0💬

What is Action Class
What is Action Class? The Action Class is part of the Model and is a wrapper around the business logic. The purpose of Action Class is to translate the HttpServletRequest to the business logic. To use the Action, we need to Subclass and overwrite the execute() method. In the Action Class all the dat...
2007-12-17, 6062👍, 0💬

How To Delete Existing Rows in a Table
How To Delete Existing Rows in a Table? - MySQL FAQs - Managing Tables and Running Queries with PHP Scripts If you want to remove a row from a table, you can use the DELETE statement with a WHERE clause to identify the row. The following sample script deletes one row: &lt;?php include "mysql_con...
2007-05-11, 6062👍, 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, 6057👍, 0💬

What is basic use of “DataView”
What is basic use of “DataView” ? “DataView” represents a complete table or can be small section of rows depending on some criteria. It is best used for sorting and finding data with in “datatable”. Dataview has the following method’s Find It takes a array of values and returns the index of the r...
2007-10-24, 6056👍, 0💬

How To Split a String into Pieces
How To Split a String into Pieces? - PHP Script Tips - PHP Built-in Functions for Strings There are two functions you can use to split a string into pieces: explode(substring, string) - Splitting a string based on a substring. Faster than split(). split(pattern, string) - Splitting a string based on...
2007-04-21, 6056👍, 0💬

Serializable Interface
How many methods in the Serializable interface? There is no method in the Serializable interface. The Serializable interface acts as a marker, telling the object serialization tools that your class is serializable.
2007-03-03, 6056👍, 0💬

What Happens to the Indexes If a Table Is Recovered
What Happens to the Indexes If a Table Is Recovered? - Oracle DBA FAQ - Managing Oracle Table Indexes If you dropped a table, and recovered it back from the recycle bin, what happens to its indexes? Are all indexes recovered back automatically? The answer is that all indexes will be recovered, if yo...
2007-05-03, 6054👍, 0💬

What is event bubbling
What is event bubbling ? Server controls like Datagrid, DataList, Repeater can have other child controls inside them. Example DataGrid can have combo box inside datagrid. These child control do not raise there events by themselves, rather they pass the event to the container parent (which can be a d...
2007-10-24, 6051👍, 0💬

What Happens to the Current Transaction If a START TRANSACTION Is Executed
What Happens to the Current Transaction If a START TRANSACTION Is Executed? - MySQL FAQs - Transaction Management: Commit or Rollback If you are in a middle of a current transaction, and a START TRANSACTION command is executed, the current transaction will be committed and ended. All the database ch...
2007-05-11, 6049👍, 0💬

How do I include static files within a JSP page?
How do I include static files within a JSP page? Static resources should always be included using the JSP include directive. This way, the inclusion is performed just once during the translation phase. The following example shows the syntax: &lt; % @ include file="copyright.html" % &gt; Do n...
2013-08-01, 6048👍, 0💬

How To Tell Web Browsers That Your Web Pages Have Atom Feeds
How To Tell Web Browsers That Your Web Pages Have Atom Feeds? - RSS FAQs - Atom Feed Introduction and File Generation One way to tell Web browsers that your Web pages have Atom Feed files is to add a "link" tag in the header section of your Web pages. The "link" tag defines a "link" element with 4 a...
2007-05-12, 6047👍, 0💬

How To Assign Values to Variables
How To Assign Values to Variables? - Oracle DBA FAQ - Understanding PL/SQL Language Basics You can use assignment statements to assign values to variables. An assignment statement contains an assignment operator ":=", which takes the value specified on the right to the variable on left. The script b...
2007-04-30, 6044👍, 0💬

Serialized JavaBean
Can a JSP page instantiate a serialized bean? No problem! The useBean action specifies the beanName attribute, which can be used for indicating a serialized bean. A couple of important points to note. Although you would have to name your serialized file like "filename.ser", you only indicate "filena...
2007-04-03, 6044👍, 0💬

How did you do resource allocations
How did you do resource allocations?
2007-10-30, 6042👍, 0💬

How To Invoke the Data Pump Export Utility
How To Invoke the Data Pump Export Utility? - Oracle DBA FAQ - Loading and Exporting Data The Data Pump Export utility is distributed as executable file called "expdp.exe". To invoke this utility, you should go to the "bin" directory of your Oracle server installation and run the "expdp" command. He...
2007-05-01, 6042👍, 0💬

<< < … 26 27 28 29 30 31 32 33 34 35 36 … > >>   Sort: Date