[cvs] expresso commit by mtraum: fixed package references to weblog because

JCorporate Ltd jcorp at jcorporate.com
Sun Feb 27 14:26:10 UTC 2005


Log Message:
-----------
fixed package references to weblog because of move to com.jcorporate.expresso.demo.weblog and fixed some invalid html

Modified Files:
--------------
    expresso/expresso-web/expresso/doc:
        tutorial.html

Revision Data
-------------
Index: tutorial.html
===================================================================
RCS file: /home/javacorp/.cvs/expresso/expresso/expresso-web/expresso/doc/tutorial.html,v
retrieving revision 1.3
retrieving revision 1.4
diff -Lexpresso-web/expresso/doc/tutorial.html -Lexpresso-web/expresso/doc/tutorial.html -u -r1.3 -r1.4
--- expresso-web/expresso/doc/tutorial.html
+++ expresso-web/expresso/doc/tutorial.html
@@ -1,12 +1,13 @@
 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
 <html lang="en">
+<head>
 <meta http-equiv="Content-Type" content="text/html;charset=ISO-8859-1">
 <link href="/style/default.css" rel="stylesheet" type="text/css">
-<head>
 <title>Expresso Tutorial: WebLog Application</title>
 <META name="robots" content="all">
-</head>
 <base href="http://www.jcorporate.com">
+</head>
+
 <BODY vlink="#0000ff" alink="#cc0000" link="#0033ff" bgcolor="#ffffff" class="jc-default">
 <div class=Section1>
   <h1 align="center">Expresso Tutorial</h1>
@@ -114,8 +115,7 @@
     that filters down into the controller. This permits or denies access to one
     or more of the controllers' states. As with the DBObjects, Expresso has a
     set of controllers  that can be used with little or no modification. DBMaint
-    is one of these pre-made controllers and can be found in <a
-href="http://com.jcorporate.expresso.services/">com.jcorporate.expresso.services</a>.
+    is one of these pre-made controllers and can be found in com.jcorporate.expresso.services.
     This controller will be used heavily in the tutorial to provide the basic
     Add, Delete, Update, and Search functions for any SecuredDBObject. I choose
     to use the DBMaint for two reasons: first to not reinvent the wheel and second
