Move your cursor over the line highlighted in red, it's probably saying that
the line is unreachable due to the Exception being thrown in the previous
line. (So remove or comment out the Exception.)

On Tue, Feb 17, 2009 at 7:44 PM, Don Brumbaugh <debrumba...@verizon.net>wrote:

>  I am doing the exercises for unit 2005 -  Advanced servlet.  The NetBeans
> 2.6 sample code in the Event listener was different than the one in the
> exercise listing. I tried to convert the code but java can't seen to find
> the "getServletContext" method in ServletContextEvent class. I have checked
> the web but can't find an answer to this one. I'm sure I'm doing something
> stupid but can't see it. I have attached the screen shot of the code.
>
> Any  help would be appreciated.
>
>
> Don
>
> >
>


-- 
Mick Timony
---
Ever tried. Ever failed. No matter. Try Again. Fail again. Fail better. --
S. Beckett
---

--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to