Core Java (6529)
Advanced Java (552)
Swing (223)
EJB (402)
Java Networking (49)
Hibernate (1009)
Spring Framework (1486)
Java J2EE AllOther (116) for(i=0;i<100;i++) { int i=method();//method returns no's from 1 to 10; /* insert some stmts which can give output like no.of times numbers(1-10) returned. (for example if it returns 2 then i want output how many times 2 returned) like that i want output for no's 1 - 10 how many times each no returned. */ }
3 5468what value will be return by the read() method once it reaches the end-of-file? a. Throws EOException b. Return null c. Return -1 d. Read method return nothing, because it is void method
1 4417which of the following authentication is stronger than the others? a. Http Basic b. Http DIGEST c. Form based
1 2956which deployment descriptor element is used to configure the authentication method? a. auth-config b. login-config c. sec-config
1 4528A user of a web application sees a jsessionid argument in the URL whenever a resource is accessed. What does this mean? a. The form must have the field jsessionid b. URL rewriting is used as the session method c. Cookies are used for managing sessions
22441) which method of the RequestDispatcher cannot be called once the output is sent to the client? a. forward b. include c. both a&b 2) which interface should an object implement to get notified of changes to the list of active sessions in a web application? a. HttpSessionListener b. HttpSessionActivationListener c. HttpSessionAttributeLIstener 3) A user can select multiple locations from a list box on an HTML form, which of the following methods can be used to retrieve all the selected location? a. getParameter() b. getParameterValues() c. getParamValues() 4) which of the following methods should be used to send character text to the client? a. ServletResponse.getWriter() b. ServletResponse.getOutputStream() c. ServletResponse.getOut() 5) which implicit object is always available in a JSP page? a. exception b. session c. out 6) which inclusion mechanism doesn't include the source of the page, rather the output of the page. a. include directive b. jsp:include action c. Bothe a& b 7) which attribute of the page controls whether a page participates in session or not? a. session-allowed b. session c. isSession
1 4247WHAT IS MARKER INTERFACE,AND NO METHODS IS NOT THERE ON THAT INTERFACE THEN WHY WE USED IN JAVA?
L&T,
3 7711
Difference between session and sessionfactory in hibernate?
How is the mvc design pattern used in struts framework?
What is a dot notation?
What is generics in java interview questions?
What is the difference between swing and applet?
What is difference between hibernate and ibatis?
How to make updates to updatable result sets in jdbc?
What is command line used for?
How to use string tokenizer class.
What are disadvantages of java?
What are the struts2 configuration properties that control file uploading process?
How to fetch data from database in spring mvc using hibernate?
What is aop in spring javatpoint?
What is unit work pattern?
What is jdbc thin client in oracle?