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

Detect support for Shoutcast ICY MP3 without navigator.userAgent in Firefox? -

web - SVG not rendering properly in Firefox -

java - JavaFX 2 slider labelFormatter not being used -