Hi!
The Tomcat is more usefful when this error messages occured, in Tomcat -log 
window you can see explanation of error message ,usualy it is  at the end. If 
this message didn't occure in previous exercise, when you change scope in to 
session, that not to be happen in this one, exept if you are try to execute 
Cart without reruning JSPExamples after you done this changes! Meybe you have 
to stop server before you try to run this project, that somthig can be problem, 
to me hapens that server can't run some project because it has same name like 
some previous.
 
Regards,
Biljana

--- On Fri, 3/6/09, tolacat...@gmail.com <tolacat...@gmail.com> wrote:

From: tolacat...@gmail.com <tolacat...@gmail.com>
Subject: [java ee programming] Re: LAB-4004 Session Tracking
To: "Java EE (J2EE) Programming with Passion!" 
<java-ee-j2ee-programming-with-passion@googlegroups.com>
Date: Friday, March 6, 2009, 8:26 AM

Restarting the server (I'm using Apache) it seems to solve the
problem.
Check it out.

On Feb 26, 7:06 pm, Karl <karlk...@yahoo.com> wrote:
> 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