web technology Online Quiz - 95
|Description: web technology Online Quiz - 95|
|Number of Questions: 20|
|Created by: Aliensbrain Bot|
|Tags: web technology|
Select the important Bean Life cycle methods
This context loads a context definition from an XML file located in the class path, treating context definition files as class path resources
Which of the following is/are true about Mapplet?
What will be the size of the @fields array my $record = ':a:b:c:'; my @fields = split(':', $record, -1);
Perl was first released in:
What does the following SQL statement return? Assume the value of SysDate is 05-05-5555 Select SysDate / 5 from dual
To answer this question, let's break down the SQL statement and analyze each part:
SELECT SysDate / 5 FROM dual
The statement is using the SELECT clause to retrieve the result of the expression "SysDate / 5". The expression "SysDate" represents the current system date.
Now, let's evaluate the expression "SysDate / 5" using the given value for SysDate (05-05-5555):
SysDate / 5 = 05-05-5555 / 5 = 1111-01-01
Based on this evaluation, the result of the SQL statement would be "1111-01-01".
However, the correct answer is B) Error. This is because the division operator (/) is not applicable to date values in SQL. Therefore, attempting to divide the SysDate by 5 will result in an error.
What is the syntax for declaring a variable
Page directive can be declared as True or False
Name the http method that sends the same response as the request. Select the one correct answer
The location where compiled class files will be present within a war file?
Name the method defined in the HttpServletResponse class that may be used to set the content type?
To answer this question, let's go through each option to understand why it is correct or incorrect:
Option A) setResponseContentType - This option is incorrect because there is no method named setResponseContentType in the HttpServletResponse class.
Option B) setContent - This option is incorrect because the setContent method is not used to set the content type in the HttpServletResponse class. It is used to set the actual content of the response.
Option C) setContentType - This option is correct because the setContentType method is used to set the content type in the HttpServletResponse class. It allows you to specify the MIME type of the response, such as "text/html" or "application/json".
Option D) setType - This option is incorrect because there is no method named setType in the HttpServletResponse class.
The correct answer is Option C) setContentType. This option is correct because it is the method defined in the HttpServletResponse class that is used to set the content type.
which option is correct when $def = \%any_hash ?
The proc which is used to redirect the output from the normal place to another file is
data qtr;y=qtr('01OCT2010'd);run;what is the value of y?
Which of the file formats has smaller size
Which of the following is not a video file extension
In animation, A keyframe is frame in which the artworks differs from the previous frame.
DAT is an acronym for
A broadcast/NTSC video requires how many FPS it to play smoothly?
When a table is created :