This deployment descriptor is NOT valid.
The container first looks in the register directory for beta.html.
The container first looks in the register directory for alpha.html.
The container first looks for a servlet mapping in the deployment descriptor.
第1题:
Which two actions protect a resource file from direct HTTP access within a web application?()
第2题:
Which two statements are true about the security-related tags in a valid Java EE deployment descriptor?()
第3题:
Given a header in an HTTP request:X-Retries:4 Which two retrieve the value of the header from a given HttpServletRequest request?()
第4题:
Given that www.example.com/SCWCDtestApp is a validly deployed Java EE web application and that all ofthe JSP files specified in the requests below exist in the locations specified. Which two requests,issuedfrom a browser,will return an HTTP 404 error?()
第5题:
You are creating a web form with this HTML: 11.
第6题:
You deployed a Java EE Shared Library and want to use it from an application that is also deployed on the same cluster. Which two manifest attributes must be specified at a minimum with corresponding values in the deployment descriptor of the application that requires?()
第7题:
GET
PUT
POST
SEND
FORM
第8题:
the URL pattern that requires authorization
the HTTP methods that require authorization
the users allowed access to the web resource
the J2EE roles allowed access to the web resource
the authentication mechanism required by the web resource
第9题:
Implementation-Version
Specification-Version
Extension-Name
Specification-Vendor
Implementation-Vendor
第10题:
GET
ASK
SEND
HEAD
TRACE
第11题:
A
B
C
D
E
第12题:
The deployment descriptor is invalid.
The container invokes mainError.jsp.
The container invokes castError.jsp.
Neither mainError.jsp nor castError.jsp is invoked.
第13题:
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.
第14题:
Which is the true choice about the web container request processing model()?
第15题:
Given this fragment from a Java EE deployment descriptor: 341.
第16题:
Given this fragment from a Java EE deployment descriptor: 124.
第17题:
Which is true about the web container request processing model?()
第18题:
Line 24 can never be reached.
The deployment descriptor is NOT valid.
If line 24 executes, the user’s role will be Admin.
If line 24 executes, the user’s role will be Administrator.
If line 24 executes the user’s role will NOT be predictable.
第19题:
The init method on a filter is called the first time a servlet mapped to that filter is invoked
A filter defined for a servlet must always forward control to the next resource in the filter chain.
Filters associated with a named servlet are applied in the order they appear in the web application deployment descriptor file
If the init method on a filter throws an UnavailableException, then the container will make no further attempt to execute it
第20题:
The init method on a filter is called the first time a servlet mapped to that filter is invoked.
A filter defined for a servlet must always forward control to the next resource in the filter chain.
Filters associated with a named servlet are applied in the order they appear in the web application deployment descriptor file.
If the init method on a filter throws an UnavailableException, then the container will make no further attempt to execute it.
第21题:
Line 24 can never be reached.
The deployment descriptor is NOT valid.
If line 24 executes, the user’s role will be Admin.
If line 24 executes, the user’s role will be Administrator.
If line 24 executes the user’s role will NOT be predictable.
第22题:
The deployment descriptor is invalid.
The container invokes mainError.jsp.
The container invokes castError.jsp.
Neither mainError.jsp nor castError.jsp is invoked.
第23题:
request.getHeader (“X-Retries”)
request.getIntHeader (“X-Retries”)
request.getRequestHeader (“x-Retries”)
request.getHeaders (“X-Retries”).get (0)
re request.getRequest Headers (“X-Retries”). Get (0)