Hello.

I am getting the following NullPointerException (error details pasted below)
when I include the struts html tag library thru page directive
(<%@ taglib uri="/tags/struts-html" prefix="html" %>) in any jsp of the web
application. Whereas after removing it and using simple  HTML tags in the
jsp page, the page is properly displayed.

Also when I am running the struts example application (struts-blank), it is
working fine even after using struts html tag library. My application is
also simple and I am doing the same thing as the example application does,
but still it is giving this error.

I am using jetty server ver 5.1

Can anyone help me out.



11:15:30.855 WARN!! [P1-19]
org.mortbay.jetty.servlet.ServletHandler.handle(Serv
letHandler.java:589) >11> /TryExample/FPWelcome:
java.lang.NullPointerException
        at
org.apache.jsp.pages.FPWelcome_jsp._jspx_meth_html_html_0(FPWelcome_j
sp.java:86)
        at
org.apache.jsp.pages.FPWelcome_jsp._jspService(FPWelcome_jsp.java:64)

        at
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:126)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper
.java:324)
        at
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:2
92)
        at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:236)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427
)
        at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:473)
        at
org.mortbay.jetty.servlet.Dispatcher.dispatch(Dispatcher.java:262)
        at org.mortbay.jetty.servlet.Dispatcher.forward(Dispatcher.java:170)
        at
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.
java:1056)
        at
org.apache.struts.action.RequestProcessor.internalModuleRelativeForwa
rd(RequestProcessor.java:994)
        at
org.apache.struts.action.RequestProcessor.processForward(RequestProce
ssor.java:553)
        at
org.apache.struts.action.RequestProcessor.process(RequestProcessor.ja
va:211)
        at
org.apache.struts.action.ActionServlet.process(ActionServlet.java:116
4)
        at
org.apache.struts.action.ActionServlet.doGet(ActionServlet.java:397)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
        at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
        at
org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:427
)
        at
org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicati
onHandler.java:473)
        at
org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:5
68)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1565)
        at
org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplication
Context.java:635)
        at org.mortbay.http.HttpContext.handle(HttpContext.java:1517)
        at org.mortbay.http.HttpServer.service(HttpServer.java:954)
        at org.mortbay.http.HttpConnection.service(HttpConnection.java:816)
        at
org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:983)
        at org.mortbay.http.HttpConnection.handle(HttpConnection.java:833)
        at
org.mortbay.http.SocketListener.handleConnection(SocketListener.java:
244)
        at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
        at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)


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

Reply via email to