To localize Tiles, you can
Create separate configuration files for each locale
Specify an locale for a definition
Either A or B
None
To localize Validator forms, you can
Specify a locale for a form-set
From a MVC perspective, Struts provides the
Model
View
Controller
ViewController
Identify the advantages of JSP over Servlet
a) Embedding of Java code in HTML pages
b) Platform independence
c) Creation of database-driven Web applications
d) Server-side programming capabilities
Write the following code for a JSP page: RESULT PAGE Suppose you access this JSP file, Find out your answer.
A blank page will be displayed.
A page with the text Welcome is displayed
An exception will be thrown because the implicit out object is not used
An exception will be thrown because PrintWriter can be used in servlets only
What are the life-cycle methods of JSP?
jspInit()
jspService()
jspDestroy()
jspEnd()
How many scope values for the tag
1
2
3
4
What is output of follwoing int main() { int a=000; cout << "R4R:"; cout << a; return 0; }
Execution time error
Syntax error
R4R:0
What is output of following #include int main() { cout << "R4R" << endl return 0; }
syntax error
R4R
By default fields in a C++ class
Public
Private
Protected
Unintialized