How are documents accessed and manipulated in XML?
Correct Answer
The XML DOM (document object model) is used the access and management of xml It is a platform that is language neutral and allows a program or a script to dynamically access a document It also allows the updation of content as well as the structure and style of the document It is responsible for the defining of the object and properties of all xml elements as well as to define the methods for their access There are various methods that can be used in xml dom such as: - getElementsByTagName: used to call a specific user defined tag - setAttribute: used to change the value of an existing attribute - appendChild: used to add a child node to another node
Correct Answer: The differences between HTML and XHTML are: - HTML is application of Standard Generalized Markup Language(SGML) whereas XML is application of Extensible Markup Language(XML) - HTML is a static Web Page whereas XHTML is dynamic Web Page - HTML allows programmer to perform changes in the tags and use attribute minimization whereas XHTML when user need a new markup tag then user can define it in this - HTML is about displaying information whereas XHTML is about describing the information
2. How would you automatically transfer your visitors to a new web page?
Correct 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
6. What are the privacy and security features being provided by web browsers?
Correct Answer: - Web browser supports HTTP secure method that allows more security for the sites that are involved in day to day basis transaction - Security offers quick and easy way to remove the unwanted material or the things that are stored without permission like cache, cookies and history - Security is being provided by the use of blockers that blocks unwanted access to the websites from the outside - Web browser uses other features like disabling of JavaScript and pop up blockers to block any unwanted scripts or messages to run on the system - Web browser also uses the security concerns in regard of blocking the access to the secure sites that provides money transfer facilities, etc
Correct Answer: - B2B (Business-to-Business) : In B2B, companies transact with each other This includes the companies selling their product to wholesalers, distributors, etc - B2C (Business-to-Consumer) : This is usually when average businesses transact with the customer This is done through the shopping cart softwares and the amount involved in the transactions is usually low - C2B (Consumer-to-Business) : In this, a consumer places the product on the net The companies willing to buy this product bid for it The comsumer can then decide, depending upon the bid, which company to sell it to - C2C (Consumer-to-Consumer): These kind of transactions are usually done at an individual level Payments can be done with the help of online systems like PayPal
Correct Answer: The interface orgapachestrutsuploadFormFile is used for the struts file upload application This interface represents a file that has been uploaded by a client It is the only interface or class in upload package which is typically referenced directly by a Struts application This is not specific to Struts in case of DHTML but the two things that are needed in DHTML page is: first, the form needs to specify an enctype of multipart/form-data and second an form control of type file Following are the steps to load file in DHTML: - Creating a bean - Writing the ActionClass - Mapping the bean in struts-configxml - Defining actionmapping - Developing the DHTML page
Correct Answer: Following are the 3 core directives of AngularJS ng-app : This directive defines and links an AngularJS application to HTML ng-model : This directive binds the values of AngularJS application data to HTML input controls ng-bind : This directive binds the AngularJS Application data to HTML tags