Ok, I have switched to 1.2.6. The result is better insofar as my starter, index.jsp, which failed with 1.2.4, now shows (as it did with 1.1). index.jsp uses <html:html locale="true">.
But TA.jsp still fails. Any ideas where to check for problems are welcome. Mit freundlichen Grüßen Wolfgang Rinnert -----Ursprüngliche Nachricht----- Von: Juan Salazar [mailto:[EMAIL PROTECTED] Gesendet: Dienstag, 23. November 2004 16:08 An: Struts Users Mailing List Betreff: Re: nullpointer in struts-tag i think this bug was fixed on release 1.2.6 (release date 22/nov). Check it out. El mar, 23-11-2004 a las 15:55 +0100, Rinnert, Wolfgang escribió: > Hi All, > I have difficulties to get my webapp running. > This is my first attempt to do more than training apps. > I use Struts 1.2.4, Tomcat 4.1.30, Linux. > The following exception occurs when calling TA.jsp directly, > before anything is visible on the screen: > > ----------------- > java.lang.NullPointerException > at > org.apache.struts.taglib.TagUtils.retrieveMessageResources(TagUtils.java:121 > 9) > at org.apache.struts.taglib.TagUtils.message(TagUtils.java:1082) > at > org.apache.struts.taglib.bean.MessageTag.doStartTag(MessageTag.java:226) > at org.apache.jsp.TA_jsp._jspx_meth_bean_message_0(TA_jsp.java:195) > ----------------- > > Here is TA.jsp (abbreviated). > I have tried the commented-out versions of html:html and html:javascript, > too. > > ----------------- > <%@ page language="java" %> > <%@ taglib uri="/WEB-INF/struts-bean.tld" prefix="bean" %> > <%@ taglib uri="/WEB-INF/struts-html.tld" prefix="html" %> > <%@ page import="oa.cts.*" %> > > <% java.util.logging.Logger logger = LoggerInitiator.getLogger(); > logger.info( "TA.jsp" ); %> > <html:html> > <%-- html:html locale="true" --%> > <%-- html:html lang="true" --%> > <head> > <html:base/> > <title> > <bean:message key="index.title"/> > </title> > </head> > <body bgcolor="#aaaaff"> > > <html:javascript formName="TAform" dynamicJavascript="true" > staticJavascript="false" /> > <%-- html:javascript formName="TAform"/ --%> > <script type="text/javascript" src="staticJavascript.jsp"></script> > > <table border="1" cellpadding="5" align="center"> > <tr> > <td><font color="#ff5522"><h2><bean:message > key="prompt.tajsp.transportauftrag"/></h2></font></td> > <td><img border="0" src="images/Enjoy.gif" width="100" > height="70" /></td> > </tr> > </table> > <br /> <br /> > <html:form method="POST" action="/createTA" focus="anforderer" > onsubmit="return validateTAform(this);"> > > <table border="0" cellpadding="5"> > <colgroup> > <col /> > <col /> > <col /> > </colgroup> > <tr> > <td><bean:message > key="prompt.tajsp.anforderer"/></td> > <td><html:text property="anforderer" size="20" > /></td> > <td><font color="#ff5522"><strong><html:errors > property="anforderer" /></strong></font></td> > </tr> > <!-- ..... Further fields left out ..... --> > > </table> > <br /> > <html:submit property="submit" /> > <html:reset /> > <br /> > <img border="0" src="images/struts-power.gif" align="right" > alt="Struts-Logo" /> > </html:form> > </body> > </html:html> > ----------------- > ... > > This is the action defined: > > ----------------- > <action path="/createTA" > type="oa.cts.TAAction" > name="TAform" > scope="request" > validate="true" > input="/TA.jsp"> > </action> > ----------------- > --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]