struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Steve Raeburn" <sraeb...@apache.org>
Subject RE: struts-el example app not working?
Date Wed, 30 Jul 2003 23:27:53 GMT
4.0.6 works for me. I don't remember the details, but I *think* Netbeans has
cropped up as a problem before.
If you can, try it with a standalone version of Tomcat and check the mail
archives for Netbeans issues.

Steve


> -----Original Message-----
> From: struts [mailto:struts@childrencare.com]
> Sent: July 30, 2003 4:06 PM
> To: Struts Users Mailing List; sraeburn@apache.org
> Subject: Re: struts-el example app not working?
>
>
> I am running Tomcat 4.0xx
> (using netbeans 3.5 with Tomcat bundle)
>
> Barry
>
>
>
> ----- Original Message -----
> From: "Steve Raeburn" <sraeburn@apache.org>
> To: "Struts Users Mailing List" <struts-user@jakarta.apache.org>
> Sent: Wednesday, July 30, 2003 4:03 PM
> Subject: RE: struts-el example app not working?
>
>
> > Works fine for me with the 1.1 release version on Tomcat 4.1.24.
> >
> > What container are you running on?
> >
> > Steve
> >
> > > -----Original Message-----
> > > From: struts [mailto:struts@childrencare.com]
> > > Sent: July 30, 2003 3: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$(ELLinkTag
> > > BeanInfo.java:88)
> > >         at
> > > org.apache.strutsel.taglib.html.ELLinkTagBeanInfo.getPropertyDescr
> > > iptors(ELLinkTagBeanInfo.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(TagBeginGenerato
> > > r.java:146)
> > >         at
> > > org.netbeans.modules.web.jspparser.AnalyzerParseEventListener.addG
> > > enerator(AnalyzerParseEventListener.java:154)
> > >         at
> > > org.netbeans.modules.web.jspparser.AnalyzerParseEventListener.hand
> > > leTagBegin(AnalyzerParseEventListener.java:962)
> > >         at
> > > org.apache.jasper.compiler.DelegatingListener.handleTagBegin(Deleg
> > > atingListener.java:221)
> > >         at
> > > org.apache.jasper.compiler.DelegatingListener.handleTagBegin(Deleg
> > > atingListener.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:214)
> > >         at
> > > org.netbeans.modules.web.jspparser.JspParserImpl.callTomcatParser(
> > > JspParserImpl.java:126)
> > >         at
> > > org.netbeans.modules.web.jspparser.JspParserImpl.analyzePage(JspPa
> > > rserImpl.java:93)
> > >         at
> > > org.netbeans.modules.web.core.jsploader.JspDataObject.createCompil
> > > er(JspDataObject.java:297)
> > >         at
> > > org.netbeans.modules.web.core.jsploader.JspCompilerSupport.addToJo
> > > b(JspCompilerSupport.java:62)
> > >         at
> > > org.openide.actions.AbstractCompileAction.prepareJobFor(AbstractCo
> > > mpileAction.java:361)
> > >         at
> > > org.openide.actions.AbstractCompileAction.createJob(AbstractCompil
> > > eAction.java:198)
> > >         at
> > > org.openide.actions.AbstractCompileAction.compile(AbstractCompileA
> > > ction.java:209)
> > >         at
> > > org.netbeans.modules.tomcat.tomcat40.autocompile.CompileServlet.pr
> > > ocessRequest(CompileServlet.java:76)
> > >         at
> > > org.netbeans.modules.tomcat.tomcat40.autocompile.CompileServlet.do
> > > Get(CompileServlet.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(ContextManag
> > > er.java:797)
> > >         at
> > > org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
> > >         at
> > > org.apache.tomcat.service.http.HttpConnectionHandler.processConnec
> > > tion(HttpConnectionHandler.java:210)
> > >         at
> > >
> org.apache.tomcat.service.TcpWorkerThread.runIt(PoolTcpEndpoint.java:416)
> > >         at
> > >
> org.apache.tomcat.util.ThreadPool$ControlRunnable.run(ThreadPool.java:498)
> > >         at java.lang.Thread.run(Thread.java:534)
> > > Caused by: java.lang.NullPointerException
> > >         at
> > > org.apache.struts.util.MessageResources.getMessageResources(Messag
> > > eResources.java:577)
> > >         at
> > > org.apache.struts.taglib.html.BaseHandlerTag.<clinit>(BaseHandlerT
> > > ag.java: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
>
>
>



---------------------------------------------------------------------
To unsubscribe, e-mail: struts-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-user-help@jakarta.apache.org


Mime
View raw message