Object Oriented Programming Articles

Page 553 of 589

What are JSP literals?

Samual Sam
Samual Sam
Updated on 30-Jul-2019 823 Views

The JSP expression language defines the following literals −Boolean − true and falseInteger − as in JavaFloating point − as in JavaString − with single and double quotes; " is escaped as ", ' is escaped as ', and \ is escaped as \.Null − null

Read More

What is the difference between JspWriter and PrintWriter?

Chandu yadav
Chandu yadav
Updated on 30-Jul-2019 300 Views

The JspWriter object contains most of the same methods as the java.io.PrintWriter class. However, JspWriter has some additional methods designed to deal with buffering. Unlike the PrintWriter object, JspWriter throws IOExceptions.

Read More

What is an application Object in JSP?

George John
George John
Updated on 30-Jul-2019 502 Views

The application object is direct wrapper around the ServletContext object for the generated Servlet and in reality an instance of a javax.servlet.ServletContext object.This object is a representation of the JSP page through its entire lifecycle. This object is created when the JSP page is initialized and will be removed when the JSP page is removed by the jspDestroy() method.By adding an attribute to application, you can ensure that all JSP files that make up your web application have access to it.

Read More

What is extends attribute in JSP?

Samual Sam
Samual Sam
Updated on 30-Jul-2019 896 Views

The extends attribute specifies a superclass that the generated servlet must extend.For example, the following directive directs the JSP translator to generate the servlet such that the servlet extends somePackage.SomeClass −

Read More

What is info attribute in JSP?

Samual Sam
Samual Sam
Updated on 30-Jul-2019 410 Views

The info attribute lets you provide a description of the JSP. The following is a coding example −

Read More

What is isThreadSafe attribute in JSP?

karthikeya Boyini
karthikeya Boyini
Updated on 30-Jul-2019 2K+ Views

The isThreadSafe option marks a page as being thread-safe. By default, all JSPs are considered thread-safe. If you set the isThreadSafe option to false, the JSP engine makes sure that only one thread at a time is executing your JSP.The following page directive sets the isThreadSafe option to false −

Read More

What is language attribute in JSP?

Samual Sam
Samual Sam
Updated on 30-Jul-2019 537 Views

The language attribute indicates the programming language used in scripting the JSP page.For example, because you usually use Java as the scripting language, your language option looks like this −

Read More

What is session attribute in JSP?

karthikeya Boyini
karthikeya Boyini
Updated on 30-Jul-2019 2K+ Views

The session attribute indicates whether or not the JSP page uses HTTP sessions. A value of true means that the JSP page has access to a builtin session object and a value of false means that the JSP page cannot access the builtin session object.Following directive allows the JSP page to use any of the builtin object session methods such as session.getCreationTime() or session.getLastAccessTime() −

Read More

What is isELIgnored Attribute in JSP?

Samual Sam
Samual Sam
Updated on 30-Jul-2019 7K+ Views

The isELIgnored attribute gives you the ability to disable the evaluation of Expression Language (EL) expressions which has been introduced in JSP 2.0.The default value of the attribute is true, meaning that expressions, ${...}, are evaluated as dictated by the JSP specification. If the attribute is set to false, then expressions are not evaluated but rather treated as static text.Following directive sets an expression not to be evaluated −

Read More
Showing 5521–5530 of 5,881 articles
« Prev 1 551 552 553 554 555 589 Next »
Advertisements