You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@struts.apache.org by struts <st...@childrencare.com> on 2003/07/31 00:51:38 UTC

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$(ELLinkTagBeanInfo.java:88)
        at org.apache.strutsel.taglib.html.ELLinkTagBeanInfo.getPropertyDescriptors(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(TagBeginGenerator.java:146)
        at org.netbeans.modules.web.jspparser.AnalyzerParseEventListener.addGenerator(AnalyzerParseEventListener.java:154)
        at org.netbeans.modules.web.jspparser.AnalyzerParseEventListener.handleTagBegin(AnalyzerParseEventListener.java:962)
        at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.java:221)
        at org.apache.jasper.compiler.DelegatingListener.handleTagBegin(DelegatingListener.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(JspParserImpl.java:93)
        at org.netbeans.modules.web.core.jsploader.JspDataObject.createCompiler(JspDataObject.java:297)
        at org.netbeans.modules.web.core.jsploader.JspCompilerSupport.addToJob(JspCompilerSupport.java:62)
        at org.openide.actions.AbstractCompileAction.prepareJobFor(AbstractCompileAction.java:361)
        at org.openide.actions.AbstractCompileAction.createJob(AbstractCompileAction.java:198)
        at org.openide.actions.AbstractCompileAction.compile(AbstractCompileAction.java:209)
        at org.netbeans.modules.tomcat.tomcat40.autocompile.CompileServlet.processRequest(CompileServlet.java:76)
        at org.netbeans.modules.tomcat.tomcat40.autocompile.CompileServlet.doGet(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(ContextManager.java:797)
        at org.apache.tomcat.core.ContextManager.service(ContextManager.java:743)
        at org.apache.tomcat.service.http.HttpConnectionHandler.processConnection(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(MessageResources.java:577)
        at org.apache.struts.taglib.html.BaseHandlerTag.<clinit>(BaseHandlerTag.java:108)
        ... 38 more
Errors compiling index.

Re: struts-el example app not working?

Posted by struts <st...@childrencare.com>.
I guess I can answer my own question.  Full integraton compiles the JSP
(runs faster).  Minimum integration does not compile the JSP (runs slower).

Barry


----- Original Message -----
From: "struts" <st...@childrencare.com>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>;
<sr...@apache.org>
Sent: Thursday, July 31, 2003 11:32 AM
Subject: Re: struts-el example app not working?


> Hi Steve,
>
> Going from Full Integration to minimum works as you describe.  As I am
> coming up to speed on the IDE what impact does changing the Integration
have
> on development.
>
> Thanks,
> Barry
>
>
>
> ----- Original Message -----
> From: "Steve Raeburn" <sr...@apache.org>
> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> Sent: Wednesday, July 30, 2003 10:09 PM
> Subject: RE: struts-el example app not working?
>
>
> > Well, I managed to get it running but I'm definitely not a convert to
> > Netbeans :-(
> >
> >   - In Netbeans, go to the Runtime tab and expand the Explorer view
until
> > you see the 'Internal Tomcat' server.
> >   - Right click on it and change the IDE Integration Mode from Full to
> > Minimum.
> >
> > That seems to get it working. You could also look at the External Tomcat
> > Server feature as an alternative. There's information in the application
> > Help.
> >
> > I think this <http://www.netbeans.org/issues/show_bug.cgi?id=32425> is
the
> > cause of the problem. In any case, this issue is with Netbeans
integration
> > of Tomcat and not with Struts.
> >
> > Related information:
> > James Mitchell has written a guide to setting up a Struts project in
> > Netbeans (version 3.4)
> > <http://jakarta.apache.org/struts/faqs/netbeans.html>. He's using Ant to
> > build and deploy the web application so that probably gets round the
> > problems by avoiding the IDE's build/deploy features.
> >
> > If you have access to WebSphere Studio it is IMHO a *much* more pleasant
> > experience than Netbeans and importing a WAR is straightforward. I
haven't
> > tried Eclipse (on which Websphere Studio is based) with the Sysdeo
plugin
> > for Tomcat, but that would be a cheaper (free!) option than WS Studio.
> >
> > Hope this works for you... now where's that uninstall option :-)
> >
> > Steve
> >
> > > -----Original Message-----
> > > From: Steve Raeburn [mailto:sraeburn@apache.org]
> > > Sent: July 30, 2003 7:12 PM
> > > To: Struts Users Mailing List
> > > Subject: RE: struts-el example app not working?
> > >
> > >
> > > I'll try to take a look at Netbeans sometime, but it may not be for a
> few
> > > days. If I have any success I'll post back to the list and copy
> > > you. If, in
> > > the meantime you find the problem, do post the result here.
> > >
> > > Steve
> > >
> > > > -----Original Message-----
> > > > From: struts [mailto:struts@childrencare.com]
> > > > Sent: July 30, 2003 5:51 PM
> > > > To: Struts Users Mailing List; sraeburn@apache.org
> > > > Subject: Re: struts-el example app not working?
> > > >
> > > >
> > > > Yep the stand alone (Tomcat 4.1) works fine.  Just install the
> > > > struts-el-exercise-taglib.war through
> > > > the tomcat manager and no problems.
> > > > Barry
> > > >
> > > > ----- Original Message -----
> > > > From: "Steve Raeburn" <sr...@apache.org>
> > > > To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> > > > Sent: Wednesday, July 30, 2003 4:27 PM
> > > > Subject: RE: struts-el example app not working?
> > > >
> > > >
> > > > > 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" <sr...@apache.org>
> > > > > > To: "Struts Users Mailing List" <st...@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
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > 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
> >
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> 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


RE: struts-el example app not working?

Posted by Steve Raeburn <sr...@apache.org>.
Help > Contents >Core IDE Help > Tomcat Plugin > Tomcat Installation Node >
Setting Tomcat Installation Node Properties:

"IDE Integration Mode. Use this property to choose an IDE integration mode.
The default value is Full. In Minimum mode, the IDE will not modify the
configuration file in any way except those changes required to deploy your
web module. In this mode, some features of the IDE will be unavailable,
including HTTP monitoring and JSP debugging. In Full mode, all web module
development features are available, including HTTP monitoring, JSP
compilation, and JSP debugging. The web.xml file in your server will be
modified to support these features. To set IDE Integration mode, click on
the ellipses (...) in the right-hand column of the IDE Integration Mode row
and choose the appropriate button in the property editor."

Now you know as much as I do ;-)

Steve

> -----Original Message-----
> From: struts [mailto:struts@childrencare.com]
> Sent: July 31, 2003 11:32 AM
> To: Struts Users Mailing List; sraeburn@apache.org
> Subject: Re: struts-el example app not working?
>
>
> Hi Steve,
>
> Going from Full Integration to minimum works as you describe.  As I am
> coming up to speed on the IDE what impact does changing the
> Integration have
> on development.
>
> Thanks,
> Barry
>
>
>
> ----- Original Message -----
> From: "Steve Raeburn" <sr...@apache.org>
> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> Sent: Wednesday, July 30, 2003 10:09 PM
> Subject: RE: struts-el example app not working?
>
>
> > Well, I managed to get it running but I'm definitely not a convert to
> > Netbeans :-(
> >
> >   - In Netbeans, go to the Runtime tab and expand the Explorer
> view until
> > you see the 'Internal Tomcat' server.
> >   - Right click on it and change the IDE Integration Mode from Full to
> > Minimum.
> >
> > That seems to get it working. You could also look at the External Tomcat
> > Server feature as an alternative. There's information in the application
> > Help.
> >
> > I think this
> <http://www.netbeans.org/issues/show_bug.cgi?id=32425> is the
> > cause of the problem. In any case, this issue is with Netbeans
> integration
> > of Tomcat and not with Struts.
> >
> > Related information:
> > James Mitchell has written a guide to setting up a Struts project in
> > Netbeans (version 3.4)
> > <http://jakarta.apache.org/struts/faqs/netbeans.html>. He's using Ant to
> > build and deploy the web application so that probably gets round the
> > problems by avoiding the IDE's build/deploy features.
> >
> > If you have access to WebSphere Studio it is IMHO a *much* more pleasant
> > experience than Netbeans and importing a WAR is
> straightforward. I haven't
> > tried Eclipse (on which Websphere Studio is based) with the
> Sysdeo plugin
> > for Tomcat, but that would be a cheaper (free!) option than WS Studio.
> >
> > Hope this works for you... now where's that uninstall option :-)
> >
> > Steve
> >
> > > -----Original Message-----
> > > From: Steve Raeburn [mailto:sraeburn@apache.org]
> > > Sent: July 30, 2003 7:12 PM
> > > To: Struts Users Mailing List
> > > Subject: RE: struts-el example app not working?
> > >
> > >
> > > I'll try to take a look at Netbeans sometime, but it may not be for a
> few
> > > days. If I have any success I'll post back to the list and copy
> > > you. If, in
> > > the meantime you find the problem, do post the result here.
> > >
> > > Steve
> > >
> > > > -----Original Message-----
> > > > From: struts [mailto:struts@childrencare.com]
> > > > Sent: July 30, 2003 5:51 PM
> > > > To: Struts Users Mailing List; sraeburn@apache.org
> > > > Subject: Re: struts-el example app not working?
> > > >
> > > >
> > > > Yep the stand alone (Tomcat 4.1) works fine.  Just install the
> > > > struts-el-exercise-taglib.war through
> > > > the tomcat manager and no problems.
> > > > Barry
> > > >
> > > > ----- Original Message -----
> > > > From: "Steve Raeburn" <sr...@apache.org>
> > > > To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> > > > Sent: Wednesday, July 30, 2003 4:27 PM
> > > > Subject: RE: struts-el example app not working?
> > > >
> > > >
> > > > > 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" <sr...@apache.org>
> > > > > > To: "Struts Users Mailing List" <st...@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
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > > >
> ---------------------------------------------------------------------
> > > > 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
> >
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> 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


Re: struts-el example app not working?

Posted by struts <st...@childrencare.com>.
Hi Steve,

Going from Full Integration to minimum works as you describe.  As I am
coming up to speed on the IDE what impact does changing the Integration have
on development.

Thanks,
Barry



----- Original Message -----
From: "Steve Raeburn" <sr...@apache.org>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Wednesday, July 30, 2003 10:09 PM
Subject: RE: struts-el example app not working?


> Well, I managed to get it running but I'm definitely not a convert to
> Netbeans :-(
>
>   - In Netbeans, go to the Runtime tab and expand the Explorer view until
> you see the 'Internal Tomcat' server.
>   - Right click on it and change the IDE Integration Mode from Full to
> Minimum.
>
> That seems to get it working. You could also look at the External Tomcat
> Server feature as an alternative. There's information in the application
> Help.
>
> I think this <http://www.netbeans.org/issues/show_bug.cgi?id=32425> is the
> cause of the problem. In any case, this issue is with Netbeans integration
> of Tomcat and not with Struts.
>
> Related information:
> James Mitchell has written a guide to setting up a Struts project in
> Netbeans (version 3.4)
> <http://jakarta.apache.org/struts/faqs/netbeans.html>. He's using Ant to
> build and deploy the web application so that probably gets round the
> problems by avoiding the IDE's build/deploy features.
>
> If you have access to WebSphere Studio it is IMHO a *much* more pleasant
> experience than Netbeans and importing a WAR is straightforward. I haven't
> tried Eclipse (on which Websphere Studio is based) with the Sysdeo plugin
> for Tomcat, but that would be a cheaper (free!) option than WS Studio.
>
> Hope this works for you... now where's that uninstall option :-)
>
> Steve
>
> > -----Original Message-----
> > From: Steve Raeburn [mailto:sraeburn@apache.org]
> > Sent: July 30, 2003 7:12 PM
> > To: Struts Users Mailing List
> > Subject: RE: struts-el example app not working?
> >
> >
> > I'll try to take a look at Netbeans sometime, but it may not be for a
few
> > days. If I have any success I'll post back to the list and copy
> > you. If, in
> > the meantime you find the problem, do post the result here.
> >
> > Steve
> >
> > > -----Original Message-----
> > > From: struts [mailto:struts@childrencare.com]
> > > Sent: July 30, 2003 5:51 PM
> > > To: Struts Users Mailing List; sraeburn@apache.org
> > > Subject: Re: struts-el example app not working?
> > >
> > >
> > > Yep the stand alone (Tomcat 4.1) works fine.  Just install the
> > > struts-el-exercise-taglib.war through
> > > the tomcat manager and no problems.
> > > Barry
> > >
> > > ----- Original Message -----
> > > From: "Steve Raeburn" <sr...@apache.org>
> > > To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> > > Sent: Wednesday, July 30, 2003 4:27 PM
> > > Subject: RE: struts-el example app not working?
> > >
> > >
> > > > 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" <sr...@apache.org>
> > > > > To: "Struts Users Mailing List" <st...@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
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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
>
>
>
>



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


Re: struts-el example app not working?

Posted by struts <st...@childrencare.com>.
Hue,

I followed Brian's steps (repost of thread below).  It does work.  I can run
in full integration now.

Hi Brian,

Great stuff! Yes, it now works for me, too. I narrowed it down to the
following jars that need to be added to the netbeans/lib directory:

>From Struts:
struts.jar
struts-el.jar
commons-logging.jar

>From bundled TC installation:
servlet.jar

I'm not sure whether it only requires these jars because it is a simple test
project and more complex projects may require more jars but I'm impressed
that you've got it to work!

Are you going to raise this at netbeans as a bug report, as to be honest it
does look more and more as an issue with netbeans?

Hue.




----- Original Message -----
From: "Hue Holleran" <st...@openAction.net>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Cc: <st...@childrencare.com>
Sent: Thursday, July 31, 2003 1:44 AM
Subject: RE: struts-el example app not working?


> Yep, I've been bitten by this one too. There are a few workarounds:
>
> 1) Change the JSP compiler to not compile JSPs:
> http://marc.theaimsgroup.com/?l=struts-user&m=105334711431267&w=2
>
> 2) Workaround by Brian Cross (at end of this thread) - this works well for
> us:
> http://marc.theaimsgroup.com/?l=struts-user&m=105147011604944&w=2
>
> Hope that helps.
>
> Hue.
>
> > -----Original Message-----
> > From: Steve Raeburn [mailto:sraeburn@apache.org]
> > Sent: 31 July 2003 06:10
> > To: Struts Users Mailing List
> > Subject: RE: struts-el example app not working?
> >
> >
> > Well, I managed to get it running but I'm definitely not a convert to
> > Netbeans :-(
> >
> >   - In Netbeans, go to the Runtime tab and expand the Explorer view
until
> > you see the 'Internal Tomcat' server.
> >   - Right click on it and change the IDE Integration Mode from Full to
> > Minimum.
> >
> > That seems to get it working. You could also look at the External Tomcat
> > Server feature as an alternative. There's information in the application
> > Help.
> >
> > I think this <http://www.netbeans.org/issues/show_bug.cgi?id=32425> is
the
> > cause of the problem. In any case, this issue is with Netbeans
integration
> > of Tomcat and not with Struts.
> >
> > Related information:
> > James Mitchell has written a guide to setting up a Struts project in
> > Netbeans (version 3.4)
> > <http://jakarta.apache.org/struts/faqs/netbeans.html>. He's using Ant to
> > build and deploy the web application so that probably gets round the
> > problems by avoiding the IDE's build/deploy features.
> >
> > If you have access to WebSphere Studio it is IMHO a *much* more pleasant
> > experience than Netbeans and importing a WAR is straightforward. I
haven't
> > tried Eclipse (on which Websphere Studio is based) with the Sysdeo
plugin
> > for Tomcat, but that would be a cheaper (free!) option than WS Studio.
> >
> > Hope this works for you... now where's that uninstall option :-)
> >
> > Steve
> >
> > > -----Original Message-----
> > > From: Steve Raeburn [mailto:sraeburn@apache.org]
> > > Sent: July 30, 2003 7:12 PM
> > > To: Struts Users Mailing List
> > > Subject: RE: struts-el example app not working?
> > >
> > >
> > > I'll try to take a look at Netbeans sometime, but it may not be
> > for a few
> > > days. If I have any success I'll post back to the list and copy
> > > you. If, in
> > > the meantime you find the problem, do post the result here.
> > >
> > > Steve
> > >
> > > > -----Original Message-----
> > > > From: struts [mailto:struts@childrencare.com]
> > > > Sent: July 30, 2003 5:51 PM
> > > > To: Struts Users Mailing List; sraeburn@apache.org
> > > > Subject: Re: struts-el example app not working?
> > > >
> > > >
> > > > Yep the stand alone (Tomcat 4.1) works fine.  Just install the
> > > > struts-el-exercise-taglib.war through
> > > > the tomcat manager and no problems.
> > > > Barry
> > > >
> > > > ----- Original Message -----
> > > > From: "Steve Raeburn" <sr...@apache.org>
> > > > To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> > > > Sent: Wednesday, July 30, 2003 4:27 PM
> > > > Subject: RE: struts-el example app not working?
> > > >
> > > >
> > > > > 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" <sr...@apache.org>
> > > > > > To: "Struts Users Mailing List" <st...@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
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > >
> > >
> ---------------------------------------------------------------------
> > > > 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
> >
> >
> > ---
> > Incoming mail is certified Virus Free.
> > Checked by AVG anti-virus system (http://www.grisoft.com).
> > Version: 6.0.505 / Virus Database: 302 - Release Date: 30/07/2003
> >
> ---
> Outgoing mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.505 / Virus Database: 302 - Release Date: 30/07/2003
>
>
> ---------------------------------------------------------------------
> 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


RE: struts-el example app not working?

Posted by Hue Holleran <st...@openAction.net>.
Yep, I've been bitten by this one too. There are a few workarounds:

1) Change the JSP compiler to not compile JSPs:
http://marc.theaimsgroup.com/?l=struts-user&m=105334711431267&w=2

2) Workaround by Brian Cross (at end of this thread) - this works well for
us:
http://marc.theaimsgroup.com/?l=struts-user&m=105147011604944&w=2

Hope that helps.

Hue.

> -----Original Message-----
> From: Steve Raeburn [mailto:sraeburn@apache.org]
> Sent: 31 July 2003 06:10
> To: Struts Users Mailing List
> Subject: RE: struts-el example app not working?
>
>
> Well, I managed to get it running but I'm definitely not a convert to
> Netbeans :-(
>
>   - In Netbeans, go to the Runtime tab and expand the Explorer view until
> you see the 'Internal Tomcat' server.
>   - Right click on it and change the IDE Integration Mode from Full to
> Minimum.
>
> That seems to get it working. You could also look at the External Tomcat
> Server feature as an alternative. There's information in the application
> Help.
>
> I think this <http://www.netbeans.org/issues/show_bug.cgi?id=32425> is the
> cause of the problem. In any case, this issue is with Netbeans integration
> of Tomcat and not with Struts.
>
> Related information:
> James Mitchell has written a guide to setting up a Struts project in
> Netbeans (version 3.4)
> <http://jakarta.apache.org/struts/faqs/netbeans.html>. He's using Ant to
> build and deploy the web application so that probably gets round the
> problems by avoiding the IDE's build/deploy features.
>
> If you have access to WebSphere Studio it is IMHO a *much* more pleasant
> experience than Netbeans and importing a WAR is straightforward. I haven't
> tried Eclipse (on which Websphere Studio is based) with the Sysdeo plugin
> for Tomcat, but that would be a cheaper (free!) option than WS Studio.
>
> Hope this works for you... now where's that uninstall option :-)
>
> Steve
>
> > -----Original Message-----
> > From: Steve Raeburn [mailto:sraeburn@apache.org]
> > Sent: July 30, 2003 7:12 PM
> > To: Struts Users Mailing List
> > Subject: RE: struts-el example app not working?
> >
> >
> > I'll try to take a look at Netbeans sometime, but it may not be
> for a few
> > days. If I have any success I'll post back to the list and copy
> > you. If, in
> > the meantime you find the problem, do post the result here.
> >
> > Steve
> >
> > > -----Original Message-----
> > > From: struts [mailto:struts@childrencare.com]
> > > Sent: July 30, 2003 5:51 PM
> > > To: Struts Users Mailing List; sraeburn@apache.org
> > > Subject: Re: struts-el example app not working?
> > >
> > >
> > > Yep the stand alone (Tomcat 4.1) works fine.  Just install the
> > > struts-el-exercise-taglib.war through
> > > the tomcat manager and no problems.
> > > Barry
> > >
> > > ----- Original Message -----
> > > From: "Steve Raeburn" <sr...@apache.org>
> > > To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> > > Sent: Wednesday, July 30, 2003 4:27 PM
> > > Subject: RE: struts-el example app not working?
> > >
> > >
> > > > 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" <sr...@apache.org>
> > > > > To: "Struts Users Mailing List" <st...@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
> > > >
> > > >
> > > >
> > > >
> > >
> > >
> > >
> > > ---------------------------------------------------------------------
> > > 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
>
>
> ---
> Incoming mail is certified Virus Free.
> Checked by AVG anti-virus system (http://www.grisoft.com).
> Version: 6.0.505 / Virus Database: 302 - Release Date: 30/07/2003
>
---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.505 / Virus Database: 302 - Release Date: 30/07/2003


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


RE: struts-el example app not working?

Posted by Steve Raeburn <sr...@apache.org>.
Well, I managed to get it running but I'm definitely not a convert to
Netbeans :-(

  - In Netbeans, go to the Runtime tab and expand the Explorer view until
you see the 'Internal Tomcat' server.
  - Right click on it and change the IDE Integration Mode from Full to
Minimum.

That seems to get it working. You could also look at the External Tomcat
Server feature as an alternative. There's information in the application
Help.

I think this <http://www.netbeans.org/issues/show_bug.cgi?id=32425> is the
cause of the problem. In any case, this issue is with Netbeans integration
of Tomcat and not with Struts.

Related information:
James Mitchell has written a guide to setting up a Struts project in
Netbeans (version 3.4)
<http://jakarta.apache.org/struts/faqs/netbeans.html>. He's using Ant to
build and deploy the web application so that probably gets round the
problems by avoiding the IDE's build/deploy features.

If you have access to WebSphere Studio it is IMHO a *much* more pleasant
experience than Netbeans and importing a WAR is straightforward. I haven't
tried Eclipse (on which Websphere Studio is based) with the Sysdeo plugin
for Tomcat, but that would be a cheaper (free!) option than WS Studio.

Hope this works for you... now where's that uninstall option :-)

Steve

> -----Original Message-----
> From: Steve Raeburn [mailto:sraeburn@apache.org]
> Sent: July 30, 2003 7:12 PM
> To: Struts Users Mailing List
> Subject: RE: struts-el example app not working?
>
>
> I'll try to take a look at Netbeans sometime, but it may not be for a few
> days. If I have any success I'll post back to the list and copy
> you. If, in
> the meantime you find the problem, do post the result here.
>
> Steve
>
> > -----Original Message-----
> > From: struts [mailto:struts@childrencare.com]
> > Sent: July 30, 2003 5:51 PM
> > To: Struts Users Mailing List; sraeburn@apache.org
> > Subject: Re: struts-el example app not working?
> >
> >
> > Yep the stand alone (Tomcat 4.1) works fine.  Just install the
> > struts-el-exercise-taglib.war through
> > the tomcat manager and no problems.
> > Barry
> >
> > ----- Original Message -----
> > From: "Steve Raeburn" <sr...@apache.org>
> > To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> > Sent: Wednesday, July 30, 2003 4:27 PM
> > Subject: RE: struts-el example app not working?
> >
> >
> > > 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" <sr...@apache.org>
> > > > To: "Struts Users Mailing List" <st...@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
> > >
> > >
> > >
> > >
> >
> >
> >
> > ---------------------------------------------------------------------
> > 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


RE: struts-el example app not working?

Posted by Steve Raeburn <sr...@apache.org>.
I'll try to take a look at Netbeans sometime, but it may not be for a few
days. If I have any success I'll post back to the list and copy you. If, in
the meantime you find the problem, do post the result here.

Steve

> -----Original Message-----
> From: struts [mailto:struts@childrencare.com]
> Sent: July 30, 2003 5:51 PM
> To: Struts Users Mailing List; sraeburn@apache.org
> Subject: Re: struts-el example app not working?
>
>
> Yep the stand alone (Tomcat 4.1) works fine.  Just install the
> struts-el-exercise-taglib.war through
> the tomcat manager and no problems.
> Barry
>
> ----- Original Message -----
> From: "Steve Raeburn" <sr...@apache.org>
> To: "Struts Users Mailing List" <st...@jakarta.apache.org>
> Sent: Wednesday, July 30, 2003 4:27 PM
> Subject: RE: struts-el example app not working?
>
>
> > 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" <sr...@apache.org>
> > > To: "Struts Users Mailing List" <st...@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
> >
> >
> >
> >
>
>
>
> ---------------------------------------------------------------------
> 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


Re: struts-el example app not working?

Posted by struts <st...@childrencare.com>.
Yep the stand alone (Tomcat 4.1) works fine.  Just install the
struts-el-exercise-taglib.war through
the tomcat manager and no problems.
Barry

----- Original Message -----
From: "Steve Raeburn" <sr...@apache.org>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Wednesday, July 30, 2003 4:27 PM
Subject: RE: struts-el example app not working?


> 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" <sr...@apache.org>
> > To: "Struts Users Mailing List" <st...@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
>
>
>
>



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


Re: struts-el example app not working?

Posted by struts <st...@childrencare.com>.
May have to give that a try.

Thanks,
Barry
----- Original Message -----
From: "Steve Raeburn" <sr...@apache.org>
To: "Struts Users Mailing List" <st...@jakarta.apache.org>
Sent: Wednesday, July 30, 2003 4:27 PM
Subject: RE: struts-el example app not working?


> 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" <sr...@apache.org>
> > To: "Struts Users Mailing List" <st...@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
>
>
>
>



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


RE: struts-el example app not working?

Posted by Steve Raeburn <sr...@apache.org>.
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" <sr...@apache.org>
> To: "Struts Users Mailing List" <st...@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


Re: struts-el example app not working?

Posted by struts <st...@childrencare.com>.
I am running Tomcat 4.0xx
(using netbeans 3.5 with Tomcat bundle)

Barry



----- Original Message -----
From: "Steve Raeburn" <sr...@apache.org>
To: "Struts Users Mailing List" <st...@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


RE: struts-el example app not working?

Posted by Steve Raeburn <sr...@apache.org>.
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


RE: struts-el example app not working?

Posted by Steve Raeburn <sr...@apache.org>.
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.<clinit>(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


RE: struts-el example app not working?

Posted by Alex Shneyderman <al...@law.columbia.edu>.
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.<clinit>(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