Home » Enterprise Java » Page 110

Enterprise Java

Conditional content in JSP page

With this example we are going to see how to create a conditional content in a JSP page. JavaServer Pages (JSP) is a server-side programming technology that enables the creation of dynamic, platform-independent method for building Web-based applications. JSP have access to the entire family of Java APIs, including the JDBC API to access enterprise databases. In short, to create ...

Read More »

Create an error page for JSP pages

This is an example of how to create an error page in JSP pages. JavaServer Pages (JSP) is a server-side programming technology that enables the creation of dynamic, platform-independent method for building Web-based applications. Creating an error page implies that you should: Create a jsp page. Inside the <%code fragment%> scriptlet define the java code to be executed. Add any comments ...

Read More »

Comments in JSP Page

In this example we shall show you how to add comments in a JSP page. JavaServer Pages (JSP) is a server-side programming technology that enables the creation of dynamic, platform-independent method for building Web-based applications. JSP have access to the entire family of Java APIs, including the JDBC API to access enterprise databases. To add comments in a JSP page one should ...

Read More »

Use Bean in JSP Page

With this example we are going to demonstrate how to use a Bean in a JSP page. JavaServer Pages (JSP) is a server-side programming technology that enables the creation of dynamic, platform-independent method for building Web-based applications. JSP have access to the entire family of Java APIs, including the JDBC API to access enterprise databases. In short, to use a ...

Read More »

Pass Parameters to other JSP Page

This is an example of how to pass parameters from one JSP page to another. JavaServer Pages (JSP) is a server-side programming technology that enables the creation of dynamic, platform-independent method for building Web-based applications. JSP have access to the entire family of Java APIs, including the JDBC API to access enterprise databases. In order to pass parameters from one JSP page ...

Read More »

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 a server-side programming technology that enables the creation of dynamic, platform-independent method for building Web-based applications. JSP have access to the entire family of Java APIs, including the JDBC API to access enterprise databases. To include a file in a JSP ...

Read More »

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) is a server-side programming technology that enables the creation of dynamic, platform-independent method for building Web-based applications. JSP have access to the entire family of Java APIs, including the JDBC API to access enterprise databases. In short, to get Request ...

Read More »

Send Redirect in JSP page

This is an example of how to send Redirect in a JSP page. JavaServer Pages (JSP) is a server-side programming technology that enables the creation of dynamic, platform-independent method for building Web-based applications. JSP have access to the entire family of Java APIs, including the JDBC API to access enterprise databases. Sending Redirect in a JSP page implies that you ...

Read More »

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 for a web page, it sends lot of information to the web server which can not be read directly because this information travel as a part of header of HTTP request. To get the Request Header in a JSP page ...

Read More »

Use Java Code in JSP page

With this example we are going to demonstrate how to use Java code in a JSP page. JavaServer Pages (JSP) is a server-side programming technology that enables the creation of dynamic, platform-independent method for building Web-based applications. JSP have access to the entire family of Java APIs, including the JDBC API to access enterprise databases. In short, to use Java ...

Read More »