Technology Questions

Q:

What is the use of Name based hosting?

Answer

- Name based is the virtual hosting that allows the virtual hosts to serve multiple hostnames that runs on single machine and having only one IP address.


- This is used when the web browser is used to request the resource from the server then the server respond using the hostname. 


- Web server uses HTTP protocol to respond to the requested hostname as the part of the request. 


- The server contains all the information of the website and the user that requests for the resources given. 


- Name based web hosting includes the resources and services that need to be given at the time of client’s request.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1538
Q:

What is stored in the 'this' reference?

Answer

This is a keyword and used as reference to Current object address in java. 


It means by using which object the method is called that object hashcode is stored inside the 'this'.

Report Error

View answer Workspace Report Error Discuss

Subject: Java
Job Role: Analyst

0 1538
Q:

What are the advantages of the external over inline style methods?

Answer

- External Style Sheets are useful as it keeps the style and content separately and doesn’t allow it to mix with each other. It can control the styles for multiple documents, whereas inline style mixes the content with the style and make the code messier.


- External style sheet allows the creation of various classes in a structured way, whereas inline style sheet can’t create or control class elements.


- External style sheet can use selector and grouping methods to apply styles, whereas inline styles can’t use selector and grouping methods.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1537
Q:

How to set the cursor to wait in JavaScript?

Answer

The cursor can set to wait in JavaScript by using the property ‘cursor’ property. The following example illustrates the usage.


window.document.body.style.cursor = "wait"; 

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1537
Q:

How to create arrays in JavaScript?

Answer

Arrays are created by using new Array() in Java Script.


For example : var employees = new Array();


The elements to this array is assigned as follows :


employees[0] = "Kumar"


employees[1] = "Fedrick"

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1535
Q:

What is hierarchy relationship in a dimension. whether it is: 1) 1:1 2) 1:m 3) m:m

Answer

1:m

Report Error

View answer Workspace Report Error Discuss

2 1535
Q:

When do we use End-of-selection ?

Answer

End of the selection event is mostly used when we are writing HR-ABAP code. In the HR-ABAP code, data is retrieved in the start of selection event and printing on the list and all will be done at the end of the selection event.

Report Error

View answer Workspace Report Error Discuss

Subject: ABAP
Job Role: Analyst , IT Trainer

1 1533
Q:

Where are cookies actually stored on the hard disk?

Answer

The storage of cookies on the hard disk depends on OS and the browser. The Netscape navigator on Windows, the file cookies.txt contains all the cookies. The path is :


c:\Program Files\Netscape\Users\username\cookies.txt


 


The Internet Explorer stores the cookies on a file by name username@website.txt is


c:\Windows\Cookies\username@Website.txt

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1528