<?xml version="1.0" encoding="utf-8"?><!-- generator="wordpress/2.0.4" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: How to Develop JSF Applications in NetBeans</title>
	<link>http://coding.moris.org/archives/2005/01/21/how-to-set-up-netbeans-40-for-java-server-faces-development/</link>
	<description>Java programming tips and advice, and other topics</description>
	<pubDate>Wed, 19 Nov 2008 11:59:10 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.0.4</generator>

	<item>
		<title>by: Eddy</title>
		<link>http://coding.moris.org/archives/2005/01/21/how-to-set-up-netbeans-40-for-java-server-faces-development/#comment-33250</link>
		<pubDate>Wed, 17 Jan 2007 11:37:10 +0000</pubDate>
		<guid>http://coding.moris.org/archives/2005/01/21/how-to-set-up-netbeans-40-for-java-server-faces-development/#comment-33250</guid>
					<description>You are most welcome.</description>
		<content:encoded><![CDATA[<p>You are most welcome.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: leader9121986</title>
		<link>http://coding.moris.org/archives/2005/01/21/how-to-set-up-netbeans-40-for-java-server-faces-development/#comment-28792</link>
		<pubDate>Fri, 22 Dec 2006 02:27:37 +0000</pubDate>
		<guid>http://coding.moris.org/archives/2005/01/21/how-to-set-up-netbeans-40-for-java-server-faces-development/#comment-28792</guid>
					<description>thank you very much !
i am a new programmer to jsf 
this is extremely helpful for me 
finally , thank you one more time !</description>
		<content:encoded><![CDATA[<p>thank you very much !<br />
i am a new programmer to jsf<br />
this is extremely helpful for me<br />
finally , thank you one more time !
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: MyFaces + Netbeans 5.0 &#124; Blind Spots</title>
		<link>http://coding.moris.org/archives/2005/01/21/how-to-set-up-netbeans-40-for-java-server-faces-development/#comment-10522</link>
		<pubDate>Wed, 30 Aug 2006 01:50:28 +0000</pubDate>
		<guid>http://coding.moris.org/archives/2005/01/21/how-to-set-up-netbeans-40-for-java-server-faces-development/#comment-10522</guid>
					<description>[...] Unduh (halah!) atau download Netbeans IDE di sini, saat ini saya menggunakan Netbeans 5.0 tetapi saya pernah mencoba JSF/MyFaces dengan menggunakan Netbeans 4.1 dan berhasil. [...]</description>
		<content:encoded><![CDATA[<p>[&#8230;] Unduh (halah!) atau download Netbeans IDE di sini, saat ini saya menggunakan Netbeans 5.0 tetapi saya pernah mencoba JSF/MyFaces dengan menggunakan Netbeans 4.1 dan berhasil. [&#8230;]
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Eddy</title>
		<link>http://coding.moris.org/archives/2005/01/21/how-to-set-up-netbeans-40-for-java-server-faces-development/#comment-8642</link>
		<pubDate>Mon, 17 Jul 2006 15:19:39 +0000</pubDate>
		<guid>http://coding.moris.org/archives/2005/01/21/how-to-set-up-netbeans-40-for-java-server-faces-development/#comment-8642</guid>
					<description>Obviously, you haven't declared the Java Server Faces servlet in web.xml.</description>
		<content:encoded><![CDATA[<p>Obviously, you haven&#8217;t declared the Java Server Faces servlet in web.xml.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: fhinz</title>
		<link>http://coding.moris.org/archives/2005/01/21/how-to-set-up-netbeans-40-for-java-server-faces-development/#comment-8630</link>
		<pubDate>Mon, 17 Jul 2006 03:03:54 +0000</pubDate>
		<guid>http://coding.moris.org/archives/2005/01/21/how-to-set-up-netbeans-40-for-java-server-faces-development/#comment-8630</guid>
					<description>by the way, i'm using 4.1.</description>
		<content:encoded><![CDATA[<p>by the way, i&#8217;m using 4.1.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: fhinz</title>
		<link>http://coding.moris.org/archives/2005/01/21/how-to-set-up-netbeans-40-for-java-server-faces-development/#comment-8623</link>
		<pubDate>Mon, 17 Jul 2006 03:02:50 +0000</pubDate>
		<guid>http://coding.moris.org/archives/2005/01/21/how-to-set-up-netbeans-40-for-java-server-faces-development/#comment-8623</guid>
					<description>Hello. I still have error after I tried everything. I got this kind of error:

HTTP Status 404 - Servlet FacesServlet is not available

type Status report

message Servlet FacesServlet is not available

description The requested resource (Servlet FacesServlet is not available) is not available.
Apache Tomcat/5.5.7</description>
		<content:encoded><![CDATA[<p>Hello. I still have error after I tried everything. I got this kind of error:</p>
<p>HTTP Status 404 - Servlet FacesServlet is not available</p>
<p>type Status report</p>
<p>message Servlet FacesServlet is not available</p>
<p>description The requested resource (Servlet FacesServlet is not available) is not available.<br />
Apache Tomcat/5.5.7
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Eddy</title>
		<link>http://coding.moris.org/archives/2005/01/21/how-to-set-up-netbeans-40-for-java-server-faces-development/#comment-458</link>
		<pubDate>Fri, 22 Apr 2005 09:52:52 +0000</pubDate>
		<guid>http://coding.moris.org/archives/2005/01/21/how-to-set-up-netbeans-40-for-java-server-faces-development/#comment-458</guid>
					<description>Jon,

I think I may have omitted an important step, which is to map *.faces requests to the Faces Servlet. Please add the following to your /WEB-INF/web.xml configuration file, if you have not done that already.

&lt;pre&gt;&lt;code&gt;
&#60;servlet&#62;
&#60;servlet-name&#62;FacesServlet&#60;/servlet-name&#62;
&#60;servlet-class&#62;javax.faces.webapp.FacesServlet&#60;/servlet-class&#62;
&#60;/servlet&#62;


&#60;servlet-mapping&#62;
&#60;servlet-name&#62;FacesServlet&#60;/servlet-name&#62;
&#60;url-pattern&#62;*.faces&#60;/url-pattern&#62;
&#60;/servlet-mapping&#62;&lt;/code&gt;&lt;/pre&gt;


There should not be any problem with the JSP file located under /WEB-INF, but as a general rule I do not do this, I would rather put it in the root directory or within a directory off the root.</description>
		<content:encoded><![CDATA[<p>Jon,</p>
<p>I think I may have omitted an important step, which is to map *.faces requests to the Faces Servlet. Please add the following to your /WEB-INF/web.xml configuration file, if you have not done that already.</p>
<pre><code>
&lt;servlet&gt;
&lt;servlet-name&gt;FacesServlet&lt;/servlet-name&gt;
&lt;servlet-class&gt;javax.faces.webapp.FacesServlet&lt;/servlet-class&gt;
&lt;/servlet&gt;

&lt;servlet-mapping&gt;
&lt;servlet-name&gt;FacesServlet&lt;/servlet-name&gt;
&lt;url-pattern&gt;*.faces&lt;/url-pattern&gt;
&lt;/servlet-mapping&gt;</code></pre>
<p>There should not be any problem with the JSP file located under /WEB-INF, but as a general rule I do not do this, I would rather put it in the root directory or within a directory off the root.
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Jon Smith</title>
		<link>http://coding.moris.org/archives/2005/01/21/how-to-set-up-netbeans-40-for-java-server-faces-development/#comment-457</link>
		<pubDate>Fri, 22 Apr 2005 08:12:24 +0000</pubDate>
		<guid>http://coding.moris.org/archives/2005/01/21/how-to-set-up-netbeans-40-for-java-server-faces-development/#comment-457</guid>
					<description>I've been using NetBeans for awhile and found your article to be very useful. However, I'm new to JSF's and when I follow your example step-for-step I get the following error when I try and run the JSP page:
The requested resource (/JSFExample/WEB-INF/test1.jsp) is not available.
Does the JSP have to go in the WEB-INF dir? If I put the test1.jsp page in the normal /JSFExample directory I then receive the following:
javax.servlet.ServletException: Cannot find FacesContext
Any ideas?
Thanks</description>
		<content:encoded><![CDATA[<p>I&#8217;ve been using NetBeans for awhile and found your article to be very useful. However, I&#8217;m new to JSF&#8217;s and when I follow your example step-for-step I get the following error when I try and run the JSP page:<br />
The requested resource (/JSFExample/WEB-INF/test1.jsp) is not available.<br />
Does the JSP have to go in the WEB-INF dir? If I put the test1.jsp page in the normal /JSFExample directory I then receive the following:<br />
javax.servlet.ServletException: Cannot find FacesContext<br />
Any ideas?<br />
Thanks
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Eddy</title>
		<link>http://coding.moris.org/archives/2005/01/21/how-to-set-up-netbeans-40-for-java-server-faces-development/#comment-194</link>
		<pubDate>Mon, 07 Feb 2005 13:34:44 +0000</pubDate>
		<guid>http://coding.moris.org/archives/2005/01/21/how-to-set-up-netbeans-40-for-java-server-faces-development/#comment-194</guid>
					<description>Sorry for the late reply. Thank you for your good words. I did not post it to the contest, but I think I should have. Just escaped me :-(</description>
		<content:encoded><![CDATA[<p>Sorry for the late reply. Thank you for your good words. I did not post it to the contest, but I think I should have. Just escaped me :-(
</p>
]]></content:encoded>
				</item>
	<item>
		<title>by: Brian Leonard</title>
		<link>http://coding.moris.org/archives/2005/01/21/how-to-set-up-netbeans-40-for-java-server-faces-development/#comment-93</link>
		<pubDate>Fri, 28 Jan 2005 13:59:26 +0000</pubDate>
		<guid>http://coding.moris.org/archives/2005/01/21/how-to-set-up-netbeans-40-for-java-server-faces-development/#comment-93</guid>
					<description>Most of these steps are automated in NetBeans 4.1, now available in Early Access. The JSF libraries are part of Sun Java Application Server 8.1 Platform Edition, which can be downloaded free. NetBeans automatically registers the JSF libraries in web projects, and registers the DTD for JSF faces XML code completion.

What is not there in NetBeans 4.1 is a wizard to create a default faces-config.xml file, but the same step as in the above article can be done to create one.

NetBeans 4.1 also has the J2EE Blueprints Solutions Catalog embedded, and as such all the solutions that are using JSF are ready to be used as sample projects, compeltely configured. Just add the project somewher, and click run. The Application Server will start, the solution will be compiled, deployed and executed. 

From there, you can modify it, learn it, debug it, and ...copy paste some fragments to accomodate your own apps.</description>
		<content:encoded><![CDATA[<p>Most of these steps are automated in NetBeans 4.1, now available in Early Access. The JSF libraries are part of Sun Java Application Server 8.1 Platform Edition, which can be downloaded free. NetBeans automatically registers the JSF libraries in web projects, and registers the DTD for JSF faces XML code completion.</p>
<p>What is not there in NetBeans 4.1 is a wizard to create a default faces-config.xml file, but the same step as in the above article can be done to create one.</p>
<p>NetBeans 4.1 also has the J2EE Blueprints Solutions Catalog embedded, and as such all the solutions that are using JSF are ready to be used as sample projects, compeltely configured. Just add the project somewher, and click run. The Application Server will start, the solution will be compiled, deployed and executed. </p>
<p>From there, you can modify it, learn it, debug it, and &#8230;copy paste some fragments to accomodate your own apps.
</p>
]]></content:encoded>
				</item>
</channel>
</rss>
