Title: Nachricht
Hi Jules,
-----Ursprüngliche Nachricht-----
 > Von: Jules Gosnell [mailto:[EMAIL PROTECTED]] 
 > G
esendet: Dienstag, 19. März 2002 01:39
 > An: [EMAIL PROTECTED]
 > Betreff: [JBoss-dev] WebIntegration TestSuite, JSPs and ClassLoaders....

 > Should a UnifiedClassLoader return all it's siblings URLs as well - they are all loaded into a flat scope and are available to each other, are they not? 
  
Hmm, ideally yes, since the siblings contain indeed classes that may possibly be needed to run the web application (not only javax.servlet.jar, could only contain EJB interface classes etc.) and hence also to compile a JSP.

If that becomes too verbose, we would need some kind of precompilation step that rules out the possible dependencies (using source/byte-code analysis? starting from the JSP-code imports and then doing loadClass("bla").getClassLoader()? Just a silly idea. Maybe tt-bytecode can help with that, I´m just about to check that in anyway) ...

Best,

CGJ

Reply via email to