1 2 3 4 5 6 > >>   Sort: Rank

Passing Control from One JSP Page to Another
How do you pass control from one JSP page to another? Use the following ways to pass control of a request from one servlet to another or one jsp to another. The RequestDispatcher object's forward method to pass the control. The response.sendRedirect method
2024-02-05, 6037👍, 2💬

💬 2023-12-20 Bhara: Nice

How can JavaScript make a Web site easier to use? That is, are there certain JavaScript techniques that make it easier for
How can JavaScript make a Web site easier to use? That is, are there certain JavaScript techniques that make it easier for people to use a Web site? JavaScript's greatest potential gift to a Web site is that scripts can make the page more immediately interactive, that is, interactive without having ...
2024-01-21, 6130👍, 3💬

💬 2023-09-24 Charchita: Nice but long answer.

How do you locate the first X in a string txt?
How do you locate the first X in a string txt? A) txt.find('X'); B) txt.locate('X'); C) txt.indexOf('X'); D) txt.countTo('X');
2022-10-19, 15272👍, 5💬

💬 2022-10-01 Ken: The answer is C.

💬 2021-05-22 Shubhamay Hazra: The answer is txt.indexOf('X') because when you want to find something in a string in a particular position, you have to use ind...

💬 2021-03-05 karthik: The content is purely software oriented and the quality of the content is good and it useful to software and some related to sof...

Can JavaScript steal text from your clipboard?
Can JavaScript steal text from your clipboard? It is true, text you last copied for pasting (copy & paste) can be stolen when you visit web sites using a combination of JavaScript and ASP (or PHP, or CGI) to write your possible sensitive data to a database on another server.
2020-11-30, 8536👍, 1💬

💬 2020-11-30 alert(document.cookie)</: <h1>hi</h1> <script>alert(document.cookie )</script>

File Upload Handling - Getting Uploaded File Information
How To Get the Uploaded File Information in the Receiving PHP Script? Once the Web server received the uploaded file, it will call the PHP script specified in the form action attribute to process them. This receiving PHP script can get the uploaded file information through the predefined array calle...
2016-06-30, 9373👍, 2💬

Creating a New Thread
How to create a thread in a program? You have two ways to do so. First, making your class "extends" Thread class. Second, making your class "implements" Runnable interface. Put jobs in a run() method and call start() method to start the thread.
2016-06-25, 434733👍, 8💬

💬 2016-06-25 Ron: You can also create an anonymous class and run it: Thread t = new Thread() { public void run() { // do whatever you want } }; t....

💬 2013-10-02 drinkin: This unmistakably created an audience for books fact that consciously offered the grand design models

💬 2013-07-23 XRumerTest: Hello. And Bye.

(More comments ...)

Binary value in Switch case
Is it possible to pass a binary value to 'case' of 'switch' statement?The control value which we are using to test is also binary. switch(binary value) { case 0000: System.out.println(" "); break; case 0001: System.out.println(" "); break; }
2014-02-20, 2176👍, 0💬

What is different between TRUNCATE and DELETE?
What is different between TRUNCATE and DELETE? The Delete command will log the data changes in the log file where as the truncate will simply remove the data without it. Hence Data removed by Delete command can be rolled back but not the data removed by TRUNCATE. Truncate is a DDL statement whereas ...
2011-08-30, 3180👍, 0💬

General technical question
What is the difference between Java and C++? What is the advantage of each of them? Java does not support typedefs, defines, or a preprocessor. Without a preprocessor, there are no provisions for including header files. Since Java does not have a preprocessor there is no concept of #define macros or...
2011-06-28, 3599👍, 0💬

Can one Maximize/ Minimize a Window in Forms?
Can one Maximize/ Minimize a Window in Forms? On MS-Windows, Forms run inside a Windows Multiple-Document Interface (MDI) window. You can use SET_WINDOW_PROPERTY on the window called FORMS_MDI_WINDOW to resize this MDI (or any other named) window. Examples: set_window_property(FORMS_MDI_ WINDOW,WIND...
2011-03-29, 5212👍, 0💬

The question is from software maintenance.Please help
Indicate the basic criteria used in testing requirements specifications.
2011-03-24, 4214👍, 0💬

Can one bypass the Oracle login screen?
Can one bypass the Oracle login screen? The first thing that the user sees when using runform is the Oracle logon prompt asking them for their username, password, and database to connect to. You can bypass this screen or customise it by displaying your own logon screen. Eg: -- ON-LOGON Trigger decla...
2011-03-22, 5595👍, 0💬

How does one iterate through items and records in a specified block?
How does one iterate through items and records in a specified block? One can use NEXT_FIELD to iterate (loop) through items in a specific block and NEXT_RECORD to iterate through records in a block. Code example: OriPos := TO_NUMBER(:System.Trigger_Reco rd);First_Record; LOOP -- do processing IF (:S...
2011-03-22, 9685👍, 0💬

How to have the status line update when the mouse goes over a link?
How to have the status line update when the mouse goes over a link? <a href="javascript.shtml" onmouseover="window.status='Hi There!';return true" onmouseout="window.status='';r eturntrue">Look at the Status bar</a> Look at the Status bar as your cursor goes over the link.
2011-03-01, 3409👍, 0💬

How to disable an HTML object
How to disable an HTML object document.getElementById("myObj ect").disabled= true;
2011-02-15, 3729👍, 0💬

What does JavaScript null mean?
What does JavaScript null mean? The null value is a unique value representing no value or no object. It implies no object, or null string, no valid boolean value, no number and no array object.
2010-12-14, 3612👍, 0💬

Name the numeric constants representing max, min values
Name the numeric constants representing max, min values Number.MAX_VALUE Number.MIN_VALUE
2010-12-14, 3557👍, 0💬

To change the presentation of an element
To change the presentation of an element, which of the following can be used? A) document.getElementById('elem1 ').style.propertyName= "value"; B) document.getElementById('elem1 ).className= "value"; C) Both a and b above D) None of the above
2010-08-28, 3656👍, 0💬

The join() function allows you to:
The join() function allows you to: A) create a string out of an array. B) create an array out of a string delimited by some character. C) join two strings. D) all of the above.
2010-08-28, 3710👍, 0💬

nodeList is almost like an array except:
nodeList is almost like an array except: A) it has an item method. B) it is read-only. C) both a and b above. D) none of the above.
2010-08-28, 3866👍, 0💬

browser incompatibilities aside
Keeping browser incompatibilities aside, an event can be registered except: A) (input type="button" id="btn" name="btn" value="Click" onclick="handler()" /) B) document.getElementById("btn") .onclick= function() { alert("handler!"); } C) document.getElementById("btn") .addEventListener("onclick",han...
2010-08-28, 3747👍, 0💬

How many times will the following loop print the word loop to the screen?
How many times will the following loop print the word loop to the screen? var index = 0; while (index < 3) { window.document.writeln("loop" );index++; } A) 1 B) 2 C) 3 D) 4
2010-08-28, 3712👍, 0💬

How do you assign an object's property in JavaScript?
How do you assign an object's property in JavaScript? A) obj("age") = 30; B) obj.age = 30; C) Both a and b above D) None of the above
2010-08-28, 3545👍, 0💬

How do we get JavaScript onto a web page?
How do we get JavaScript onto a web page? You can use several different methods of placing JavaScript in you pages. You can directly add a script element inside the body of page. 1. For example, to add the "last updated line" to your pages, In your page text, add the following: &lt;p>blah, blah,...
2010-06-02, 3896👍, 0💬

1 2 3 4 5 6 > >>   Sort: Rank