Web Technology Questions

Q:

What is website?

Answer

Basically website is an information provider, It provides information globally using internet protocols.


 

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1558
Q:

What is the use of providing web hosting services?

Answer

- Web hosting services provide internet hosting and its services that provide organization to build the websites. 


- The web hosting services also allow the individuals to access the websites through the World Wide Web. 


- Web hosting provides the space to put their content and allow the clients to provide the Internet connectivity. 


- It provides the data center that allows the use of higher space and connectivity properties for the Internet users. 


- It provides tools to allow the website to run on the servers and easily accessible from the outside world using the browser.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1558
Q:

What are the ways to change the cookie setting using the web browser?

Answer

The cookie settings include the enabling and disabling of the services that are used with the web browsers.


The following steps are taken to set the cookies:


- The TOOLS menu is being opened on web browser and the privacy tab is selected from where the privacy of individual user can be managed. 


- Using the ADVANCED tab the options to set the cookies will be visible and it will allow the overriding of cookie. 


- The cookies can be accepted by checking the first party cookies or the third party cookies. Out of these choices the first party cookies provide more security. 


- Check the checkbox for "Always allow session cookies" so that the session cookies can be maintained. 

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1557
Q:

What is the procedure to configure the web browser to accept or reject cookies?

Answer

- The web browser visits a website using the HTTP and then it keeps the track of the identity of the user visiting the web page.


- The cookies of HTTP get stored with the personal information of the user and it doesn’t accept the information. 


- Users accept the cookies as by rejecting all the cookies will load the web page in longer time and it will not be desired by the users. 


- Even if the cookie is being rejected a session cookie is being kept for use as it is the provision given to the web browser to use it. 


- The cookies gets stored temporary basis depending on the user of accepting or rejecting it and it basically saves the session so that the duration of the page load can be reduced.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1555
Q:

What are Math Constants and Functions using JavaScript?

Answer

Math object has two constant : Math.PI and Math.E


 


Math object has following functions:


- Math.abs(val1);


It will give absolute value of val1.


- Math.max(val1,val2);


This fuction will return maximum value from val1 and val2.


- Math.random();


This function will return a random number between 0 and 1.


- Math.floor(val1)


This function will returns decimal value of val1

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1554
Q:

How do you load data from XML file to a ORACLE table?

Answer

You need to first create a table in oracle that matches with the fields of the XML data.


So to get the XMl into the table, you can create a generic procedure that moves an XML document into a table by converting the elements to Oracle Canonical format.


Oracle Canonical format is as follows:


<ROWSET>


   <ROW>  


     <column_name_1 />


     .


     .


     </ROW>


     <ROW>


         <column_name_1 />


         .


         .


      </ROW> 


        .


        .


</ROWSET>        


ROW is used for the table names


ROWSET is used for the XML document


You can get the XML into the canonical form using XSL:


<?xml version="1.0"?>


<xsl:stylesheet 


             xmlns:xsl="https://www.w3.org/1999/XSL/Transform"                   


             version="1.0">


     <xsl:template match="/">


          <ROWSET>


               <ROW>


                         <Attribute_name>                      


                             <xsl:value-of select="Table_name/Attribute_name" />


                         </Attribute_name>


                < /ROW>


          </ROWSET>


     </xsl:template>


</xsl:stylesheet>


To transform the XML document into the canonical form, you can write a procedure. Make sure you include the line below in your procedure code:


v_rows := DBMS_XMLStore.insertXML(


                v_context,    


                XMLType.transform(p_xml_in, p_xsl_in));


The only remaining step is calling your procedure: 


DECLARE


   v_xml XMLType := XMLType( YOUR XML Document );


   v_xsl XMLType := XMLType( YOUR XSL Document );


BEGIN 


   procedure_name(v_xml, v_xsl, 'table_name');


END;

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1553
Q:

What is the use of IP based hosting?

Answer

The web hosting on the server can be accomplished by using the IP based hosting that provides resources and services as follows:


- IP based hosting provides dedicated IPs that consists of virtual hosts and having the different IP address. 


- Web server is configured with different and multiple physical network interfaces using the same physical interface. 


- Web server uses this IP address to connect the client with the server to determine the web site that provides the client a view of it. 


- IP addresses provide the resources that are required in order to use the SSL certificates and other resources rather than shared certificate.

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1553
Q:

Explain VBScript in detail.

Answer

This is a scripting language developed by Microsoft and is based loosely on Visual Basic. Its functionality in a web environment is dependant upon either an ASP engine or the Windows Scripting Host, and must be used on a Windows hosting platform. 

Report Error

View answer Workspace Report Error Discuss

Subject: Web Technology

0 1548