Ad Java MCQ
Advanced Java
A JSP page needs to generate an XML file. Which attribute of page directive may be used to specify that the JSP page is generating an XML file?
A JSP page needs to generate an XML file. Which attribute of page directive may be used to specify that the JSP page is generating an XML file?
A JSP page needs to generate an XML file. Which attribute of page directive may be used to specify that the JSP page is generating an XML file?
a. <%@page contentType ="text/xml">
b. <%@page contentType ="xml">
c. <%@page contentType ="text/html">
d. <%@page contentType ="html/xml">
Answer: A
Learn More :
If the answers is incorrect or not given, you can answer the above question in the comment box. If the answers is incorrect or not given, you can answer the above question in the comment box.