Java web application Development tutorial

Useful code solution for Java Web developers

While developing a web application using JSP, Servlet, Spring, and hibernate or in Java. there are lots of utilities and methods that are required frequently, In this page, I will cover some of them and will keep updating to cover up as much as solutions. Get path of your root folder request.getContextPath() It will return …

Useful code solution for Java Web developers Read More »

How to change default index.jsp page in java web project

When we create a Java web project with maven or a dynamic web application in Java using advanced IDE like Eclipse, Netbeans, etc. By default, it creates a file “index.jsp” and when we run the project “index.jsp” is launched as the welcome page of the project. can by change the default index.jps? Yes, we can …

How to change default index.jsp page in java web project Read More »

Email sending web application using java || JavaMail API

How to send email in java using JSP and servlet. How to use the JavaMail API and SMTP. Java code to send email using Java mail API. During the Java web development sometimes we need to send mail to the user to verify some OPT or reset the password. To handle this kind of situation java …

Email sending web application using java || JavaMail API Read More »