@@ -317,20 +317,17 @@
 
   <p>  <span class="jc-code">Block transBlock = new Block(&quot;transBlock&quot;);                 (26)<br>
   Transition b3 = new Transition(&quot;listEntry&quot;,&quot;List Weblog
-    \   Entry&quot;,<a href="http://com.jcorporate.demo.weblog.controller.EntryDBMaint.class/">com.jcorporate.demo.weblog.controller.EntryDBMaint.class</a>,&quot;List&quot; (27)<br>
+    \   Entry&quot;,com.jcorporate.demo.weblog.controller.EntryDBMaint.class,&quot;List&quot; (27)<br>
 
-  b3.addParam(&quot;dbobj&quot;,<a
-href="http://com.jcorporate.demo.weblog.dbobj.Entry.class.getName/">com.jcorporate.demo.weblog.dbobj.Entry.class.getName</a>());(28)<br>
+  b3.addParam(&quot;dbobj&quot;,com.jcorporate.demo.weblog.dbobj.Entry.class.getName());(28)<br>
   transBlock.add(b3);                                         (29)<br>
   b3 = new Transition(&quot;addEntry&quot;,&quot;Add Weblog \ <br>
-    Entry&quot;,<a href="http://com.jcorporate.demo.weblog.controller.EntryDBMaint.class/">com.jcorporate.demo.weblog.controller.EntryDBMaint.class</a>,&quot;Add&#8221;);(30)<br>
+    Entry&quot;,com.jcorporate.demo.weblog.controller.EntryDBMaint.class,&quot;Add&#8221;);(30)<br>
 
-  b3.addParam(&quot;dbobj&quot;,<a
-href="http://com.jcorporate.demo.weblog.dbobj.Entry.class.getName/">com.jcorporate.demo.weblog.dbobj.Entry.class.getName</a>());(31)<br>
+  b3.addParam(&quot;dbobj&quot;,com.jcorporate.demo.weblog.dbobj.Entry.class.getName());(31)<br>
   transBlock.add(b3);                                         (32)<br>
   b3 = new Transition(&quot;logout&quot;,&quot;Logout&quot;, \<br>
-   <a
-href="http://com.jcorporate.demo.weblog.controller.WlogLogin.class/">com.jcorporate.demo.weblog.controller.WlogLogin.class</a>, &quot;processLogout&quot;);
+   com.jcorporate.demo.weblog.controller.WlogLogin.class, &quot;processLogout&quot;);
     (33)<br>
 
   transBlock.add(b3);                                         (34)<br>
@@ -354,12 +351,12 @@
     to be added.</p>
   <p>       <span class="jc-code">public WeblogSchema() {<br>
        super();<br>
-       addDBObject(com.jcorporate.demo.weblog.dbobj.Entry.class);<br>
+       addDBObject(com.jcorporate.expresso.demo.weblog.dbobj.Entry.class);<br>
 
-       addDBObject(com.jcorporate.demo.weblog.dbobj.Comment.class);<br>
-       addController(com.jcorporate.demo.weblog.controller.EntryDBMaint.class);<br>
-       addController(com.jcorporate.demo.weblog.controller.CommentDBMaint.class);<br>
-       addController(com.jcorporate.demo.weblog.controller.WlogLogin.class);<br>
+       addDBObject(com.jcorporate.expresso.demo.weblog.dbobj.Comment.class);<br>
+       addController(com.jcorporate.expresso.demo.weblog.controller.EntryDBMaint.class);<br>
+       addController(com.jcorporate.expresso.demo.weblog.controller.CommentDBMaint.class);<br>
+       addController(com.jcorporate.expresso.demo.weblog.controller.WlogLogin.class);<br>
      }</span></p>
   <p>The mechanism for adding the DBObjects, controllers, and other various items
     is done by calling the appropriate method from the class constructor (<span class="jc-code">WeblogSchema</span>).
@@ -507,7 +504,7 @@
          &lt;action-mappings&gt;<br>
             &lt;action path=&quot;/weblog/EntryDBMaint&quot; <br>
 
-            type=&quot;com.jcorporate.demo.weblog.controller.EntryDBMaint&quot; <br>
+            type=&quot;com.jcorporate.expresso.demo.weblog.controller.EntryDBMaint&quot; <br>
             name=&quot;default&quot; scope=&quot;request&quot; validate=&quot;false&quot;&gt;<br>
               &lt;forward name=&quot;List&quot; \<br>
 
@@ -519,7 +516,7 @@
               path=&quot;/expresso/components/weblog/redirect.jsp&quot;/&gt;<br>
             &lt;/action&gt;<br>
             &lt;action path=&quot;/weblog/CommentDBMaint&quot; <br>
-            type=&quot;com.jcorporate.demo.weblog.controller.CommentDBMaint&quot; <br>
+            type=&quot;com.jcorporate.expresso.demo.weblog.controller.CommentDBMaint&quot; <br>
             name=&quot;default&quot; scope=&quot;request&quot; validate=&quot;false&quot;&gt;<br>
 
               &lt;forward name=&quot;listBoth&quot;<br>
@@ -531,14 +528,13 @@
               path=&quot;/expresso/components/weblog/credirect.jsp&quot;/&gt;<br>
             &lt;/action&gt;<br>
             &lt;action path=&quot;/weblog/WlogLogin&quot;<br>
-            type=&quot;com.jcorporate.demo.weblog.controller.WlogLogin&quot; name=&quot;default&quot; <br>
+            type=&quot;com.jcorporate.expresso.demo.weblog.controller.WlogLogin&quot; name=&quot;default&quot; <br>
 
             scope=&quot;request&quot; validate=&quot;false&quot;&gt;                  (1)</span></p>
   <p>(1)This block of XML code states that if a URI comes in with the WlogLogin.do
     (in this case <a
 href="http://localhost:8080/weblog/WlogLogin.do">http://localhost:8080/weblog/WlogLogin.do</a>)
-    then use the controller <a
-href="http://com.jcorporate.demo.weblog.controller.WlogLogin/">com.jcorporate.demo.weblog.controller.WlogLogin</a>.
+    then use the controller com.jcorporate.expresso.demo.weblog.controller.WlogLogin.
     If no state is given, then class will find it's default state and proceed
     to that one.</p>
   <p class="jc-code">              &lt;forward name=&quot;promptLogin&quot; \ <br>
@@ -591,9 +587,8 @@
     Please keep that in mind as you go through the tutorial.</p>
 
   <p>This is the standard architecture for all Expresso applications. The WeblogSchema,
-    in the <a
-href="http://com.jcorporate.demo.weblog/">com.jcorporate.demo.weblog</a>, is the key to bringing the
-application under the Expresso environment.. The steps are:</div>
+    in the com.jcorporate.expresso.demo.weblog package, is the key to bringing the
+application under the Expresso environment. The steps are:</div>
 <ol>
   <li>
     <div class=Section1>Go to: http://&lt;where web container is located&gt;/Expresso/expresso/frame.jsp. <br>
@@ -606,7 +601,6 @@
       <br>
       <img width=540 height=360 src="/images/doc/tutorial/image006.jpg"> <br>
     </div>
-    </div>
   </li>
   <li>
     <div class=Section1>
@@ -626,13 +620,12 @@
     <img width=557 height=483 src="/images/doc/tutorial/image010.jpg"><br>
 
   </li>
-  <li>In the text field, the reader would type: <a
-href="http://com.jcorporate.demo.weblog.WeblogSchema/">com.jcorporate.demo.weblog.WeblogSchema</a> and
+  <li>In the text field, the reader would type: com.jcorporate.expresso.demo.weblog.WeblogSchema and
     click on Install Component. This will register the schema, build the tables
     in the underlying database, and setup security on the DBObjects and the controllers
     in the Expresso environment. <br>
     <br>
-    <img width=557 height=483 src="/images/doc/tutorial/image012.jpg" v:shapes="_x0000_s1031"><br>
+    <img width=557 height=483 src="/images/doc/tutorial/image012.jpg"><br>
     <br>
     <div class=Section1>Note: The WlogAdmin user is the administrator for the
       Weblog Application. The WlogAdmin user is generated in the Weblog installation.
@@ -659,7 +652,7 @@
     <img width=551 height=311 src="/images/doc/tutorial/image018.jpg"><br>
 
     This is the listing of the entries. The URI that was called was: <a
-href="http://localhost:8080/Expresso/EntryDBMaint.do?state=List&amp;dbobj=com.jcorporate.demo.weblog.dbobj.Entry">http://localhost:8080/Expresso/EntryDBMaint.do?state=List&amp;dbobj=com.jcorporate.demo.weblog.dbobj.Entry<br>
+href="http://localhost:8080/Expresso/EntryDBMaint.do?state=List&amp;dbobj=com.jcorporate.expresso.demo.weblog.dbobj.Entry">http://localhost:8080/Expresso/EntryDBMaint.do?state=List&amp;dbobj=com.jcorporate.expresso.demo.weblog.dbobj.Entry<br>
     <br>
     </a>
     <div class=Section1>When the web browser calls a specific URI like this,


More information about the cvs mailing list