Where Should I Set The Frontend Files In A Java Project?
I developing a new site with a team. They sent to me a java project I must run on my local pc. The server starts on 8080 (And it must be in that port). I have to create some front-
Solution 1:
Java project structural best practices
basic-maven-project/
|-- pom.xml
|-- src
| |-- main
| | |-- java
| | |-- resources
| | `-- webapp
| | `-- WEB-INF
| `-- test
| |-- java
| `-- resources
`-- target
|-- classes
`-- test-classes
Put your html files under your WEB-INF folder. I personally put my pages inside a webcontent folder directly under WEB-INF(Mainly because of access convenience and trying to mitigate some level of risks).
Post a Comment for "Where Should I Set The Frontend Files In A Java Project?"