Friday, June 4, 2010

1 - Setting up the Eclipse environment

Watch in HD

1 - Setting up eclipse environment from Redi Gokaj on Vimeo.



This post contains the first tutorial on the Eclipse series for Dynamic Web Applications. Setting up eclipse environment together with Apache Geronimo 2.2 is the first step. All the work is done in Ubuntu.


In order to make PrimeFaces work we need to add to web.xml these:

<servlet>
<servlet-name>Resource Servlet</servlet-name>
<servlet-class>org.primefaces.resource.ResourceServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Resource Servlet</servlet-name>
<url-pattern>/primefaces_resource/*</url-pattern>
</servlet-mapping>

And in order to use PrimeFaces in jsp tags, we need to add the following taglib:
<%@ taglib uri=”http://primefaces.prime.com.tr/ui” prefix=”p” %>

http://www.primefaces.org/downloads.html - Here you can find the JARs required to make it work

No comments:

Post a Comment