blob: 87442a449bdc4ed77647a22a293dc5917527487c [file] [log] [blame]
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<link rel="stylesheet" href="../../book.css" type="text/css">
<title>Creating a JSF JSP Page</title>
</head>
<body>
<h1>Creating a JSF JSP Page</h1>
<br>
<p>To create a JSF JSP Page you simply create a JSP Page and add the tag libraries for the JSF components that you wish to use.</p>
<br>
<h2>Step 1: Create JSP Page: New JSP Wizard</h2>
<br>
<img alt="New JSP Page 1" src="./images/newjsfpage1.png">
<br>
<p>Add the page to the WebContent folder or sub-folder for your project.</p>
<img alt="New JSP Page 2" src="./images/newjsfpage2.png">
<br>
<p>Choose "Next..." to select page template </p>
<img alt="New JSP Page 2" src="./images/newjsfpage3.png">
<p/>
Press "Finish" to create the page.
<p/>
<h2>Step 2: Add Tag Libraries</h2>
<br>
<p>These are the tag library references necessary to access the JSF Standard tag libraries:</p>
<img alt="Add Tag Libs" src="./images/addjsftaglibs.png">
<br>
<p>If the jars that contain the tag libraries are present on the classpath, then content assist for the tags should be available.</p>
<br>
<img alt="Content Assist" src="./images/taglibassist.png">
<p>Use the JSF Library Reference feature to add more jars to the Web project.</p>
<img src="../../images/ngrelc.png" alt="Related concepts" border="0"><br>
<p>
<a href="../concepts/jsf_libs.html">JSF Libraries</a><br>
<a href="../concepts/jsf_source_editing.html">JSF JSP Page Source Editing</a><br>
<a href="../concepts/jsf_facets.html">JSF Facets</a><br>
</p>
<p><img src="../../images/ngrelr.png" alt="Related reference" border="0"></p>
<p>
<a href="../reference/taglibsupport.html">Tag Library Support</a><br>
<a href="../reference/jsf_library_management.html">JSF Library Management</a><br>
</p>
<p><img src="../../images/ngrelt.png" alt="Related tasks" border="0">
</p>
<p>
<a href="../tasks/create_jsf_app.html">Create JSF Application</a><br>
<a href="../gettingstarted/tutorial/JSFTools_tutorial.html">Tutorial</a>
</p>
</body>
</html>