Skip to content

IBM/helloworldjsp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

helloworldjsp

helloworldjsp is a JavaServer Pages application.

Download or Run

Download helloworldjsp.war from https://github.com/IBM/helloworldjsp/releases/latest

This application requires at least the following features to be installed:

  <featureManager>
    <feature>jsp-2.3</feature>
  <featureManager>

Add the application to the dropins folder and then access at http://localhost:9080/helloworldjsp/.

Development

  1. Java >= 8 is required on your PATH; for example, IBM Semeru Runtimes
  2. Build the WAR file:
    mvn clean install
    
    1. The file should be under target/helloworldjsp.war
  3. Or build and run Liberty:
    mvn clean install liberty:dev
    
    1. Wait for the message, "server is ready to run a smarter planet". For example:
      CWWKF0011I: The helloworldjspServer server is ready to run a smarter planet. The helloworldjspServer server started in 1.023 seconds.
      
    2. Open your browser to the HTTP or HTTPS page:

Eclipse

To develop in Eclipse, either install the Liberty Tools plugin, or:

  1. Install the Eclipse flavor: Eclipse IDE for Enterprise Java and Web Developers
  2. Start Eclipse and click File } Import... } Maven } Existing Maven Projects