You could always cast
to a ServletContext and move on from there. There might also be some seam util class that can do this shorter.
Thanks for the reply. I tried it, but I got the ClassCastException exception. Do you have any idea?
I resloved that, it should be
hanks a lot for your suggestion!