![]() | Recommended: Click Here to Update All of Your PCs Outdated Drivers |
JSP Tutorials
JSP Scriptlets Tutorials
A tutorial that shows how to include scriptlets in JSP
JSP also allows you to write blocks of Java code inside the JSP. You do this by placing your Java code between <% and %> characters (just like expressions, but without the = sign at the start of the sequence.). This block of code is known as a "scriptlet". By itself, a scriptlet doesn't contribute any HTML (though it can, as we will see down below.) A scriptlet contains Java code that is executed every time the JSP is invoked ...
JSP Cookies Tutorial
A tutorial that shows how to handle cookies in JSP pages.
In this tutorial you will learn how to add cookies through jsp page and then show the value of the same cookie in another JSP page.Cookies are short pieces of data sent by web servers to the client browser. The cookies are saved to clients hard disk in the form of small text file...
JSP Sessions Tutorial
A tutorial that shows how to track the session between different JSP pages
any web application user moves from one page to another and it becomes necessary to track the user data and objects throughout the application. JSP provide an implicit object "session", which can be use to save the data specific the particular to the user.....
Reading Request Information Tutorial
A tutorial that shows how to read request information
When an HTTP client such as web browser sends a request to a wen server, along with the request it also sends some HTTP variables like Remote address, Remote host, Content type etc. In some cases these variables are useful to the programmers. So here is the code of the jsp file which prints the HTTP request information. ...
JSP Date Tutorial
A tutorial that shows how to create a simple dynamic JSP page that prints the current date and time
The heart of this example is Date() function of the java.util package which returns the current data and time. ...
USING BEANS IN JSP Tutorial
A tutorial that shows how to use beans in JSP
Java Beans are reusable components. They are used to separate Business logic from the Presentation logic. Internally, a bean is just an instance of a class. JSP’s provide three basic tags for working with Beans.....
Advanced form processing using JSP Tutorial
A tutorial that shows how to handle a user registration form using JSP
JSP form-handling implementation will demonstrate some interesting features. It will not only provide basic data validation for the registration information input by a user, but will also exhibit stateful behavior. This lets you pre-fill the form's input elements with validated data as the user loops through the submission cycle and finally enters the correct data for all of the input elements. ....
Disabling Session in JSP Tutorial
A tutorial that shows how to disable session creation in the JSP pages
Disabling the session in some pages will improve the performance of your JSP container. Every time a JSP is requested, JSP creates an HttpSession object to maintain state for each unique client. The session data is accessible in the JSP as the implicit session object. In JSPs, sessions are enabled by default. ....
JSP TAG LIBRARIES Tutorial
A tutorial that shows how to use TagLib in JSP
JSP’s offer a unique feature of “Tag Libraries”. Simply put, these are custom defined JSP tags. They are basically meant for componentizing presentation level logic. They are very similar to beans except the fact that Beans are used to separate Business logic....
Retrieving the data posted to a JSP file from HTML file Tutorial
A tutorial that shows how to retrieve the data posted from a HTML file in a JSP page
Consider an html page that prompts the user to enter his/her name, let's call it getname.htm. The target of form is "showname.jsp", which displays the name entered by the user. To retrieve the value entered by the user we uses the request.getParameter("username").....
|
Bookmark JSP Tutorials
Latest Blog Posts
Copyright 2008 Tech-FAQ. All rights reserved.



