Waaa!
Okay, everything's going fine up until here...

(2.5) Modify "Carts" part of the application to use application scope


1. Modify carts.jsp under under JSPExamples->Web Pages->sessions to use 
application scope. The code fragments that need to be changed are highlighted 
in bold and blue colored font.

<jsp:useBean id="cart" scope="application" class="sessions.DummyCart" />


I do this, run the servlet and BAM! 
HTTP Status 500 -

type Exception report

message

descriptionThe server encountered an internal error () that prevented it from 
fulfilling this request.

exception

org.apache.jasper.JasperException: java.lang.NullPointerException

root cause

java.lang.NullPointerException


Don't think this is what the lab had in mind. Anyone else have this issue?

regards,
Karl



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