Re: Importing javax.faces.context.FacesContext for Glassfish
- From: csharpdotcom <cmsharp01@xxxxxxx>
- Date: Tue, 30 Oct 2007 04:34:01 -0700
Many thanks for the helpful replies.
<snip>
http://java.sun.com/javaee/javaserverfaces/
I've just looked around there, however, before I download anything I
want to be absolutely sure that I'm not going to mess up my system,
as otherwise it's working. The problem is that I'm effectively on
my own in a university in France, and there seems to be nobody around
here to help if I get stuck or mess things up.
<snip>
"Correct directory" means whatever directory your web app uses for its
libraries, in other words, "<context-root>/WEB-INF/lib/" within your app
server's application deployment directory (e.g., $CATALINA_HOME/webapps/ for
Tomcat).
NetBeans, installed here in /usr/lib/netbeans/ gives me:
/usr/lib/netbeans/enterprise4/modules/ext/jsf-1_2/jsf-api.jar
/usr/lib/netbeans/enterprise4/modules/ext/jsf-1_2/jsf-impl.jar
and a couple of related files. Glassfish, installed here in
/opt/jeesdk/jeesdk/, has
/opt/jeesdk/jeesdk/lib/jsf-impl.jar
The Apache MyFaces project has an implementation you can download. Their JARs
are myfaces-api-1.1.5.jar and myfaces-impl-1.1.5.jar. (Version numbers vary.)
<snip>
I've looked around in my system and found the file /glassfish/lib/jsf-
impl.jar,
but in the package javax.faces there are only a few text files with
the names
Messages*.properties for various language version, English, German
etc.
However, in another path in that file is the folder /com/sun/faces/
context
containing various class files, including FacesContextFactory.class
and FacesContextFactoryImpl.class, but nothing like exactly what I
want.
There are various jar files in /glassfish/lib/install/applications/
admingui/adminGUI_war/WEB-INF/lib but it seems that none of them are
relevant to the problem, so indeed it looks as if I don't have the
relevant jar files installed.
Assuming that I can download the required jar files, should I put them
under Glassfish, and if so, how to I let Glassfish know where they
are?
Many thanks,
Christopher Sharp
.
- Follow-Ups:
- References:
- Importing javax.faces.context.FacesContext for Glassfish
- From: csharpdotcom
- Re: Importing javax.faces.context.FacesContext for Glassfish
- From: Hunter Gratzner
- Re: Importing javax.faces.context.FacesContext for Glassfish
- From: Lew
- Importing javax.faces.context.FacesContext for Glassfish
- Prev by Date: Re: JUnit Newbie trouble
- Next by Date: Re: Importing javax.faces.context.FacesContext for Glassfish
- Previous by thread: Re: Importing javax.faces.context.FacesContext for Glassfish
- Next by thread: Re: Importing javax.faces.context.FacesContext for Glassfish
- Index(es):
Relevant Pages
|
|