The deployment descriptor is invalid.
The container invokes mainError.jsp.
The container invokes castError.jsp.
Neither mainError.jsp nor castError.jsp is invoked.
第1题:
Given this fragment in a servlet: 23.if(req.isUserInRole("Admin")) { 24.// do stuff 25.} And the following fragment from the related Java EE deployment descriptor: 812.
第2题:
What is the name of the WebLogic specific deployment descriptor of Java Enterprise Application?()
第3题:
Given:And MainClass exists in the /apps/com/company/application directory. Assume the CLASSPATHenvironment variable is set to "." (current directory). Which two java commands entered at the command line will run MainClass?()
A.java MainClass if run from the /apps directory
B.java com.company.application.MainClass if run from the /apps directory
C.java -classpath /apps com.company.application.MainClass if run from any directory
D.java -classpath . MainClass if run from the /apps/com/company/application directory
E.java -classpath /apps/com/company/application:. MainClass if run from the /apps directory
F.java com.company.application.MainClass if run from the /apps/com/company/application directory
第4题:
Given this fragment from a Java EE deployment descriptor: 124.
第5题:
Given: String value = getServletContext().getInitParameter("foo"); in an HttpServlet and a web applicationdeployment descriptor that contains:
第6题:
Given the element from the web application deployment descriptor:
第7题:
If you want to use the Java EE platform’s built-in type of authentication that uses a custom HTML page for authentication. Which two statements are true?()
第8题:
Which two pieces of information are needed when declaring the web resource collection in the deployment descriptor?()
第9题:
Given this fragment from a Java EE deployment descriptor: 341.
第10题:
Which two statements are true about using the isUserInRole method to implement security in a Java EEapplication?()