-
Portlets
What is Portlets?
-
JSP Internal Objects
Name the internal objects of JSP?
-
Output of Java Program
What is the output of the following program?class A{ public static void main(String[] s) { System.out.println(s[1] + s[2] + s[3]);}}java A 12345Options(i) 1(ii) 12(iii)1234(iv)234(v) Compilation Error
-
What will be the result and why
int i=10;i=i++;System.out.println(i);
-
-
-
-
What is the difference between ServletContext and ServletConfig?
Both are interfaces. The servlet engine implements the ServletConfig interface in order to pass configuration information to a servlet. The server passes an object that implements the ServletConfig interface to the servlet's init() method.The ServletContext interface provides information to servlets regarding the environment in which they are running. It also provides standard way for servlets to write...
-
What value does readLine() return when it has reached the end of a file
The readLine() method returns null when it has reached the end of a file.