Search Results for: java 8
-
jsp
Include file in JSP page
In this example we shall show you how to include a file in a JSP page. JavaServer Pages (JSP) is…
Read More » -
jsp
Get Request Parameter in JSP page
With this example we are going to demonstrate how to get Request Parameters in a JSP page. JavaServer Pages (JSP)…
Read More » -
jsp
Get Request Header in JSP page
In this example we shall show you how to get the Request Header in a JSP page. When a browser requests…
Read More » -
jstl
Set scoped variables with JSTL in JSP Page
In this example we shall show you how to set scoped variables in a JSP Page, using JSTL. The JavaServer…
Read More » -
jstl
Get Request Parameter with JSTL in JSP Page
With this example we are going to demonstrate how to get Request Parameter with JSTL in a JSP page. JavaServer…
Read More » -
jstl
Conditional content with JSTL in JSP page
This is an example of how to create conditional content in a JSP page using JSTL. JavaServer Pages Standard Tag…
Read More » -
jstl
Use JSTL in JSP Page
In this example we shall show you how to use JSTL in a JSP page. The JavaServer Pages Standard Tag…
Read More » -
Mail
Sending e-mails with Spring
We will create a simple Spring service that will be used for sending mail. One method will create a SimpleMailMessage…
Read More » -
Beans
Declare bean in Spring container
With this example we are going to demonstrate how to declare a Bean in the Spring container. A Spring bean…
Read More » -
Beans
Use preferences in Spring
Spring provides PreferencesPlaceholderConfigurer that can be used to load preferences. <bean id="preferencePlaceHolder" class="org.springframework.beans.factory.config.PreferencesPlaceholderConfigurer"> <property name="userTreePath" value="com.myapp.preference.staticPreferenceLoader" /> </bean> <bean id="myEntity"…
Read More »