What exception are you getting? UnsupportedOperationException?? It
seems like your code is throwing exception when context is
initialized. Remove exception and then try. thanks,

On Oct 12, 2:22 pm, Michèle Garoche <migat...@gmail.com> wrote:
> On 12 oct, 14:40, John Joseph <jjk_s...@yahoo.com> wrote:
>
> > Hi Michele
> > Thanks for the reply
> > I have cut and pasted my "MyInit.java" the listener created here
> > """
>
> > package org.apache.taglibs.standard.examples.startup;
>
> > import javax.servlet.ServletContextEvent;
> > import javax.servlet.ServletContextListener;
>
> > public class MyInit implements ServletContextListener {
>
> >     public void contextInitialized(ServletContextEvent sce) {
> >         throw new UnsupportedOperationException("Not supported yet.");
> >     }
>
> >     public void contextDestroyed(ServletContextEvent sce) {
> >         throw new UnsupportedOperationException("Not supported yet.");
> >     }}
>
> > """"""
>
> Ah, sorry, I cannot find a solution.
>
> Servlet experts here, please help!
>
> Michèle Garoche

-- 
You received this message because you are subscribed to the Google
Groups "Java EE (J2EE) Programming with Passion!" group.
To post to this group, send email to
java-ee-j2ee-programming-with-passion@googlegroups.com
To unsubscribe from this group, send email to
java-ee-j2ee-programming-with-passion+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/java-ee-j2ee-programming-with-passion?hl=en?hl=en

Reply via email to