title: Spring application : obtaining server path, within a Quartz job
body: <p>I'm working with JBoss 4 &amp; Spring. In a web application, I use Quartz scheduler to perform some scheduled task. In a Quartz job, I would like to get the server path Is it possible ? If yes, how ?</p>
  
  <p>PS: Some context
  I need the server path in Quartz job, because that job would send emails. The emails contains links to the website my application serves, and to build proper URLs, I need a server path. Hardcoding the server path is a no-no, as the application is deployed on various servers.</p>