Re: Importing javax.faces.context.FacesContext for Glassfish



Hi Lew,

OK, many thanks, this is saving me a lot of unnecessary time. What
I've
done is to copy the two jar files into <context-root>/WEB-INF/lib,
then
in <context-root> I type the following to compile:

javac -d -classpath web/WEB-INF/lib/* web/WEB-INF/classes \
src/java/com/corejsf/ChangeLocaleBean.java

but the compiler complains with the message:

javac: invalid flag: web/WEB-INF/lib/myfaces-api-1.1.5.jar

followed by some blurb on using help.

I'm in the process of consulting Google to try and find out what on
earth that means. If you or someone else could kindly enlighten me
in the mean time, I would be very grateful.

Christopher

.