Home » Search

About new

71-80 of 200 Refresh
Tutorial
8

Step 1: Create a Web Project

We start by creating a new NetBeans Web Application Project: Open the [ New Project] dialog box, e.g. by using File > New Project... Select Java Web > Web Application and click Next. Choose a Project ... : You may have to add Tomcat 6 as a new server by clicking the Add... button. Follow the instructions and specify
Tutorial
8

Step 2: Create a Project and a Report

To use BIRT we need to create a BIRT Report project in Eclipse: Open the [ New Project] dialog box, e.g. by using File > New > Project... Select Business Intelligence and Reporting Tools > Report ... the new project: Right click the Reports node in the [Navigator] and select New > Report. Enter
Tutorial
8

Step 3: Add a Context Listener Class

closing that EntityManagerFactory. To register a ServletContextListener: Open the [ New Listener] dialog box by right clicking the guest package node (in the [Package Explorer] window), selecting New ... All to enable the Finish button. Click Finish to create the new listener class. Now replace the content
Tutorial
8

Step 3: Add a Context Listener Class

closing that EntityManagerFactory. To register a ServletContextListener: Open the [ New File] dialog box by right clicking the guest package node (in the [Projects] window) and selecting New ... the new listener class. Now replace the content of the new source file with the following code: package
Tutorial
8

Step 5: Add a JSP Page

In this step we will add the JSP that generates the guestbook page output: Open the [ New JSP File] dialog box by right clicking the WebContent node (in the [Package Explorer] window), selecting New ... that case sensitive class name. Click Finish to create the new JSP file. Now replace the content of the new
Tutorial
8

Step 5: Add a JSP Page

In this step we will add the JSP that generates the guestbook page output: Open the [ New JSP File] dialog box by right clicking the Web Pages node (in the [Projects] window) and selecting New > JSP ... to create the new JSP file. Now replace the content of the new jsp file with the following content
Tutorial
8

Step 5: Add a JSP Page

In this step we will add the JSP that generates the guestbook page output: Open the [ New JSP File] dialog box by right clicking the Web Pages node (in the [Projects] window) and selecting New > JSP ... to create the new JSP file. Now replace the content of the new jsp file with the following content
Tutorial
8

Step 5: Add a JSP Page

In this step we will add the JSP that generates the guestbook page output: Open the [ New JSP File] dialog box by right clicking the WebContent node (in the [Package Explorer] window), selecting  New ... that case sensitive class name. Click Finish to create the new JSP file. Now replace the content of the new
Tutorial
8

Step 5: Add a JSP Page

In this step we will add the JSP that generates the guestbook HTML output: Open the [ New JSP File ... ) and selecting New > JSP... Enter guest as the jsp file name - use exactly that case sensitive class ... Finish to create the new JSP file. Now replace the content of the new jsp file with the following
Tutorial
8

Step 5: Add a JSP Page

In this step we will add the JSP that generates the guestbook HTML output: Open the [ New JSP File ... ), selecting  New > Other... > Web > JSP File and clicking Next. The parent folder should be WEB-INF ... that case sensitive class name. Click Finish to create the new JSP file. Now replace the content