You don't need to use Struts-EL with Tomcat 5, if you're using JSP 2.0.
In fact, it won't work.  I don't know what this particular exception is,
but you can avoid this situation entirely by just not doing it.

> -----Original Message-----
> From: John C Cartwright [mailto:[EMAIL PROTECTED] 
> 
> Hello All,
> 
> I tried deploying the example webapp that comes with the 
> contrib/struts-el taglibs and am getting the following exception 
> accessing the index.jsp:
> 
> java.lang.NullPointerException
>       org.apache.struts.taglib.TagUtils.pageURL(TagUtils.java:1114)
>       
> org.apache.struts.taglib.TagUtils.computeURLWithCharEncoding(T
> agUtils.java:466)
>       
> org.apache.struts.taglib.TagUtils.computeURLWithCharEncoding(T
> agUtils.java:329)
>       
> org.apache.struts.taglib.html.LinkTag.calculateURL(LinkTag.java:475)
>       
> org.apache.struts.taglib.html.LinkTag.doStartTag(LinkTag.java:334)
>       
> org.apache.strutsel.taglib.html.ELLinkTag.doStartTag(ELLinkTag
> .java:666)
>       
> org.apache.jsp.index_jsp._jspx_meth_html$1el_link_0(index_jsp.
> java:146)
>       org.apache.jsp.index_jsp._jspService(index_jsp.java:118)
>       
> org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:94)
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
>       
> org.apache.jasper.servlet.JspServletWrapper.service(JspServlet
> Wrapper.java:298)
>       
> org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet
> .java:292)
>       
> org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
>       javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
> 
> 
> Can anyone suggest what the problem might be?  Struts version 1.2.4, 
> Tomcat 5.0.25.
> 
> Thanks!
> 
> -- john
> 
> =====================================================
> John Cartwright
> Associate Scientist
> Geospatial Data Services Group
> CIRES, National Geophysical Data Center/NOAA
> (303) 497-6284
> [EMAIL PROTECTED] 
> =====================================================
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to