Hi folks!

I'm in the process of transferring our webapp from java 1.4 to java 1.5.
All is well but (there had to be a but, eh?) the only thing is that I
get this following stack trace whenever I hit a page with the
"messagesPresent" tag:

java.lang.ExceptionInInitializerError
        
org.apache.struts.taglib.TagUtils.getActionMessages(TagUtils.java:819)
        
org.apache.struts.taglib.logic.MessagesPresentTag.condition(MessagesPres
entTag.java:95)
        
org.apache.struts.taglib.logic.MessagesPresentTag.condition(MessagesPres
entTag.java:71)
        
org.apache.struts.taglib.logic.ConditionalTagBase.doStartTag(Conditional
TagBase.java:176)
        
org.apache.jsp.Login.login_jsp._jspx_meth_logic_messagesPresent_0(login_
jsp.java:2947)
        org.apache.jsp.Login.login_jsp._jspService(login_jsp.java:380)
        
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
        
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.ja
va:324)
        
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:292)
        
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
        javax.servlet.http.HttpServlet.service(HttpServlet.java:802)


It seems that some static code in TagUtils is yielding an exception but
I don't know struts code well enough to put my finger on it. Anyway,
even if I did, I don't know that it would the solution to my problem
since the issue is inside struts. Obviously this error doesn't appear
under java 1.4.2. So I'm left with two alternatives:

1-      Struts doesn't work (yet) under java 1.5 or...
2-      Maybe the "messagesPresent" tag has been deprecated and another
one should be used?

Any help would be much appreciated!

MG
--
Martin Goulet

Reply via email to