Hi,

How do I access the avalon context from a mailet/matcher?

Basicaly I need to read a file from the application context "conf"
directory.

I want to do something like:

            File f = null;
            try {
                f = AvalonContextUtilities.getFile(context, filename);
            } catch (Exception e) {
                getLogger().fatalError(e.getMessage(), e);
                throw e;
            }

but i need the context.

 

Thanks

Hans

Reply via email to