<?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; &#160; &#60;servlet&#62; &#60;servlet-name&#62;Faces Servlet&#60;/servlet-name&#62; &#60;servlet-class&#62;javax.faces.webapp.FacesServlet&#60;/servlet-class&#62; &#60;load-on-startup&#62;1&#60;/load-on-startup&#62; &#60;/servlet&#62; &#60;servlet-mapping&#62; &#60;servlet-name&#62;Faces Servlet&#60;/servlet-name&#62; &#60;url-pattern&#62;*.jsf&#60;/url-pattern&#62; &#60;/servlet-mapping&#62; &#60;servlet-mapping&#62; [&#8230;]</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>&nbsp;</p>
<pre class="lang:default decode:true ">    &lt;servlet&gt;
        &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
        &lt;servlet-class&gt;javax.faces.webapp.FacesServlet&lt;/servlet-class&gt;
        &lt;load-on-startup&gt;1&lt;/load-on-startup&gt;
    &lt;/servlet&gt;
    &lt;servlet-mapping&gt;
        &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
        &lt;url-pattern&gt;*.jsf&lt;/url-pattern&gt;
    &lt;/servlet-mapping&gt;
    &lt;servlet-mapping&gt;
        &lt;servlet-name&gt;Faces Servlet&lt;/servlet-name&gt;
        &lt;url-pattern&gt;*.xhtml&lt;/url-pattern&gt;
    &lt;/servlet-mapping&gt;</pre>
<p>&nbsp;</p>
<p>web. xml e bu kod bloğunu eklerseniz. Bundan sonra     blabla.xhtml , index.xhtml , index.jsf vs.. şeklide gelen url istekleri  server&#8217;da servlet olarak derlenerek kullanıcıya ulaşacaktır. *.xhtml bu işlemi sağlamaktadır.   Bu işlem PHP&#8217;de aynı şekilde Apache server üzerinde htaccess ile de manuel olarak yapılabilir.</p>
<p>&nbsp;</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>