What is the difference between an Applet and an Application?
The differences between an applet and an application are as follows: 1. Applets can be embedded in HTML pages and downloaded over the Internet whereas Applications... Read more »
The differences between an applet and an application are as follows: 1. Applets can be embedded in HTML pages and downloaded over the Internet whereas Applications... Read more »
The window, Frame and Dialog classes use a border layout as their default layout Read more »
The preferred size of a component is the minimum component size that will allow the component to display normally. Read more »
The Panel and Applet classes use the FlowLayout as their default layout. Read more »
Daemon threads are service providers for other threads running in the same process as the daemon thread. When the only remaining threads in a process are daemon... Read more »
Green threads is thread mechanism implemented in JVM itself. It is blind and can run on any OS, so actually all threads are run in one native thread and scheduling... Read more »
Since Thread is also an Object, it will only garbage collected when the reference count is zero. You may think it is quite non-sense. the thread is useless when... Read more »
Both the tag includes the information from one page in another. The differences are as follows: : This is like a function call from one jsp to another jsp. It is... Read more »
The element forwards the request object containing the client request information from one JSP file to another file. The target file can be an HTML file, another... Read more »
Expression tag is used to insert Java values directly into the output. Syntax for the Expression tag is: <%= expression %> An expression tag contains a scripting... Read more »
There are two types of comments are allowed in the JSP. These are hidden and output comments. A hidden comments does not appear in the generated output in the html,... Read more »
JSP Scriptlet is jsp tag which is used to enclose java code in the JSP pages. Scriptlets begins with <% tag and ends with %> tag. Java code written inside... Read more »
Life-cycle methods of the JSP are: a) jspInit(): The container calls the jspInit() to initialize the servlet instance. It is called before any other method, and... Read more »
A comments 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... Read more »
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... Read more »
A declaration declares one or more variables or methods for use later in the JSP source file. A declaration must contain at least one complete declarative statement.... Read more »
Although ASP pages are cached, they are always interpreted. By contrast, JSP pages are compiled into Java servlets and loaded into memory the first time they are... Read more »
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... Read more »
The different scope values for are 1. page 2. request 3.session 4.application Read more »
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... Read more »