helloworldjsp
is a JavaServer Pages application.
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/.
- Java >= 8 is required on your
PATH
; for example, IBM Semeru Runtimes - Build the WAR file:
mvn clean install
- The file should be under
target/helloworldjsp.war
- The file should be under
- Or build and run Liberty:
mvn clean install liberty:dev
- 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.
- Open your browser to the HTTP or HTTPS page:
- Wait for the message, "server is ready to run a smarter planet". For example:
To develop in Eclipse, either install the Liberty Tools plugin, or:
- Install the Eclipse flavor: Eclipse IDE for Enterprise Java and Web Developers
- Start Eclipse and click File } Import... } Maven } Existing Maven Projects