Interview questions
JAVA interview questions – page 33
2,804 questions. Tap “Show answer” to check yourself.
-
What are the disadvantages of using threads?
-
Which containers may have a MenuBar?
-
In struts how can i validate the values filled into the text boxes or else using DynaValidatorForm,without using javascript.Actually with javascript it is working perfect but not without javascript, and i want without javascript?
-
A] Is the response.sendRedirect ends the existing session?B] If I logged in to a site ( say a.com) & then in same browser window I type the url for another site (say b.com), then does my session gets ended on first site ( a. com ) ?
-
What is the action mapping
-
How to generate BAR & PIE Graphs using JSP code...?
-
What is the diff. b/n declaring members in and declaraing in jspinit() method ?
-
Whats meant by struts?how to use struts in IBM websphere appli. ?and how to managed with struts?(plz answer simply just an intro. don't go very deep)
-
What is the difference between a static and a non-static inner class?
-
What is jsp:usebean. What are the scope attributes & difference between these attributes
-
Why should we setContentType() in servlet ?what is the use of that method?
-
What is the differences between JSP LifeCycle and Servlet LifeCycle?
-
In which pattern does all the action classes in the struts are organized
-
What synchronization constructs does Java provide? How do they work?
-
When we design some login form how we manage security for those forms?which technology used for that purpose?
-
Why do you create interfaces, and when MUST you use one?
-
In Oracle table some fields are "null".By default it will show as "null" in JSP page text box.But i dont want that. I want as blank textbox.What i can do for that?
-
What is the diff between perform() and execute() method?
-
How do we perform redirect action without using response.sendRedirect(" ");
-
Is it possible to refer a resource in another webapplication using ServletContext.getRequestDispatcher()? if yes how it can?
-
How can we move from one JSP page to another(mean using what tecnique?)
-
How can i clear values in sessions.if i open a jsp page it is containing previous values.then i need to open a new page then only i am getting a fresh page
-
What method is invoked to cause an object to begin executing as a separatethread?
-
How are this() and super() used with constructors?
-
How the jsp changes will be effected in servlet file after converting?
-
In Internet explorer if we give a jsp , How the server will know it has to execute?
-
How are Java source code files named?
-
What is the difference betweeen JSP forward and servlet forward methods?
-
When we need of abstract class and interface?could you please tell me the realtime example?
-
Can a single JSP page be considered as a J2EE application?