O'Reilly logo

Java EE Development with Eclipse by Deepak Vohra

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Creating a web application

We shall be creating a web application for generating JasperReports reports and deploying the web application to WebLogic Server. For the web application, we need to create the JSPs CatalogPDFReport.jsp (for the PDF report) and CatalogExcelReport.jsp (for the Excel report).

To create a JSP file, go to File | New | Other. In New, expand Web and select JSP File and click on Next, as shown in the following screenshot:

Creating a web application

Select the folder to create a JSP file as WebContent, specify a File name (CatalogPDFReport.jsp or CatalogExcelReport.jsp), and click on Next.

Select the default JSP file template and click on Finish. The JSPs ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required