<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" > <channel> <title>web.xml | Muharrem Tığdemir</title> <atom:link href="/tag/web-xml/feed/" rel="self" type="application/rss+xml" /> <link></link> <description>Carpe Diem!!</description> <lastBuildDate>Tue, 17 Sep 2013 18:55:06 +0000</lastBuildDate> <language>en-US</language> <sy:updatePeriod> hourly </sy:updatePeriod> <sy:updateFrequency> 1 </sy:updateFrequency> <generator>https://wordpress.org/?v=6.2.2</generator> <site xmlns="com-wordpress:feed-additions:1">120145533</site> <item> <title>JSF web.xml .xhtml Compile Failed</title> <link>/jsf-web-xml-xhtml-compile/</link> <comments>/jsf-web-xml-xhtml-compile/#respond</comments> <dc:creator><![CDATA[Muharrem Tığdemir]]></dc:creator> <pubDate>Tue, 17 Sep 2013 13:57:12 +0000</pubDate> <category><![CDATA[Hatalar]]></category> <category><![CDATA[JSF]]></category> <category><![CDATA[jsf]]></category> <category><![CDATA[web.xml]]></category> <guid isPermaLink="false">https://muharremtigdemir.com/wordpress/?p=45</guid> <description><![CDATA[<p>Merhaba Arkadaşlar , Netbeans ile Maven projesi açtığımızda , web.xml dosyası oluşturmuyor . Bu sebple xhtml içinde yazdığımız managed bean kod blokları html tagları olarak kalıyor ve derlenmiyor. Bunun için web.xml dosyamıza routing yaparak bu dosyalara servlete yönlendirmeliyiz. Peki bu nasıl olacak;   <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.jsf</url-pattern> </servlet-mapping> <servlet-mapping> […]</p> <p>The post <a href="/jsf-web-xml-xhtml-compile/">JSF web.xml .xhtml Compile Failed</a> first appeared on <a href="">Muharrem Tığdemir</a>.</p>]]></description> <content:encoded><![CDATA[<p>Merhaba Arkadaşlar ,</p> <p>Netbeans ile Maven projesi açtığımızda , web.xml dosyası oluşturmuyor . Bu sebple xhtml içinde yazdığımız managed bean kod blokları html tagları olarak kalıyor ve derlenmiyor. Bunun için web.xml dosyamıza routing yaparak bu dosyalara servlete yönlendirmeliyiz. Peki bu nasıl olacak;</p> <p> </p> <pre class="lang:default decode:true "> <servlet> <servlet-name>Faces Servlet</servlet-name> <servlet-class>javax.faces.webapp.FacesServlet</servlet-class> <load-on-startup>1</load-on-startup> </servlet> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.jsf</url-pattern> </servlet-mapping> <servlet-mapping> <servlet-name>Faces Servlet</servlet-name> <url-pattern>*.xhtml</url-pattern> </servlet-mapping></pre> <p> </p> <p>web. xml e bu kod bloğunu eklerseniz. Bundan sonra blabla.xhtml , index.xhtml , index.jsf vs.. şeklide gelen url istekleri server’da servlet olarak derlenerek kullanıcıya ulaşacaktır. *.xhtml bu işlemi sağlamaktadır. Bu işlem PHP’de aynı şekilde Apache server üzerinde htaccess ile de manuel olarak yapılabilir.</p> <p> </p> <p>Muharrem Tığdemir</p><p>The post <a href="/jsf-web-xml-xhtml-compile/">JSF web.xml .xhtml Compile Failed</a> first appeared on <a href="">Muharrem Tığdemir</a>.</p>]]></content:encoded> <wfw:commentRss>/jsf-web-xml-xhtml-compile/feed/</wfw:commentRss> <slash:comments>0</slash:comments> <post-id xmlns="com-wordpress:feed-additions:1">45</post-id> </item> </channel> </rss>