Home     Blog

JSP Tutorials

JSP stands for Java Server Pages. JSP enables web developers to quickly and easily embed Java code into HTML or XML pages to create dynamic web pages. For more information on JSP, visit JavaServer Pages Technology.

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 tutorials JSP Tutorials

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 th 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”)…..

VN:F [1.9.17_1161]
Rating: 0.0/10 (0 votes cast)
Follow Will.Spencer on

Leave a Reply

Related Posts

  • Ajax Tutorials

    Form Submit Tutorial A tutorial that shows how to submit form with Ajax in just a few easy steps File Uploader Tutorial A tutorial that shows how to develop a file upload script with Ajax & JS faces in just a few easy steps A fresh approach to implement an AJAX-powered component that will not [...]...


  • JavaScript Tutorials

    JavaScript Tutorials Learn the basics of Javascript with TechFaq! Here you will find the most comprehensive list of JavaScript tutorials and resources along with questions and answers. Date Difference Tutorial This tutorial will show you how to calculate the difference between 2 dates in Javascript. Here, you will also learn how to use dates and [...]...


  • ASP Tutorials

    Ad Manangement Tutorial A tutorial that shows how to create a simple Ad rotation system based on ASP-SQL Server combination The system is intended to provide easy random rotation and counting of Ad showing and clicks. All Ad info (except images, which are asumed to be in current directory) is stored in SQL server table [...]...


  • SQL Tutorials

    SQL Tutorials Our SQL Tutorials section will guide you on how to use SQL to access database systems. SQL is an acronym for Structured Query Language, which is a language used to access or manipulate a database or database systems. Introduction to SQL This is a an introductory guide to SQL. This will tell you [...]...


  • Microsoft Word Tutorials

    Formatting and Layout Tutorial A tutorial that shows how to do text formatting and layout. Formatting is easy to apply in moderation but can quickly become confusing, especially when Word starts switching the language on you without warning. Automatic numbered lists can be a great time-saver when they work. Styles can save you even more [...]...