Skip to content

vickyjohn18/sample_java_app

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

jsp-example

Sample JSP web app.

Uses Maven

Git steps

Build

  • mvn clean compile package
  • A WAR file is generated inside the target folder with the name jsp-example-1.0.war

Deploy

The WAR file can be deployed in an application server or in a web server like Apache Tomcat.

cp target/jsp-example-1.0.war /opt/apache-tomcat-7.0.53/webapps/
cd /opt/apache-tomcat-7.0.53
bin/startup.sh
tail -f logs/localhost.2018-06-12.log
# access http://localhost:8081/
# access http://localhost:8081/jsp-example-1.0/?user=aaa

Project structure

.
|-- README.md
|-- pom.xml
|-- src
|   `-- main
|       |-- java
|       |   `-- org
|       |       `-- allowed
|       |           `-- bitarus
|       |               |-- Handler.java
|       |               |-- TestBean.java
|       `-- webapp
|           |-- WEB-INF
|           |   |-- web.xml
|           |-- index.jsp

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published