Importing javax.faces.context.FacesContext for Glassfish



I am working through the examples in the book "Core JavaServer Faces"
and I'm stuck on code that requires javax.faces.context.FacesContext
to be imported, which is in listing 4-10 on page 129. On attempting to
compile the code the compiler says that it cannot find the
FacesContext symbol. When I downloaded and installed version 2 of
Glassfish I assumed the relevant code was included.

Where do I get this code and how to I ensure that it is downloaded to
the correct directory on my Ubuntu Linux system? In fact, I would also
be interested to know how I can find out what packages are installed
on my machine already?

I would be most grateful for someone to kindly give advice on this, as
I it should be relatively easy once I know how.

Christopher Sharp

.



Relevant Pages

  • Possible ARM Compiler Issue
    ... Following that listing is the assembler section ... CODE, ARM, SELECTION=1; comdat noduplicate ... ; Function compile flags: /Ogsy ...
    (microsoft.public.windowsce.platbuilder)
  • Re: Why doesnt this work
    ... processed listing if you can't see the problem. ... Copy/paste the compile command that gets executed when you run make to the ... will contain preprocessed code. ...
    (comp.os.lynx)
  • Re: Supress Option List
    ... PROBABLY means that your shop has other problems. ... that every listing is ONE page longer? ... >>IGYCRCTL lists all the options in effect for compile. ...
    (comp.lang.cobol)
  • Re: Quartus Compiler as Quailty Check for WebPack
    ... I got stuck in the weekend when my video filter would not compile on ... I know why, the X soft will synthesise, and then get stuck and tell you how ... Of course, and to 'help them along', we can meanwhile promote using Quartus as a 'second opinion', should a designer ever hit an unhelpful WebPack error message. ...
    (comp.arch.fpga)
  • Re: Supress Option List
    ... Is there a way to suppress this option listing so the resulting source listing begins with the IDENTIFICATION DIVISION? ... I assume you are referring to IBM mainframe COBOL, ... Will you always compile programs for 31-bit mode execution and shared use under IMS or CICS? ...
    (comp.lang.cobol)