| <html> |
| <head> |
| <META http-equiv="Content-Type" content="text/html; charset=UTF-8"> |
| <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> |
| <link rel="stylesheet" href="../../../../../..//default_style.css" type="text/css"> |
| <link rel="stylesheet" href="../../../../../..//webtools/wtp.css" type="text/css"> |
| <title>JSP Taglib Test</title> |
| </head> |
| <body> |
| <table width="100%" cellspacing="5" cellpadding="2" border="0"> |
| <col width="16"> |
| <col width="*"> |
| <tbody> |
| <tr> |
| <td valign="top" bgcolor="#0080c0" align="left" colspan="2"><b><font face="Arial,Helvetica" color="#ffffff">JSP Taglibs</font></b></td> |
| </tr> |
| <tr> |
| <td valign="top" align="right"><img width="16" height="16" border="0" src="../../../../../..//images/Adarrow.gif"></td><td><b>Prerequisites</b></td> |
| </tr> |
| <tr> |
| <td valign="top" align="right"> </td><td valign="top"> |
| <p> |
| |
| - must have an Apache Tomcat server installed |
| <br> - must have <a href="http://struts.apache.org/download.cgi" target="new">Struts SDK downloaded</a> (which includes example WARs) |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td valign="top" align="right"><img width="16" height="16" border="0" src="../../../../../..//images/Adarrow.gif"></td><td><b>Create a server</b></td> |
| </tr> |
| <tr> |
| <td valign="top" align="right"> </td><td valign="top"> |
| <p> |
| - Window > Preferences > Server > Installed Runtimes |
| <br> - Add... |
| <br> - choose the appropriate version of Apache Tomcat |
| <br> - Point to your appropriate Tomcat directory |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td valign="top" align="right"><img width="16" height="16" border="0" src="../../../../../..//images/Adarrow.gif"></td><td><b>Import the struts-examples WAR</b></td> |
| </tr> |
| <tr> |
| <td valign="top" align="right"> </td><td valign="top"> |
| <p> |
| - unzip your struts SDK |
| <br>- ensure there's a "webapps" which is where the sample WARs are located |
| <br>- bring up the "File > Import > WAR file" dialog |
| <br>- browse to "<struts-sdk-folder>/webapps/struts-examples.war" |
| <br>- set your target runtime to be your Apache Tomcat server |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td valign="top" align="right"> </td><td valign="top"> |
| <div align="center"> |
| <img src="images/import-war.png" vspace="10"></div> |
| </td> |
| </tr> |
| <tr> |
| <td valign="top" align="right"><img width="16" height="16" border="0" src="../../../../../..//images/Adarrow.gif"></td><td><b>Test that taglibs are being resolved</b></td> |
| </tr> |
| <tr> |
| <td valign="top" align="right"> </td><td valign="top"> |
| <p> |
| To test that custom tags available, use content assist and source validation. |
| <br>Test taglib resolution from these locations: |
| <ul> |
| |
| <li>in a .jar file in the WebContent/WEB-INF/lib folder</li> |
| |
| <li>a standalone .tld file somewhere in the webcontent folder</li> |
| |
| <li>in a .jar file on the classpath for the project</li> |
| |
| <li>referenced in a project that's <b>outside</b> the workspace</li> |
| |
| <li>specified in a web.xml file</li> |
| |
| </ul> |
| |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td valign="top" align="right"><img width="16" height="16" border="0" src="../../../../../..//images/Adarrow.gif"></td><td><b>Test classpath changes</b></td> |
| </tr> |
| <tr> |
| <td valign="top" align="right"> </td><td valign="top"> |
| <p> |
| Ensure that taglibs are resolved after changing the classpath of a project. |
| </p> |
| </td> |
| </tr> |
| <tr> |
| <td valign="top" bgcolor="#0080c0" align="left" colspan="2"><b><font face="Arial,Helvetica" color="#ffffff">Source Editing Test Plans</font></b></td> |
| </tr> |
| <tr> |
| <td valign="top" align="right"> </td><td valign="top"> |
| <p> |
| |
| <a href="../../../wst/sse/M8/milestone_test_plan.html">org.eclipse.wst.sse</a> |
| |
| <br> |
| <a href="../../../wst/xml/M8/milestone_test_plan.html">org.eclipse.wst.xml</a> |
| |
| <br> |
| <a href="../../../wst/html/M8/milestone_test_plan.html">org.eclipse.wst.html</a> |
| |
| <br> |
| <a href="../../../wst/css/M8/milestone_test_plan.html">org.eclipse.wst.css</a> |
| |
| <br> |
| <a href="../../../wst/dtd/M8/milestone_test_plan.html">org.eclipse.wst.dtd</a> |
| |
| <br> |
| <a href="../../../wst/javascript/M8/milestone_test_plan.html">org.eclipse.wst.javascript</a> |
| |
| |
| <br> |
| <a href="../../jsp/M8/milestone_test_plan.html">org.eclipse.jst.jsp</a> |
| |
| </p> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </body> |
| </html> |