<< Prev Question Next Question >>

Question 54/164

You work as a Programmer for InfoTech Inc. You develop two html pages named authenticate.jsp and error.jsp, which are deployed directly at the root of the Web application named Authentication. Which of the following deployment descriptor code declarations will be used to ensure that the error.jsp page will be displayed automatically if the client is not authenticated?

LEAVE A REPLY

Your email address will not be published. Required fields are marked *

Question List (164q)
Question 1: Which of the following statements are correct about the code...
Question 2: Which of the following, in JDBC 2.0, are the sub interfaces ...
Question 3: Which of the following code is used to create an object of s...
Question 4: Identify whether the given statement is true or false. "A tr...
Question 5: Mark works as a Programmer for InfoTech Inc. He develops the...
Question 6: Which of the following authentications uses HTTPS (HTTP over...
Question 7: Which of the following keywords is used to throw an exceptio...
Question 8: Which of the following methods causes the currently executin...
Question 9: Which of the following JAR file options is used for creating...
Question 10: Which of the following classes implements the java.lang.Clon...
Question 11: Which of the following statements about exceptions in messag...
Question 12: Dennis works as a Programmer in Broadnet Inc. He writes the ...
Question 13: Harry works as a Software Developer for SoftTech Inc. He has...
Question 14: Mark works as a Programmer for InfoTech Inc. He develops the...
Question 15: Which of the following are valid method signatures of the ge...
Question 16: Which of the following methods of the javax.ejb.EJBContext i...
Question 17: Identify whether the given statement is true or false. "Ther...
Question 18: Which of the following roles will release a servlet instance...
Question 19: Which of the following methods belongs to the FilterConfig i...
Question 20: Mark works as a Programmer for InfoTech Inc. He develops a s...
Question 21: The ______________ method of the EJBContext interface tests ...
Question 22: What will be the output of the following program? class Stri...
Question 23: You work as a Software Developer for Relix Inc. You have wri...
Question 24: Which of the following exceptions will be thrown by the getF...
Question 25: Which of the following are valid code samples for creating f...
Question 26: Mark works as a Programmer for InfoTech Inc. He creates a pr...
Question 27: Identify whether the given statement is true or false. "When...
Question 28: You work as a Software Developer for TechnoZen Inc. You crea...
Question 29: You have the following code fragment of a Java program named...
Question 30: Mark works as a Programmer for InfoTech Inc. He develops an ...
Question 31: Which directory in JAR files is used to store package and ex...
Question 32: Identify whether the given statement is true or false. "JAR ...
Question 33: Which of the following will be returned by the expression "s...
Question 34: Which of the following methods performs the authentication o...
Question 35: You work as a Programmer for InfoTech Inc. You write the fol...
Question 36: Mark works as a Programmer for InfoTech Inc. He develops the...
Question 37: Which of the following exceptions will be thrown if a cipher...
Question 38: Which of the following methods are used to customize object ...
Question 39: Which of the following methods can be invoked by a message-d...
Question 40: You write the following code. class Father {public void Meth...
Question 41: Martin works as a Programmer in Data Net Inc. He writes the ...
Question 42: You work as a Software Developer for UcTech Inc. You want th...
Question 43: Peter works as a Software Developer for Neon Inc. He is deve...
Question 44: Which of the following methods is used to authenticate the u...
Question 45: Which of the following options are available with jar files?...
Question 46: You work as a Software Developer for UcTech Inc. You want to...
Question 47: Which of the following elements can be used to obtain a data...
Question 48: Which of the following methods is used to preallocate room f...
Question 49: Which of the following mechanisms is closely related to auth...
Question 50: Which of the following web-resource element descriptions wil...
Question 51: Wilbert works as a Software Developer for Wintos Inc. He wri...
Question 52: Which of the following is the correct syntax for the JVM gar...
Question 53: The following JSP scriptlet is given. &lt;% response.setCont...
Question 54: You work as a Programmer for InfoTech Inc. You develop two h...
Question 55: Which of the following modifiers is not an access modifier?...
Question 56: Which of the following fields is required when a user is aut...
Question 57: Which of the following are valid thread state transitions? E...
Question 58: Which of the following statements make a message-driven bean...
Question 59: Which of the following methods is used by the AccessControll...
Question 60: The __________ interface accepts results from a SQL SELECT s...
Question 61: Identify whether the given statement is true or false. "JAR ...
Question 62: Which of the following attribute scopes does not exist for a...
Question 63: Peter works as a Programmer in Magi Net Inc. He writes the f...
Question 64: Which of the following statements about ServletContext attri...
Question 65: Which of the following statements is used to enclose a block...
Question 66: Which of the following code declarations are valid error-pag...
Question 67: Which of the following exceptions will be thrown by the vali...
Question 68: Mark works as a Programmer for InfoTech Inc. He develops a p...
Question 69: Which of the following validates an HTML form at client-side...
Question 70: Which of the following statements about the isCallerInRole()...
Question 71: Which of the following methods can be invoked from the ejbSt...
Question 72: Samantha works as a Software Developer for Bluetech Inc. She...
Question 73: Which of the following elements contains the &lt;filter&gt; ...
Question 74: Mark works as an Application Developer for XYZ Solutions Inc...
Question 75: Which of the following statements are true? Each correct ans...
Question 76: According to the EJB programming restrictions, which of the ...
Question 77: Which of the following statements about the &lt;web-resource...
Question 78: In which of the following cases is the GET method used to re...
Question 79: Mark works as a Programmer for InfoTech Inc. He develops the...
Question 80: Sam works as a Software Developer for Gentech Inc. He writes...
Question 81: You develop an application. Now you want to ensure that data...
Question 82: You work as programmer for PassGuide.Inc. You have purchased...
Question 83: Which of the following elements is used as a parameter in th...
Question 84: Identify whether the given statement is true or false. "An o...
Question 85: Mark works as a Programmer for InfoTech Inc. He develops a J...
Question 86: Which of the following data type values is returned by the S...
Question 87: Which of the following authentication flag values will force...
Question 88: Which of the following init() method calls initializes a cip...
Question 89: Which of the following classes enables a programmer to creat...
Question 90: Given below are top-level class declarations. Which of these...
Question 91: What will be the output of the following code snippet? class...
Question 92: Which of the following circumstances can prevent the executi...
Question 93: Which of the following are advantages of client-side JavaScr...
Question 94: Which of the following methods must be implemented by each s...
Question 95: Which of the following exceptions will be thrown if the comm...
Question 96: Which of the following methods throws a SecurityException if...
Question 97: Which of the following is a mandatory sub-element of the &lt...
Question 98: Given the following directory structure. (Exhibit) Assuming ...
Question 99: The java.util.logging package provides the classes and inter...
Question 100: Which of the following elements of the java.util.logging pac...
Question 101: Which of the following methods reinitializes the logging pro...
Question 102: Which of the following code snippets will read the eighth by...
Question 103: Which of the following classes is an engine class designed t...
Question 104: Which of the following code fragments will throw NumberForma...
Question 105: Which of the following statements about the &lt;auth-constra...
Question 106: Which of the following permission classes is an abstract cla...
Question 107: You work as a Software Developer for NewTech Inc. You want t...
Question 108: Which of the following JDBC interfaces is described in the s...
Question 109: Which of the following actions can you take to seal two pack...
Question 110: Which of the following syntaxes can be used to retrieve a UR...
Question 111: Which of the following exceptions is thrown if a class uses ...
Question 112: Mark works as a Programmer for InfoNet Inc. He writes the fo...
Question 113: Mark works as a Software Developer for ZenTech Inc. He write...
Question 114: Which of the following statements about various authenticati...
Question 115: You work as a Software Developer for NewTech Inc. You write ...
Question 116: Which of the following syntaxes is used to run the applicati...
Question 117: Which of the following security related elements of the depl...
Question 118: You have the following code of a PreparedStatement. Prepared...
Question 119: Which of the following CLDC connector modes is used only for...
Question 120: Which of the following methods specifies which LoginModules ...
Question 121: You work as a Software Developer for UcTech Inc. You want to...
Question 122: Which of the following is a valid constructor for the DataIn...
Question 123: Which of the following exceptions will be thrown if the call...
Question 124: Which of the following methods are overridden by the FileInp...
Question 125: Which of the following statements about serialization are tr...
Question 126: There are two threads defined in an application named "threa...
Question 127: Which of the following TextField constraints hides the input...
Question 128: Which of the following code fragments will compile without e...
Question 129: Which of the following statements can be used by a Programme...
Question 130: Which of the following conditions must be satisfied before t...
Question 131: Mary works as a Software Developer for ABC Solutions Inc. Sh...
Question 132: Which of the following statements about the form-based authe...
Question 133: Which of the following classes of java.util.logging prints a...
Question 134: Mary works as a Software Developer for XYZ Inc. She writes t...
Question 135: The deployment descriptor uses the __________ element to pas...
Question 136: Which of the following is used to restore the objects that h...
Question 137: Mark works as a Programmer for InfoTech Inc. He develops a c...
Question 138: You work as a Software Developer for BlueTech Inc. You creat...
Question 139: You work as a Web Deployer for UcTech Inc. You write the &lt...
Question 140: Which of the following access modifiers is allowed for the c...
Question 141: Which of the following JAR file options creates and includes...
Question 142: For which of the following purposes is the AccessController ...
Question 143: Which of the following statements about a native modifier in...
Question 144: You work as a Software Developer for Developer Inc. You writ...
Question 145: Which of the following is the valid permission for a BasicPe...
Question 146: You work as a Software Developer for UcTech Inc. You want to...
Question 147: Which of the following exceptions will a compiler throw when...
Question 148: Identify whether the given statement is true or false. "When...
Question 149: You work as a Software Developer for UcTech Inc. You build a...
Question 150: You work as a Software Developer for UcNet Inc. You write th...
Question 151: Which of the following will be the result if an integer over...
Question 152: You work as a Software Developer for UcTech Inc. You are bui...
Question 153: You have created a Java application that will retrieve and i...
Question 154: Which of the following methods returns a Cipher object that ...
Question 155: Which of the following are valid class declarations? Each co...
Question 156: Which of the following instantiation code will you use to cr...
Question 157: Identify whether the given statement is true or false. "If t...
Question 158: Mark works as a Programmer for InfoTech Inc. He develops the...
Question 159: You work as a Software Developer for UcTech Inc. You want to...
Question 160: You work as a Programmer for InfoTech Inc and develop the fo...
Question 161: Mark works as a Programmer for InfoTech Inc. He develops the...
Question 162: Which of the following methods is used to encrypt or decrypt...
Question 163: Which of the following methods of the HttpSession interface ...
Question 164: Which of the following statements are true about Vector and ...