Primefaces 2.2 with JSP

UI Components for JSF
Post Reply
k0v4k
Posts: 5
Joined: 26 May 2010, 11:18

30 Mar 2011, 12:22

Hi, i need to configure primefaces 2.2 to work with JSPs pages, but i cant do it.

How i can configure the web project to work with jsps and primefaces? I know that work with xhml is better but i need to use JSP.

Thank you!!

Bye!!

primeuser2412
Posts: 23
Joined: 18 Mar 2011, 03:49

30 Mar 2011, 13:56

You mean something like this for JSP:

Code: Select all

<%@ page pageEncoding="UTF-8">
<%@ taglib uri="http://primefaces.prime.com.tr/ui" prefix="p" %>
Unrelated: You probably already know that eventually JSP will be phased out - probably in JSF 3. I would recommend looking into Facelets (a.k.a XHTML) now to save you time later when you might need to convert your JSP project(s) to Facelets... :D

User avatar
bumble.bee
Posts: 723
Joined: 29 Sep 2010, 21:39
Location: United States

31 Mar 2011, 15:42

PrimeFaces 2.x isn't intended to work with JSP and if you get some things to work it is just by accident.

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 17 guests