<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to Creating a Web Project</title><link>https://sourceforge.net/p/roth/wiki/Creating%2520a%2520Web%2520Project/</link><description>Recent changes to Creating a Web Project</description><atom:link href="https://sourceforge.net/p/roth/wiki/Creating%20a%20Web%20Project/feed" rel="self"/><language>en</language><lastBuildDate>Sun, 09 Jun 2019 21:49:53 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/roth/wiki/Creating%20a%20Web%20Project/feed" rel="self" type="application/rss+xml"/><item><title>Creating a Web Project modified by James M. Payne</title><link>https://sourceforge.net/p/roth/wiki/Creating%2520a%2520Web%2520Project/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v6
+++ v7
@@ -6,13 +6,6 @@
 3. Check ***Generate web.xml deployment descriptor*** and click Finish.

 Even though the servlets will be using annotations, you still need the web.xml file for cluster and security settings.  In addition, you may want to map library servlets (such as the Export servlet), which cannot be mapped any other way.
-
-#Required Files
-Copy the following files to the WebContent folder of your project.  They are found in the release or snapshot zip file.  They can also be found in RothDeveloper.war.  You don't need to customize them, but you can.
-
-* auth.jsp
-* error.jsp
-* login.jsp

 #web.xml
 Whether using in a cluster environment or not, it won't hurt to have the **distributable** tag.  That way if you do cluster later, you don't have to worry about it.  The best place for this is immediately after the **display-name** tag.
@@ -36,7 +29,7 @@
   
 ~~~

-Security.  This is important.  Roth uses form authentication.  This part goes at the bottom of the file before the **web-app** end tag.
+Security.  This is important.  Roth uses form authentication.  This part goes at the bottom of the file before the **web-app** end tag.  The JSP pages referenced are found in the Roth library JAR file, and are automatically referenced directly from there.
 ~~~
 :::xml
   &amp;lt;error-page&amp;gt;
&amp;lt;/error-page&amp;gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James M. Payne</dc:creator><pubDate>Sun, 09 Jun 2019 21:49:53 -0000</pubDate><guid>https://sourceforge.net4bc814f90daec85c124bcc2adfeeb97ea978f335</guid></item><item><title>Creating a Web Project modified by James M. Payne</title><link>https://sourceforge.net/p/roth/wiki/Creating%2520a%2520Web%2520Project/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v5
+++ v6
@@ -55,7 +55,10 @@
 ~~~
 :::xml
 
-&amp;lt;web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xsi:schemalocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" id="WebApp_ID" version="3.1"&amp;gt;
+&amp;lt;web-app xmlns="http://xmlns.jcp.org/xml/ns/javaee" +="" version="3.1" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemalocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" id="WebApp_ID"&amp;gt;
   &amp;lt;display-name&amp;gt;ExampleWebProject&amp;lt;/display-name&amp;gt;
   &amp;lt;distributable&amp;gt;
   &amp;lt;welcome-file-list&amp;gt;
&amp;lt;/welcome-file-list&amp;gt;&amp;lt;/distributable&amp;gt;&amp;lt;/web-app&amp;gt;&amp;lt;/web-app&amp;gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James M. Payne</dc:creator><pubDate>Sun, 17 Mar 2019 18:47:33 -0000</pubDate><guid>https://sourceforge.netb83186dfb8e7966b4e3b69600086ba37649326fc</guid></item><item><title>Creating a Web Project modified by James M. Payne</title><link>https://sourceforge.net/p/roth/wiki/Creating%2520a%2520Web%2520Project/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v4
+++ v5
@@ -56,7 +56,7 @@
 :::xml
 
 &amp;lt;web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xsi:schemalocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" id="WebApp_ID" version="3.1"&amp;gt;
-  &amp;lt;display-name&amp;gt;Roth&amp;lt;/display-name&amp;gt;
+  &amp;lt;display-name&amp;gt;ExampleWebProject&amp;lt;/display-name&amp;gt;
   &amp;lt;distributable&amp;gt;
   &amp;lt;welcome-file-list&amp;gt;
     &amp;lt;welcome-file&amp;gt;index.jsp&amp;lt;/welcome-file&amp;gt;
&amp;lt;/welcome-file-list&amp;gt;&amp;lt;/distributable&amp;gt;&amp;lt;/web-app&amp;gt;&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James M. Payne</dc:creator><pubDate>Sun, 17 Mar 2019 18:46:43 -0000</pubDate><guid>https://sourceforge.nete7705444c030962136f0f103d17d1f62b79306af</guid></item><item><title>Creating a Web Project modified by James M. Payne</title><link>https://sourceforge.net/p/roth/wiki/Creating%2520a%2520Web%2520Project/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v3
+++ v4
@@ -50,3 +50,36 @@
     
   
 ~~~
