Return-Path: Delivered-To: apmail-jakarta-struts-user-archive@apache.org Received: (qmail 98383 invoked from network); 30 Jul 2003 23:22:41 -0000 Received: from exchange.sun.com (192.18.33.10) by daedalus.apache.org with SMTP; 30 Jul 2003 23:22:41 -0000 Received: (qmail 11612 invoked by uid 97); 30 Jul 2003 23:25:23 -0000 Delivered-To: qmlist-jakarta-archive-struts-user@nagoya.betaversion.org Received: (qmail 11605 invoked from network); 30 Jul 2003 23:25:22 -0000 Received: from daedalus.apache.org (HELO apache.org) (208.185.179.12) by nagoya.betaversion.org with SMTP; 30 Jul 2003 23:25:22 -0000 Received: (qmail 96143 invoked by uid 500); 30 Jul 2003 23:22:14 -0000 Mailing-List: contact struts-user-help@jakarta.apache.org; run by ezmlm Precedence: bulk List-Unsubscribe: List-Subscribe: List-Help: List-Post: List-Id: "Struts Users Mailing List" Reply-To: "Struts Users Mailing List" Delivered-To: mailing list struts-user@jakarta.apache.org Received: (qmail 96132 invoked from network); 30 Jul 2003 23:22:14 -0000 Received: from defout.telus.net (HELO priv-edtnes47.telusplanet.net) (199.185.220.240) by daedalus.apache.org with SMTP; 30 Jul 2003 23:22:14 -0000 Received: from ninsky ([207.6.30.131]) by priv-edtnes47.telusplanet.net (InterMail vM.5.01.05.17 201-253-122-126-117-20021021) with SMTP id <20030730232221.PSND18278.priv-edtnes47.telusplanet.net@ninsky> for ; Wed, 30 Jul 2003 17:22:21 -0600 Reply-To: From: "Steve Raeburn" To: "Struts Users Mailing List" Subject: RE: struts-el example app not working? Date: Wed, 30 Jul 2003 16:22:22 -0700 Message-ID: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook IMO, Build 9.0.6604 (9.0.2911.0) In-Reply-To: <001301c356ef$3013ead0$c1b63b80@law.columbia.edu> X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 Importance: Normal X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N X-Spam-Rating: daedalus.apache.org 1.6.2 0/1000/N The URI is not the problem, it's exactly the same as mine (as it would be if the example hasn't been modified :-)) This is mine: <%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html-el" %> This may also be valid, depending on what (if anything) you've got configured in web.xml <%@ taglib uri="http://jakarta.apache.org/struts/tags-html-el" prefix="html-el" %> Steve > -----Original Message----- > From: Alex Shneyderman [mailto:alex@law.columbia.edu] > Sent: July 30, 2003 4:06 PM > To: 'Struts Users Mailing List' > Subject: RE: struts-el example app not working? > > > You uri look suspicious. I think it has to read something along > <%@ taglib uri="http://jakarta.apache.org/struts/tags-html-el" > prefix="html-el" %> > > open up the jar, in META-INF dir there is a bunch of TLDs just read off > the uris from there. > > > > -----Original Message----- > > From: struts [mailto:struts@childrencare.com] > > Sent: Wednesday, July 30, 2003 6:52 PM > > To: struts-user@jakarta.apache.org > > Subject: struts-el example app not working? > > > > Hello, > > > > When testing the struts-el example I get the following error. The > > problem goes away > > if I remove: > > > > <%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html-el" %> > > > > Of course this is useless because the html-el tags do not function. > > > > I have even tried incorporating the struts-html-el in my own app and > > included all jars from the struts 1.1 release, defined the el tld's in > my > > web.xml and I get the same exact error. Same partial solution if > > I remove the > > > > <%@ taglib uri="/WEB-INF/struts-html-el.tld" prefix="html-el" %> > > > > the error goes away and the jsp page is displayed and of course > without > > the properly generated html. > > > > Appreciate any suggestions.... > > > > Barry > > > > > > I get the following error: > > > > index.jsp [-1:-1] java.lang.ExceptionInInitializerError > > at java.lang.Class.forName0(Native Method) > > at java.lang.Class.forName(Class.java:141) > > at > > > org.apache.strutsel.taglib.html.ELLinkTagBeanInfo.class$(ELLinkTagBeanIn > fo > > .java:88) > > at > > > org.apache.strutsel.taglib.html.ELLinkTagBeanInfo.getPropertyDescriptors > (E > > LLinkTagBeanInfo.java:88) > > at > > java.beans.Introspector.getTargetPropertyInfo(Introspector.java:459) > > at java.beans.Introspector.getBeanInfo(Introspector.java:372) > > at java.beans.Introspector.getBeanInfo(Introspector.java:144) > > at > > > org.apache.jasper.compiler.TagCache.setTagHandlerClass(TagCache.java:116 > ) > > at > > > org.apache.jasper.compiler.TagBeginGenerator.init(TagBeginGenerator.java > :1 > > 46) > > at > > > org.netbeans.modules.web.jspparser.AnalyzerParseEventListener.addGenerat > or > > (AnalyzerParseEventListener.java:154) > > at > > > org.netbeans.modules.web.jspparser.AnalyzerParseEventListener.handleTagB > eg > > in(AnalyzerParseEventListener.java:962) > > at > > > org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingL > is > > tener.java:221) > > at > > > org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingL > is > > tener.java:216) > > at > org.apache.jasper.compiler.Parser$Tag.accept(Parser.java:878) > > at org.apache.jasper.compiler.Parser.parse(Parser.java:1145) > > at org.apache.jasper.compiler.Parser.parse(Parser.java:1103) > > at org.apache.jasper.compiler.Parser.parse(Parser.java:1099) > > at > > > org.apache.jasper.compiler.ParserController.parse(ParserController.java: > 21 > > 4) > > at > > > org.netbeans.modules.web.jspparser.JspParserImpl.callTomcatParser(JspPar > se > > rImpl.java:126) > > at > > > org.netbeans.modules.web.jspparser.JspParserImpl.analyzePage(JspParserIm > pl > > .java:93) > > at > > > org.netbeans.modules.web.core.jsploader.JspDataObject.createCompiler(Jsp > Da > > taObject.java:297) > > at > > > org.netbeans.modules.web.core.jsploader.JspCompilerSupport.addToJob(JspC > om > > pilerSupport.java:62) > > at > > > org.openide.actions.AbstractCompileAction.prepareJobFor(AbstractCompileA > ct > > ion.java:361) > > at > > > org.openide.actions.AbstractCompileAction.createJob(AbstractCompileActio > n. > > java:198) > > at > > > org.openide.actions.AbstractCompileAction.compile(AbstractCompileAction. > ja > > va:209) > > at > > > org.netbeans.modules.tomcat.tomcat40.autocompile.CompileServlet.processR > eq > > uest(CompileServlet.java:76) > > at > > > org.netbeans.modules.tomcat.tomcat40.autocompile.CompileServlet.doGet(Co > mp > > ileServlet.java:122) > > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:740) > > at > javax.servlet.http.HttpServlet.service(HttpServlet.java:853) > > at > > > org.apache.tomcat.core.ServletWrapper.doService(ServletWrapper.java:404) > > at org.apache.tomcat.core.Handler.service(Handler.java:286) > > at > > org.apache.tomcat.core.ServletWrapper.service(ServletWrapper.java:372) > > at > > > org.apache.tomcat.core.ContextManager.internalService(ContextManager.jav > a: > > 797) > > at > > org.apache.tomcat.core.ContextManager.service(ContextManager.java:743) > > at > > > org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(H > tt > > pConnectionHandler.java:210) > > at > > > org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416 > ) > > at > > > org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:49 > 8) > > at java.lang.Thread.run(Thread.java:534) > > Caused by: java.lang.NullPointerException > > at > > > org.apache.struts.util.MessageResources.getMessageResources(MessageResou > rc > > es.java:577) > > at > > > org.apache.struts.taglib.html.BaseHandlerTag.(BaseHandlerTag.jav > a: > > 108) > > ... 38 more > > Errors compiling index. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org > For additional commands, e-mail: struts-user-help@jakarta.apache.org > > > --------------------------------------------------------------------- To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org For additional commands, e-mail: struts-user-help@jakarta.apache.org