JSP Tutorials
1. Show a calendar for user input in JSP
By: Marlene : 2023-05-11
Description: To show a calendar in a text field when the user enters it in JSP, you can use JavaScript and jQuery. Here's an example:
2. Sending Email using JSP
By: Vijay : 2023-05-05
Description: This example uses Gmail as the SMTP server, but you can use any other SMTP server by modifying the "host" and "port" properties accordingly.
3. Encrypting Passwords in Tomcat using Servlets
By: Sam Chen : 2023-05-04
Description: Encrypting passwords is an essential aspect of web application security. Here are the steps to encrypt passwords in Tomcat using Servlets:
4. Steps to get a Free SSL certificate for your Tomcat
By: Reema sen : 2023-05-04
Description: Most often web developers face the issue of getting a free SSL certificate for their websites. Though the process of generating a SSL certificate is easy, it is quite confusing if you are doing it for the first time. If you are one such developer then here is the solution for you step by step.
5. Future of JSP
By: Oliver : 2023-03-22
Description: JSP (JavaServer Pages) is still in use, although its popularity has decreased over the years with the rise of other technologies such as React, Angular, and Vue.js. However, JSP remains a viable option for developing web applications using Java.
6. JSP Tags for SQL to connect to a database
By: Manoj Kumar : 2022-10-06
Description: The JSTL, includes a set of JSP tags that allow you to access a database via SQL directly from your JSP pages. The obvious advantage of the JSP tags for SQL is simplicity. It's easy to query the database and to throw the results up on a web page. This is great for simple applications that need only to display database data on a web page and make simple database table updates—JSP tags for SQL work well. The
7. LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: `java.net.BindException: Permission denied <null>:80
By: Emiley J : 2011-04-06
Description: If you get this error: LifecycleException: service.getName(): "Catalina"; Protocol handler start failed: `java.net.BindException: Permission denied <null>:80, then here's how you can resolve this.
8. JSP CheckBox Example
By: Dorris : 2010-12-27
Description: This Tutorial illustrates an elaborate example of JSP CheckBox. To understand and grasp the example we create a CheckBox.jsp page that includes the html tag<input type="checkbox"> to create the checkboxes. The HTML page allows the user to select multiple languages using checkboxes. After submitting the button, the action is performed which displays the selected languages. The method request.getParameterValues() is used to return the value of selected checkbox. The for loop is used to execute the code repeatedly till the length of variable i is less than equal to selected position of checkbox. Finally the out.println is used to print the selected checkbox in the browser.
9. JSP Alert Example
By: Dorris : 2010-12-27
Description: JSP Alert is used to put the validation on login page for the users. The example in this Tutorial provides you to create the validation on the login form using Javascript method in JSP page.Â
10. Uploading a file to a server using JSP
By: Ramesh Kumar Swarnkar : 2010-12-15
Description: This jsp Page demonstrates uploading a file to a server.