Page 1 of 1

Integration with JSP

Posted: 05 Feb 2020, 16:48
by christina
I am currently having some troubles while configuring PrimeUI inside of jsp page. The main goal for me is to use primeui components inside of my application. These elements, from what I read, are pure html components and this is just a library, not a framework. However my application seems to don't recognize tag inside of jsp. Can somebody help me to integrate PrimeUI inside of jsp page?

Here is the error that I get:

Code: Select all

    23-Jan-2018 08:11:13.013 SEVERE [http-nio-8181-exec-2] org.apache.catalina.core.StandardWrapperValve.invoke Servlet.service() for servlet [dispatcher] in context with path [] threw exception [The absolute uri: [http://primefaces.org/ui] cannot be resolved in either web.xml or the jar files deployed with this application] with root cause
    org.apache.jasper.JasperException: The absolute uri: [http://primefaces.org/ui] cannot be resolved in either web.xml or the jar files deployed with this application
And this is the taglib that I am supposed to add inside of .jsp file:

Code: Select all

    <%@ taglib prefix="p" uri="http://primefaces.org/ui" %>
which is giving me this error.

Any help would be useful, thanks in advance.

Re: Integration with JSP

Posted: 19 Feb 2020, 21:22
by Melloware
I don't think PrimeUI is a taglib which is why JSP is giving you that error. PrimeUI is just javascript components not a JSP Taglib right?

Re: Integration with JSP

Posted: 11 Jun 2021, 11:57
by faulknernolan
I am also facing the same error as you. Thank you for your post and for your comments, I have found a solution . battledudes io