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



Lew wrote (and why don't you attribute? It makes the flow easier to follow):
"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).

csharpdotcom wrote:
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?

I'd stick with my earlier recommendation and put them in the application on a case-by-case basis until you're more familiar with things. I have a prejudice against making libraries global to the app server.

--
Lew
.



Relevant Pages

  • Re: Application server
    ... GlassFish I don't know, JBoss, Geronimo, Jonas etc. would be reasonable. ... Most opensource java appservers has at least a web-container for web-gui, like Tomcat, and possibly ejb-container for ejb's as well. ... If your gui is Swing, you could use CORBA as middleware and utilize jdbc with some nice framework to get persistence, and you'd have a full application stack without using any application server. ... If you plan to have a web gui you'd need an application server in some form anyway, so why not run the entire application stack inside JBOSS. ...
    (comp.lang.java.programmer)
  • Re: Servlet-Container: Glassfish oder Tomcat oder...?
    ... Open Source und kostenlos kommerziell nutzbar. ... Im Glassfish ist intern eh der Tomcat "verbaut" ...
    (de.comp.lang.java)