There is no limit as such. You can use one or more Page Directives in a JSP but you cannot have duplicates
Firstly, this is wrong question. The right one would be WHEN should you use PHP, not JSP? or, WHEN should you use PHP and WHEN JSP?
JSP actions are XML tags that direct the server to use existing components or control the behavior of the JSP engine. JSP Actions consist of a typical (XML-based) prefix of "jsp" followed by a colon, followed by the action name followed by one or more attribute parameters. There are six JSP Actions: < jsp : include / > < jsp : forward / > < jsp : plugin / > < jsp : usebean / > < jsp : setProperty / > < jsp : getProperty / >
no
Yes you can. Use the below line in your JSP page to accomplish it. <%@ page session="false" %>
object base: that are not use subtype or inheritence is called object base. object oriented: that use subtypes and inheritence is called object oriented e.g vb.net and java.
No. JSP and Swings are two contrasting Technologies and cannot be used in the same application. And - JDBC can be used with both types of applications that use either JSP or Swings
Sigle tire means using single technique to built entier application. For Example only using jsp for building whole web application instead of using jsp, servelt and database.
According to property laws, inheritence is considered separate property which is owned by the heir. A spouse is not entitled to inheritence.
You can use the errorPage attribute of the page directive. If this attribute is defined in a JSP page, when a run time exception is encountered, the control will be transferred to this JSP page. This error page can access details of the Exception from the request and use it to display a logical message to the user.
It is usually done for two reasons: 1. For security purposes - No one can see the code inside a servlet but much of the code inside a JSP can be found out by right clicking on the web page and doing a "View Source" 2. There are only one or two Servlets in any application but there may be dozens of JSP's. if you code the business logic in a JSP, then you would have to replicate the same in all the JSP's where you want this feature. Instead if you place this logic inside the servlet, it is easier for re-use. Instead of copy pasting the code in multiple places, you can place the contents in one single place.
The correct term is "JSP Implicit Objects" In any JSP Page, there are a bunch of implicit objects that are available for the programmer to use. It contains a variety of information that can be used to display stuff on the page. The following JSP Implicit Objects that are available for a programmer. • request • response • out • session • config • application • page • pageContext