JSP Tutorials

Lets look at some of the JSP and Servlet pdf guides. There are  sections here which cover about the syntax and semantics of JSP and Servlet. The pdf guides for the below topics are mentioned below. Static Analysis for Java Servlets and JSP JAVASERVER PAGES™ (JSP) SYNTAX Servlets and JSP: A Review of the Basics The […]

Before we move ahead, let me clarify three essential terms: Internationalization (i18n): Means of internationalization enabling a website to give different versions of content translated into the guest’s language. Limitation (l10n): Means of limitation, adding resources to a site to adjust it to a specific topographical or social locale for instance Hindi interpretation to a […]

It is constantly difficult to test/debugging a JSP and Servlets. JSP and Servlets have a trend to include a great deal of customer/server cooperation, making mistakes likely yet hard to duplicate. Here are a couple of insights and proposals that may support you in your debugging. Using System.out.println(): System.out.println() is not difficult to use as […]

Java Server Pages and servlets make a few systems accessible to Web experts to secure applications. Assets are ensured definitively by identifying them in the application arrangement descriptor and allocating a role to them. A few points of authentication are available, ranging from fundamental authentication using identifiers and passwords to sophisticated authentication using declarations. Role […]

Sessions are used in JSP to retain a user with his credentials . If you are programming the site, it is very helpful to be able to associate some data with each visitor.  For this purpose, A session is an object associated with a visitor.  Data can be put in the session and retrieved from it, […]

What is there in a JSP tag ? This article gives you an overview of JSP tags. Another important syntax element of JSP are tags.  JSP tags do not use <%, but just the < character.  A JSP tag is somewhat like an HTML tag.  JSP tags can have a “start tag”, a “tag body” and […]

Let’s explore JSP declarations here.The JSP you write turns into a class definition.  All the scriptlets you write are placed inside a single method of this class. You can also add variable and method declarations to this class.  You can then use these variables and methods from your scriptlets and expressions. To add a declaration, […]

Let’s explore JSP Directives here.We have been fully qualifying the java.util.Date in the examples in the previous sections.  Perhaps you wondered why we don’t just import java.util.*; It is possible to use “import” statements in JSPs, but the syntax is a little different from normal Java.  Try the following example: <%@ page import="java.util.*" %> <HTML> […]

In this section we look towards working with scriptlets and HTML to explore the potential of JSP.We have already seen how to use the “out” variable to generate HTML output from within a scriptlet.  For more complicated HTML, using the out variable all the time loses some of the advantages of JSP programming. It is […]

Let’s see how scriptlet play a vital role in JSP pages.We have already seen how to embed Java expressions in JSP pages by putting them between the <%= and %> character sequences.But it is difficult to do much programming just by putting Java expressions inside HTML. JSP also allows you to write blocks of Java […]