[jboss-as7-dev] Loading resources through JBWeb context API

Kurt Stam kurt.stam at gmail.com
Wed Nov 2 17:58:32 EDT 2011


This is juddiv2 reading its config property file. I'd rather not have to change code in juddiv2 for this. 

-Kurt

On Nov 2, 2011, at 15:44, Remy Maucherat <rmaucher at redhat.com> wrote:

> On Wed, 2011-11-02 at 13:12 -0500, Jason T. Greene wrote:
>> Oh duh I see what you mean. You want to be able to load resources 
>> *without* changing that call.
>> 
>> In that case you can just plug in your own DirContext impl.
> 
> Ah ok, so if it's only about the resources from the servlet context and
> not the whole servlet context impl, then it must still be about the
> supposed need to have real static files for the juddi webapp.
> 
> Indeed, static resources are served from DirContext which can come from
> files or VFS. It is also possible to take advantage of the overlays from
> Servlet 3 (which are exposed).
> 
> But rather than do one of these, would it be possible to be reasonable
> and drop that webapp ? ;)
> 
> -- 
> Remy Maucherat <rmaucher at redhat.com>
> Red Hat Inc
> 
> _______________________________________________
> jboss-as7-dev mailing list
> jboss-as7-dev at lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-as7-dev



More information about the jboss-as7-dev mailing list