You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by de...@struts.apache.org on 2004/05/30 01:34:21 UTC

[Apache Struts Wiki] Updated: StrutsInitialization

   Date: 2004-05-29T16:34:21
   Editor: 81.178.118.117 <>
   Wiki: Apache Struts Wiki
   Page: StrutsInitialization
   URL: http://wiki.apache.org/struts/StrutsInitialization

   no comment

Change Log:

------------------------------------------------------------------------------
@@ -25,7 +25,7 @@
    in your extended servlet. }}}
 
 public class yourActionServlet extends
-{{{             org.apache.struts.action.ActionServlet 
+{             org.apache.struts.action.ActionServlet 
     public void init() throws ServletException { 
         private static HashMap hashmap; 
         //read XML file into variable hashMap 
@@ -34,7 +34,7 @@
 
     public static getHashMap(){ }}}
 	return hashmap;
-{{{    } }}}
+}
 }
 
 Then from your actions, simply:

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@struts.apache.org
For additional commands, e-mail: dev-help@struts.apache.org