Dave, I tried to turn print some debug log using SimpleLog but I get a bunch of statements that i dont understand: ... ... 2008/12/23 15:34:40:591 CST [DEBUG] Digester - New match='web-app/mime-mapping' 2008/12/23 15:34:40:591 CST [DEBUG] Digester - Fire begin() for CallMethodRule[methodName=addMimeMapping, paramCount=2, paramTypes={java.lang.String, java.lang.String}] 2008/12/23 15:34:40:591 CST [DEBUG] sax - characters( ) 2008/12/23 15:34:40:591 CST [DEBUG] sax - startElement(,,extension) 2008/12/23 15:34:40:591 CST [DEBUG] Digester - Pushing body text ' ' 2008/12/23 15:34:40:591 CST [DEBUG] Digester - New match='web-app/mime-mapping/extension' 2008/12/23 15:34:40:592 CST [DEBUG] Digester - Fire begin() for CallParamRule[paramIndex=0, attributeName=null, from stack=false] 2008/12/23 15:34:40:592 CST [DEBUG] sax - characters(vsd) 2008/12/23 15:34:40:592 CST [DEBUG] sax - endElement(,,extension) 2008/12/23 15:34:40:592 CST [DEBUG] Digester - match='web-app/mime-mapping/extension' 2008/12/23 15:34:40:592 CST [DEBUG] Digester - bodyText='vsd' 2008/12/23 15:34:40:592 CST [DEBUG] Digester - Fire body() for CallParamRule[paramIndex=0, attributeName=null, from stack=false] 2008/12/23 15:34:40:592 CST [DEBUG] Digester - Popping body text ' ... ... How do I turn on dev mode on struts? Just add <constant name="struts.devMode" value="true" /> to struts.xml right? How do I turn on debug for xwork and ognl?
Did you remember those steps that you have to do to make it work with Java 4? I get the feeling that I'm missing something, since I was able to configure it with Java 6. -Aswin newton.dave wrote: > > From: rorostar <theas...@hotmail.com> > >> Has anyone had any success trying to use struts2 on java4 environment? >> My server is using java 1.4.2, and they would not upgrade. > > Have you turned on dev mode and increased logging levels for struts, > xwork, and OGNL? > > I haven't used S2 with JDK 1.4 on Tomcat since ~2.0.9 but had no issues at > that point. > > Dave > > --------------------------------------------------------------------- > To unsubscribe, e-mail: user-unsubscr...@struts.apache.org > For additional commands, e-mail: user-h...@struts.apache.org > > > -- View this message in context: http://www.nabble.com/Struts2-with-JDK1.4.2_19---Tomcat-5.0.28-tp21149790p21151509.html Sent from the Struts - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: user-unsubscr...@struts.apache.org For additional commands, e-mail: user-h...@struts.apache.org