On Thursday 02 April 2009 16:33, Stuart Owen wrote: > Hi Niall, > You could also try getServletConfig().getServletContext() but I think > you will get the same error. To state the obvious, the problem is that > you are trying to call getServletContext() from within a static block.
Hi, Got it - as you say I was trying to call the servletContext inside a static block. Whats the emoticon for embarrassed again? Niall. ------------------------------------------------------------------------------ _______________________________________________ taverna-hackers mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/taverna-hackers Developers Guide: http://www.mygrid.org.uk/usermanual1.7/dev_guide.html FAQ: http://www.mygrid.org.uk/wiki/Mygrid/TavernaFaq
