I've split an app into two: one contains many GB of
static images (rarely changes), the other all the
session stuff (this one is updated frequently).

No matter where it is deployed, the real app can
refer to images e.g. src="/maps/....." but I want
the real app to check that the data app is responding
whenever it restarts.

I can do this if I know the full URL, but is there any
way I can check with just the server-relative URL?

Currently I do something like

  (new java.net.URL(...)).openConnection()

(hmm, sorry but I guess this isn't Tomcat-specific...)

Paul Singleton


--
No virus found in this outgoing message.
Checked by AVG Anti-Virus.
Version: 7.0.344 / Virus Database: 267.11.10/120 - Release Date: 5/Oct/2005


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to