Web Development and Software Design Fundamentals
A comprehensive quiz covering web application development technologies (servlets, JSP, web.xml), UML software design notation, and Java programming fundamentals
Questions
What is output to the web page on the second access to the same instance of the following JSP? (Choose one.) <%@ page language="java" %>
Chapter 6 Question 2
<%! int x = 0; %> <%! public void jspInit() { System.out.println(x++); } %> <%= x++ %> <% System.out.println(x); %> <% jspInit(); %>- 0
- 1
- 2
- 3
- 4
- Page does not translate.
Mandatory Method(s) to be defined in servlets
- getSessionBehaviour()
- getApplicationId()
- getSecurityLevel()
- getServletName()
Which one of the following folder is mandatory to be defined to use the ps: custom tags
- TLDs
- DDLs
- Web-inf
- Meta-Inf
Which one is correct?
- <NAME>Write name here</NAME>
- <name>Write name here</name>
- <NAme>Write name here</naME>
- <naME>Write name here</NAme>
The file where the context root of the application is specified
- Web.xml
- application.xml
- ps.xml
- Actionconfig.xml
In which file will the servlets and the security roles of the application will be defined
- Web.xml
- application.xml
- ps.xml
- Actionconfig.xml
The file where the task flows and the page flows of the application is specified
- Map.xml
- Web.xml
- ps.xml
- DynamicContentAliases.xml
Where does the application been first taken in to, when an URL is hit in the browser
- Servlet of the appilcation
- Deployment descriptor of the appln
- Context root of the application
- ps.xml file of the application