java - Setting context for development server [playframework 2.1.3] -


i using java / play framework 2.1.3.

in production, build war using plugin, serve in tomcat, , tell apache redirect /myapp tomcat app.

in development, start server with:

play debug run

and root dev instance "/".

now specify context development instance. example, i'd route /myapp in routes file i'd root still "/", etc.

how do this?

in play 2.1.x can specify context in application.conf file.

application.context="/myapp" 

...or can , run local apache instance , same thing in prod :)


Comments

Popular posts from this blog

java - How to Configure JAXRS and Spring With Annotations -

visual studio - TFS will not accept changes I've made to a Java project -

php - Create image in codeigniter on the fly -