0 Replies Latest reply on Jul 7, 2011 9:39 AM by prasad.deshpande

    Writing to JNDI

    prasad.deshpande

      How do I write an entry to JNDI from my ServletContextListener? I want to write an attribute to say "java:comp/env/abc/xyz" to "somevalue". I was doing this in AS5.1 using ServletContextListener, now, in AS7 the same piece of code is throwing Unsupported exception giving reason that context is read only. Is there any work-aound?