views:

37

answers:

1

I have a spring project that works beautifully when it's located at the web root - i.e. http://myserver/index.html but it breaks terribly when it's not - i.e. http://myserver/spring-project/index.html

Is there a way to configure spring to live in a subdirectory? Going through docs has been entirely unhelpful.

+1  A: 

Spring does not require that it be in the root directory to work.

If it's not working, it's because you configured, packaged, and deployed it incorrectly.

I would recommend putting AppFuse aside and figuring out how to configure, package, and deploy an app successfully by hand a few times until you know how to do it cold. Once you have that in hand, then bring AppFuse in to lighten your load.

duffymo