Static files could be copied here:
<maven-project-root>\src\main\webapp\resources
They are accessed on server on URL:
<server_address>/resources
Example:
<maven-project-root>\src\main\webapp\resources\x.txt
could be accessed on
http://localhost:8080/resources/x.txt
In come cases, the content changes are actualized without server restart. For example with:
mvn jetty:run
No comments:
Post a Comment