Tutorial Archive: C  C++  Java  Certification  Interview  Javascript  JSF  JSP  Java Beans  J2ME  JDBC  PHP  VB.net  EJB  Struts  Hibernate
Google Web java-samples.com
Subscribe in a reader
Forum
Submit Tutorial
Latest Tutorials


1. Question: Difference between forward and sendRedirect in JSP?
By: Guru Singh : 2008-08-24
Description: When you invoke a forward request, the request is sent to another resource on the server, without the client being informed that a different resource is going to process the request. This process occurs completely with in the web container. When a sendRedirtect method is invoked, it causes the web container to return to the browser indicating that a new URL should be requested. Because the browser issues a completely new request any object that are stored as request attributes before the redirect occurs will be lost. This extra round trip a redirect is slower than forward.
Read the full article
 
2. Question: What is an Expression tag in JSP?
By: Guru Singh : 2008-08-24
Description: An expression tag contains a scripting language expression that is evaluated, converted to a String, and inserted where the expression appears in the JSP file. Because the value of an expression is converted to a String, you can use an expression within text in a JSP file.
Read the full article
 
3. Question: What is a Hidden Comment in JSP?
By: Guru Singh : 2008-08-24
Description: A comment that documents the JSP page but is not sent to the client. The JSP engine ignores a hidden comment, and does not process any code within hidden comment tags. A hidden comment is not sent to the client, either in the displayed JSP page or the HTML page source. The hidden comment is useful when you want to hide or "comment out" part of your JSP page.
Read the full article
 
4. Question: What is an output comment in JSP?
By: Guru Singh : 2008-08-24
Description: A comment that is sent to the client in the viewable page source.The JSP engine handles an output comment as uninterpreted HTML text, returning the comment in the HTML output sent to the client. You can see the comment by viewing the page source from your Web browser.
Read the full article
 
5. Question: Explain the life-cycle methods in JSP?
By: Guru Singh : 2008-08-24
Description: The generated servlet class for a JSP page implements the HttpJspPage interface of the javax.servlet.jsp package. The HttpJspPage interface extends the JspPage interface which inturn extends the Servlet interface of the javax.servlet package. The generated servlet class thus implements all the methods of these three interfaces. The JspPage interface declares only two mehtods - jspInit() and jspDestroy() that must be implemented by all JSP pages regardless of the client-server protocol. However the JSP specification has provided the HttpJspPage interfaec specifically for the JSp pages serving HTTP requests. This interface declares one method _jspService().
Read the full article
 
6. Question: What is the directory structure of a web application?
By: Guru Singh : 2008-08-24
Description: The directory structure of a web application consists of two parts.
Read the full article
 
7. Question: How is the MVC design pattern used in Struts framework?
By: Guru Singh : 2008-08-24
Description: In the MVC design pattern, a central Controller mediates application flow. The Controller delegates requests to an appropriate handler. The handlers are tied to a Model, and each handler acts as an adapter between the request and the Model. The Model represents, or encapsulates, an application’s business logic or state. Control is usually then forwarded back through the Controller to the appropriate View.
Read the full article
 
8. Question: How would you go about analyzing performance of an application?
By: Praveen : 2008-08-24
Description: When performance testing a Web application, several requirements must be
Read the full article
 
9. Getting started with Interview
By: Vilyams : 2008-08-14
Description: The mere fact that you are reading this article is a proof that you are looking for your first Job or a change of Job. You have probably read many other articles about preparing for and facing an interview and you are already overwhelmed with a wealth of information. Hence I will stick to the point and keep this short.
Read the full article
 
10. Types of Interviews
By: Vilyams : 2008-08-14
Description: A common type of job interview in the modern workplace is the behavioral interview or behavioral event interview. In this sort of interview, the interviewers tend to ask questions about general situations, with the candidate asked to describe how they handled a specific problem. Typical behavioural interview questions:
Read the full article
 

     Next

   

Google
 
Web java-samples.com

C Tutorials C++ Tutorials Java Tutorials Certification Interview JavaScript Tutorials J2ME Tutorials Java beans Tutorials JSP Tutorials EJB Tutorials JDBC Tutorials PHP Tutorials VB.net Tutorials Struts Tutorials Hibernate Tutorials Latest Tutorials   Forum

[ Copyright © 2006 Java-Samples.com ]
Send mail to webmaster@java-samples.com  with questions or comments about this web site.