+
+Full Example:
+~~~
+:::xml
+
+&amp;lt;web-app xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://xmlns.jcp.org/xml/ns/javaee" xsi:schemalocation="http://xmlns.jcp.org/xml/ns/javaee http://xmlns.jcp.org/xml/ns/javaee/web-app_3_1.xsd" id="WebApp_ID" version="3.1"&amp;gt;
+  &amp;lt;display-name&amp;gt;Roth&amp;lt;/display-name&amp;gt;
+  &amp;lt;distributable&amp;gt;
+  &amp;lt;welcome-file-list&amp;gt;
+    &amp;lt;welcome-file&amp;gt;index.jsp&amp;lt;/welcome-file&amp;gt;
+  &amp;lt;/welcome-file-list&amp;gt;
+  &amp;lt;servlet&amp;gt;
+    &amp;lt;description&amp;gt;&amp;lt;/description&amp;gt;
+    &amp;lt;display-name&amp;gt;Export&amp;lt;/display-name&amp;gt;
+    &amp;lt;servlet-name&amp;gt;Export&amp;lt;/servlet-name&amp;gt;
+    &amp;lt;servlet-class&amp;gt;com.roth.servlet.ExportServlet&amp;lt;/servlet-class&amp;gt;
+  &amp;lt;/servlet&amp;gt;
+  &amp;lt;servlet-mapping&amp;gt;
+    &amp;lt;servlet-name&amp;gt;Export&amp;lt;/servlet-name&amp;gt;
+    &amp;lt;url-pattern&amp;gt;/Export/*&amp;lt;/url-pattern&amp;gt;
+  &amp;lt;/servlet-mapping&amp;gt;
+  &amp;lt;error-page&amp;gt;
+    &amp;lt;location&amp;gt;/error.jsp&amp;lt;/location&amp;gt;
+  &amp;lt;/error-page&amp;gt;
+  &amp;lt;login-config&amp;gt;
+    &amp;lt;auth-method&amp;gt;FORM&amp;lt;/auth-method&amp;gt;
+    &amp;lt;form-login-config&amp;gt;
+      &amp;lt;form-login-page&amp;gt;/login.jsp&amp;lt;/form-login-page&amp;gt;
+      &amp;lt;form-error-page&amp;gt;/login.jsp?error=true&amp;lt;/form-error-page&amp;gt;
+    &amp;lt;/form-login-config&amp;gt;
+  &amp;lt;/login-config&amp;gt;
+&amp;lt;/distributable&amp;gt;&amp;lt;/web-app&amp;gt;
+~~~
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James M. Payne</dc:creator><pubDate>Sun, 17 Mar 2019 18:46:08 -0000</pubDate><guid>https://sourceforge.netd7839810c90e0f5f3e93d9202fb492722915029d</guid></item><item><title>Creating a Web Project modified by James M. Payne</title><link>https://sourceforge.net/p/roth/wiki/Creating%2520a%2520Web%2520Project/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v2
+++ v3
@@ -3,7 +3,7 @@
 #Dynamic Web Project
 1. Right-click in the Project Explorer, and select **New** / **Dynamic Web Project**.
 2. Enter a name for the project, then click Next until you get to the last page of the wizard.
-3. Check *Generate web.xml deployment descriptor* and click Finish.
+3. Check ***Generate web.xml deployment descriptor*** and click Finish.

 Even though the servlets will be using annotations, you still need the web.xml file for cluster and security settings.  In addition, you may want to map library servlets (such as the Export servlet), which cannot be mapped any other way.

&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James M. Payne</dc:creator><pubDate>Sun, 17 Mar 2019 17:50:50 -0000</pubDate><guid>https://sourceforge.net86e46e2b0a9f1fcaea12328b79cc57ed3576eac6</guid></item><item><title>Creating a Web Project modified by James M. Payne</title><link>https://sourceforge.net/p/roth/wiki/Creating%2520a%2520Web%2520Project/</link><description>&lt;div class="markdown_content"&gt;&lt;pre&gt;--- v1
+++ v2
@@ -9,6 +9,7 @@

 #Required Files
 Copy the following files to the WebContent folder of your project.  They are found in the release or snapshot zip file.  They can also be found in RothDeveloper.war.  You don't need to customize them, but you can.
+
 * auth.jsp
 * error.jsp
 * login.jsp
&lt;/pre&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James M. Payne</dc:creator><pubDate>Sun, 17 Mar 2019 17:18:46 -0000</pubDate><guid>https://sourceforge.net605ac323bfeb926506efd3cbfefb8126dced49eb</guid></item><item><title>Creating a Web Project modified by James M. Payne</title><link>https://sourceforge.net/p/roth/wiki/Creating%2520a%2520Web%2520Project/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;NOTE: These instructions use the simplest case, assuming the use of Eclipse.  I am not a fan of Maven, so I will not be describing how to do this with Maven.  However, if you are familiar with maven, I'm sure you can adjust as necessary.&lt;/p&gt;
&lt;h1 id="dynamic-web-project"&gt;Dynamic Web Project&lt;/h1&gt;
&lt;ol&gt;
&lt;li&gt;Right-click in the Project Explorer, and select &lt;strong&gt;New&lt;/strong&gt; / &lt;strong&gt;Dynamic Web Project&lt;/strong&gt;.&lt;/li&gt;
&lt;li&gt;Enter a name for the project, then click Next until you get to the last page of the wizard.&lt;/li&gt;
&lt;li&gt;Check &lt;em&gt;Generate web.xml deployment descriptor&lt;/em&gt; and click Finish.&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Even though the servlets will be using annotations, you still need the web.xml file for cluster and security settings.  In addition, you may want to map library servlets (such as the Export servlet), which cannot be mapped any other way.&lt;/p&gt;
&lt;h1 id="required-files"&gt;Required Files&lt;/h1&gt;
&lt;p&gt;Copy the following files to the WebContent folder of your project.  They are found in the release or snapshot zip file.  They can also be found in RothDeveloper.war.  You don't need to customize them, but you can.&lt;br/&gt;
&lt;em&gt; auth.jsp&lt;br/&gt;
&lt;/em&gt; error.jsp&lt;br/&gt;
* login.jsp&lt;/p&gt;
&lt;h1 id="webxml"&gt;web.xml&lt;/h1&gt;
&lt;p&gt;Whether using in a cluster environment or not, it won't hurt to have the &lt;strong&gt;distributable&lt;/strong&gt; tag.  That way if you do cluster later, you don't have to worry about it.  The best place for this is immediately after the &lt;strong&gt;display-name&lt;/strong&gt; tag.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;  &lt;span class="nt"&gt;&amp;lt;distributable/&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;If planning on using the built-in export capability in the data grids, you need to add this mapping.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;  &lt;span class="nt"&gt;&amp;lt;servlet&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;description&amp;gt;&amp;lt;/description&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;display-name&amp;gt;&lt;/span&gt;Export&lt;span class="nt"&gt;&amp;lt;/display-name&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;servlet-name&amp;gt;&lt;/span&gt;Export&lt;span class="nt"&gt;&amp;lt;/servlet-name&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;servlet-class&amp;gt;&lt;/span&gt;com.roth.servlet.ExportServlet&lt;span class="nt"&gt;&amp;lt;/servlet-class&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/servlet&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;servlet-mapping&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;servlet-name&amp;gt;&lt;/span&gt;Export&lt;span class="nt"&gt;&amp;lt;/servlet-name&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;url-pattern&amp;gt;&lt;/span&gt;/Export/*&lt;span class="nt"&gt;&amp;lt;/url-pattern&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/servlet-mapping&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Security.  This is important.  Roth uses form authentication.  This part goes at the bottom of the file before the &lt;strong&gt;web-app&lt;/strong&gt; end tag.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;  &lt;span class="nt"&gt;&amp;lt;error-page&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;location&amp;gt;&lt;/span&gt;/error.jsp&lt;span class="nt"&gt;&amp;lt;/location&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/error-page&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;login-config&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;auth-method&amp;gt;&lt;/span&gt;FORM&lt;span class="nt"&gt;&amp;lt;/auth-method&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;form-login-config&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;form-login-page&amp;gt;&lt;/span&gt;/login.jsp&lt;span class="nt"&gt;&amp;lt;/form-login-page&amp;gt;&lt;/span&gt;
      &lt;span class="nt"&gt;&amp;lt;form-error-page&amp;gt;&lt;/span&gt;/login.jsp?error=true&lt;span class="nt"&gt;&amp;lt;/form-error-page&amp;gt;&lt;/span&gt;
    &lt;span class="nt"&gt;&amp;lt;/form-login-config&amp;gt;&lt;/span&gt;
  &lt;span class="nt"&gt;&amp;lt;/login-config&amp;gt;&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">James M. Payne</dc:creator><pubDate>Sun, 17 Mar 2019 17:17:49 -0000</pubDate><guid>https://sourceforge.net2ae960d315be59d7767078bb8146c4f099ab62cc</guid></item></channel></rss>