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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]