Q.1
Which of the following is true about <jsp:forward> action?
  • The forward action terminates the action of the current page.
  • The forward action forwards the request to another resource such as a static page, another JSP page, or a Java Servlet.
  • Both the above
  • None
Q.2
The code inside scriplet will be placed in _____ method of jsp life cycle.
  • jsp_init()
  • jsp_service()
  • _jspService()
  • httpService()
Q.3
Default value of autoFlush attribute is?
  • 8kb
  • 16kb
  • true
  • false
Q.4
Which of the following is not an implicit object in jsp?
  • context, exception
  • date, context
  • out, context
  • None of these
Q.5
PageContext is an implicit object in jsp.
  • TRUE
  • FALSE
Q.6
How can we validate form data using JSP?
  • USing Java Beans
  • Using JSTL actions
  • Using Custom action
  • Both A & B
Q.7
How many PHP variable are available to collect user data?
  • 2
  • 3
  • 4
  • None of these
Q.8
Identify the PHP variable used to collect the data?
  • $_POST
  • $_GET
  • Either a or b
  • Neither a or b
Q.9
"The input data validations are performed on the client machine’s web browsers". Identify the type of validation?
  • HTML Validation
  • PHP Validation
  • Client Side Validation
  • Server Side Validation
Q.10
What attribute is added to input tad for client side validation?
  • Required
  • Validation
  • Action
  • None of these
Q.11
"After the submission of data, validations are performed on the server side". Identify the type of validation?
  • HTML Validation
  • PHP Validation
  • Client Side Validation
  • Server Side Validation
Q.12
Identify valid client side scripting language
  • Java script
  • PHP
  • ASP
  • JSP
Q.13
Which is not a server side scripting language?
  • Java script
  • PHP
  • ASP
  • JSP
Q.14
Which of these is the Web deployment Descriptor file required for the web applications.
  • WEB-INF
  • web.xml
  • webApps
  • META-INF
Q.15
HTML _______ controls are used to collect data from users.
  • Form
  • Input
  • Method
  • Action
Q.16
____ select is the best feature to select one file from the local machine to server machine at a time
  • Checkbox
  • Radio button
  • Textarea
  • File
Q.17
_______ is similar to checkbox but one value can be chosen at a time.
  • Checkbox
  • Radio button
  • Textarea
  • Button
Q.18
Which is not a form control?
  • Textbox
  • Textarea
  • Radio button
  • Slider
Q.19
Two models of JSP Application Architecture are:Select ALL that apply.
  • Servlet-Centric Architecture
  • JSP-Centric Architecture
  • JavaScript-Centric Architecture
  • Both A & B
Q.20
Which allows to selects more than one value from the HTML form
  • Checkbox
  • Radio button
  • Textarea
  • Button
0 h : 0 m : 1 s