struts-el webapp NullPointerException

2005-04-27 Thread Morris Jones
I can't find any record in the bugzilla of this being a known problem, but
maybe the struts-el libraries aren't tracked in the bugzilla:
Tomcat 5.0.28
Struts 1.2.4
Windows 2000
I installed the strutsel-exercise-taglib webapp from contrib/struts-el/webapp.
The index page gives a NullPointerException:
java.lang.NullPointerException
org.apache.struts.taglib.TagUtils.pageURL(TagUtils.java:1114)

rg.apache.struts.taglib.TagUtils.computeURLWithCharEncoding(TagUtils.java:466)

org.apache.struts.taglib.TagUtils.computeURLWithCharEncoding(TagUtils.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:802)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
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:802)
Is this webapp DOA, or just not useful in this environment?
Mojo
--
Morris Jones
Monrovia, CA
http://www.whiteoaks.com
Old Town Astronomers: http://www.otastro.org
--
Morris Jones
Monrovia, CA
http://www.whiteoaks.com
Old Town Astronomers: http://www.otastro.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: struts-el webapp NullPointerException

2005-04-27 Thread Woodchuck
hihi Morris,

sorry but i have to ask, why do you need the struts-el library when you
are using Tomcat 5.0.28?

Tomcat 5 already has EL capability built-in.


woodchuck


--- Morris Jones [EMAIL PROTECTED] wrote:
 I can't find any record in the bugzilla of this being a known
 problem, but
 maybe the struts-el libraries aren't tracked in the bugzilla:
 
 Tomcat 5.0.28
 Struts 1.2.4
 Windows 2000
 
 I installed the strutsel-exercise-taglib webapp from
 contrib/struts-el/webapp.
 
 The index page gives a NullPointerException:
 
 java.lang.NullPointerException
   org.apache.struts.taglib.TagUtils.pageURL(TagUtils.java:1114)
 

rg.apache.struts.taglib.TagUtils.computeURLWithCharEncoding(TagUtils.java:466)
 

org.apache.struts.taglib.TagUtils.computeURLWithCharEncoding(TagUtils.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:802)
 

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
 

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:802)
 
 Is this webapp DOA, or just not useful in this environment?
 
 Mojo
 -- 
 Morris Jones
 Monrovia, CA
 http://www.whiteoaks.com
 Old Town Astronomers: http://www.otastro.org
 -- 
 Morris Jones
 Monrovia, CA
 http://www.whiteoaks.com
 Old Town Astronomers: http://www.otastro.org
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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



Re: struts-el webapp NullPointerException

2005-04-27 Thread Morris Jones
Hmmm!  I must have missed that in the docs.  Thanks!
So for the same functionality, I should include the JSTL _and_ Struts 
taglibs in my JSPs and write expressions with abandon?  And perhaps that 
explains why the struts-el webapp doesn't work with Tomcat 5 ...

Mojo
Woodchuck wrote:
hihi Morris,
sorry but i have to ask, why do you need the struts-el library when you
are using Tomcat 5.0.28?
Tomcat 5 already has EL capability built-in.
woodchuck
--- Morris Jones [EMAIL PROTECTED] wrote:
I can't find any record in the bugzilla of this being a known
problem, but
maybe the struts-el libraries aren't tracked in the bugzilla:
Tomcat 5.0.28
Struts 1.2.4
Windows 2000
I installed the strutsel-exercise-taglib webapp from
contrib/struts-el/webapp.
The index page gives a NullPointerException:
java.lang.NullPointerException
org.apache.struts.taglib.TagUtils.pageURL(TagUtils.java:1114)

rg.apache.struts.taglib.TagUtils.computeURLWithCharEncoding(TagUtils.java:466)

org.apache.struts.taglib.TagUtils.computeURLWithCharEncoding(TagUtils.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:802)

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)

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:802)
Is this webapp DOA, or just not useful in this environment?
Mojo
--
Morris Jones
Monrovia, CA
http://www.whiteoaks.com
Old Town Astronomers: http://www.otastro.org
--
Morris Jones
Monrovia, CA
http://www.whiteoaks.com
Old Town Astronomers: http://www.otastro.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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

--
Morris Jones
Monrovia, CA
http://www.whiteoaks.com
Old Town Astronomers: http://www.otastro.org
-
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


Re: struts-el webapp NullPointerException

2005-04-27 Thread Woodchuck
yup, that's what i do now.  works great :)


--- Morris Jones [EMAIL PROTECTED] wrote:
 Hmmm!  I must have missed that in the docs.  Thanks!
 
 So for the same functionality, I should include the JSTL _and_ Struts
 
 taglibs in my JSPs and write expressions with abandon?  And perhaps
 that 
 explains why the struts-el webapp doesn't work with Tomcat 5 ...
 
 Mojo
 
 Woodchuck wrote:
  hihi Morris,
  
  sorry but i have to ask, why do you need the struts-el library when
 you
  are using Tomcat 5.0.28?
  
  Tomcat 5 already has EL capability built-in.
  
  
  woodchuck
  
  
  --- Morris Jones [EMAIL PROTECTED] wrote:
  
 I can't find any record in the bugzilla of this being a known
 problem, but
 maybe the struts-el libraries aren't tracked in the bugzilla:
 
 Tomcat 5.0.28
 Struts 1.2.4
 Windows 2000
 
 I installed the strutsel-exercise-taglib webapp from
 contrib/struts-el/webapp.
 
 The index page gives a NullPointerException:
 
 java.lang.NullPointerException
 org.apache.struts.taglib.TagUtils.pageURL(TagUtils.java:1114)
 
 
  
 

rg.apache.struts.taglib.TagUtils.computeURLWithCharEncoding(TagUtils.java:466)
  
 
 

org.apache.struts.taglib.TagUtils.computeURLWithCharEncoding(TagUtils.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:802)
 
 
  
 

org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:324)
  
 
 

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:802)
 
 Is this webapp DOA, or just not useful in this environment?
 
 Mojo
 -- 
 Morris Jones
 Monrovia, CA
 http://www.whiteoaks.com
 Old Town Astronomers: http://www.otastro.org
 -- 
 Morris Jones
 Monrovia, CA
 http://www.whiteoaks.com
 Old Town Astronomers: http://www.otastro.org
 

-
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 
  
  
  __
  Do You Yahoo!?
  Tired of spam?  Yahoo! Mail has the best spam protection around 
  http://mail.yahoo.com 
  
 
 -
  To unsubscribe, e-mail: [EMAIL PROTECTED]
  For additional commands, e-mail: [EMAIL PROTECTED]
 
 
 -- 
 Morris Jones
 Monrovia, CA
 http://www.whiteoaks.com
 Old Town Astronomers: http://www.otastro.org
 
 -
 To unsubscribe, e-mail: [EMAIL PROTECTED]
 For additional commands, e-mail: [EMAIL PROTECTED]
 
 

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 

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