Hi
I tried to figure it out but it is kindda hard when you don't provide
version information. Both lines (that could lead you to an answer)
are empty lines in my struts 1.2.7 source tree (RewriteTag.java:55
for instance).
Try to give more information and post the jsp snippet that causing
the exception (seems that it is in a index.jsp file).
Regards
Marcelo Morales
On Dec 9, 2005, at 3:15 PM, O. Oke wrote:
Help Please!
BACKGROUND
==========
Our struts web app works fine on our local (not on the
internet) Tomcat server, but when we deploy it on the
web based Tomcat server of our hosting company, we get
the error below, when we attempt to connect to the
application.
Can anyone please tell me what may be causing this -
java.lang.NullPointerException. More importantly,
what can we do to get round this error?
Running in debug mode is not an option since the app
is deployed on our hosting company's server.
Thank you.
Dele Oke
ERROR MSG
=========
org.apache.jasper.JasperException
org.apache.jasper.servlet.JspServletWrapper.service
(JspServletWrapper.java:370)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
root cause
java.lang.NullPointerException
org.apache.struts.taglib.TagUtils.pageURL(TagUtils.java:1056)
org.apache.struts.taglib.TagUtils.computeURLWithCharEncoding
(TagUtils.java:448)
org.apache.struts.taglib.html.RewriteTag.doStartTag(RewriteTag.java:
55)
org.apache.jsp.index_jsp._jspx_meth_html_rewrite_0
(org.apache.jsp.index_jsp:122)
org.apache.jsp.index_jsp._jspService(org.apache.jsp.index_jsp:73)
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
org.apache.jasper.servlet.JspServletWrapper.service
(JspServletWrapper.java:322)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:
291)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241)
javax.servlet.http.HttpServlet.service(HttpServlet.java:802)
___________________________________________________________
NEW Yahoo! Cars - sell your car and browse thousands of new and
used cars online! http://uk.cars.yahoo.com/
---------------------------------------------------------------------
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]