how to jsf tags are working in OSGI freamework -
i'm new in osgi framework(equinox). use eclipse kepler version. succesfully deployed myfaces , dependency bundles equinox. myfaces bundle "myfaces-bundle-2.1.18-snapshot.jar". dependency bundle has web.xml file, manifest.mf file , index.xhtml. when try run it, can't see jsf tags "h:" or "f:". pure html tags working properly. missing?
here web.xml file;
. . . . <servlet> <servlet-name>faces servlet</servlet-name> <servlet-class>javax.faces.webapp.facesservlet</servlet-class> </servlet> <servlet-mapping> <servlet-name>faces servlet</servlet-name> <url-pattern>/faces/*</url-pattern> </servlet-mapping> <welcome-file-list> <welcome-file>index.xhtml</welcome-file> </welcome-file-list> <context-param> <param-name>javax.faces.project_stage</param-name> <param-value>development</param-value> </context-param> <listener> <listener-class>org.apache.myfaces.webapp.startupservletcontextlistener</listener-class> </listener> </web-app>
here manifest.mf file;
. . . . bundle-classpath: web-inf/classes/ import-package: javax.el, javax.faces.component;version="2.1.18.snapshot", javax.faces.component.behavior;version="2.1.18.snapshot", javax.faces.component.html;version="2.1.18.snapshot", javax.faces.component.visit;version="2.1.18.snapshot", javax.servlet, javax.servlet.http, javax.servlet.jsp, javax.servlet.jsp.el, javax.servlet.jsp.jstl.sql;version="2.1.18.snapshot", javax.servlet.jsp.tagext, org.apache.commons.beanutils;version="2.1.18.snapshot", org.apache.commons.codec;version="2.1.18.snapshot", org.apache.commons.collections;version="2.1.18.snapshot", org.apache.commons.digester;version="2.1.18.snapshot", org.apache.myfaces.config.element;version="2.1.18.snapshot", org.apache.myfaces.config.impl.digester.elements;version="2.1.18.snapshot", org.apache.myfaces.shared.taglib;version="2.1.18.snapshot", org.apache.myfaces.shared.taglib.core;version="2.1.18.snapshot", org.apache.myfaces.taglib.core;version="2.1.18.snapshot", org.apache.myfaces.taglib.html;version="2.1.18.snapshot" web-contextpath: /testweb
and here index.xhtml file;
. . . <html lang="en" xmlns="http://www.w3.org/1999/xhtml" xmlns:ui="http://java.sun.com/jsf/facelets" xmlns:f="http://java.sun.com/jsf/core" xmlns:h="http://java.sun.com/jsf/html" xmlns:p="http://primefaces.prime.com.tr/ui"> <h:head> test jsf <h:outputtext value="test!!!" /> </h:head> <h:body> <h:outputtext value="hello world!" /> </h:body> </html>
i want see "hello world!" , "test!!!" outputs. see "test jsf". tags not working.