On Fri, Apr 23, 2004 at 08:21:54PM -0400, Adrian Klingel wrote:
: Just to restate the issue, my servlet hangs because it needs to obtain an
: XML Schema from localhost:8080.  But it can't get it, because Tomcat won't
: finish loading until the servlet is finished.  But the servlet won't finish
: until Tomcat finishes loading.  Etcetera, etcetera ad infinitum.

I missed the full details of your original post, but is there any reason
the servlet *must* retrieve the schema through an HTTP request?  What
about making the file available off the classpath, and using
getResourceAsStream()?  (Google for examples, there are plenty.)

If it's an XML doc that's calling the schema, you could use a custom
EntityResolver to do the classpath-loading bit I described above.

-QM

-- 

software  -- http://www.brandxdev.net
tech news -- http://www.RoarNetworX.com


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

Reply via email to