dsp tags within a jsp

Discussions

Web tier: servlets, JSP, Web frameworks: dsp tags within a jsp

  1. dsp tags within a jsp (1 messages)

    Hi,

    My question is if it is possible to use dsp tag libraries from ATG outside gears i.e., for a normal jsp.

    I thought it should be possible but whenever i try that it gives me a null pointer exception. What I am tring to do is as follows couldnt be simpler than that


    <%@ taglib uri="/dsp" prefix="dsp" %>
    <dsp:page>
    </dsp:page>

    but on accessing this webpage I get the following exception



    [4/2/04 17:44:57:122 EST] 24482325 WebGroup E SRVE0026E: [Servlet Error]-[]: java.lang.NullPointerException

    at atg.taglib.dspjsp.PageTag.doStartTag(PageTag.java:362)

    at org.apache.jsp._LMSLogin._jspService(_LMSLogin.java:76)

    at com.ibm.ws.webcontainer.jsp.runtime.HttpJspBase.service(HttpJspBase.java:89)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:357)

    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.serviceJspFile(JspServlet.java:675)

    at com.ibm.ws.webcontainer.jsp.servlet.JspServlet.service(JspServlet.java:773)

    at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)

    at com.ibm.ws.webcontainer.servlet.StrictServletInstance.doService(StrictServletInstance.java:110)

    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet._service(StrictLifecycleServlet.java:174)

    at com.ibm.ws.webcontainer.servlet.IdleServletState.service(StrictLifecycleServlet.java:313)

    at com.ibm.ws.webcontainer.servlet.StrictLifecycleServlet.service(StrictLifecycleServlet.java:116)

    at com.ibm.ws.webcontainer.servlet.ServletInstance.service(ServletInstance.java:283)

    at com.ibm.ws.webcontainer.servlet.ValidServletReferenceState.dispatch(ValidServletReferenceState.java:42)

    at com.ibm.ws.webcontainer.servlet.ServletInstanceReference.dispatch(ServletInstanceReference.java:40)

    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.handleWebAppDispatch(WebAppRequestDispatcher.java:948)

    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.dispatch(WebAppRequestDispatcher.java:530)

    at com.ibm.ws.webcontainer.webapp.WebAppRequestDispatcher.forward(WebAppRequestDispatcher.java:176)

    at com.ibm.ws.webcontainer.srt.WebAppInvoker.doForward(WebAppInvoker.java:79)

    at com.ibm.ws.webcontainer.srt.WebAppInvoker.handleInvocationHook(WebAppInvoker.java:201)

    at com.ibm.ws.webcontainer.cache.invocation.CachedInvocation.handleInvocation(CachedInvocation.java:71)

    at com.ibm.ws.webcontainer.cache.invocation.CacheableInvocationContext.invoke(CacheableInvocationContext.java:114)

    at com.ibm.ws.webcontainer.srp.ServletRequestProcessor.dispatchByURI(ServletRequestProcessor.java:186)

    at com.ibm.ws.webcontainer.oselistener.OSEListenerDispatcher.service(OSEListener.java:334)

    at com.ibm.ws.webcontainer.http.HttpConnection.handleRequest(HttpConnection.java:56)

    at com.ibm.ws.http.HttpConnection.readAndHandleRequest(HttpConnection.java:610)

    at com.ibm.ws.http.HttpConnection.run(HttpConnection.java:435)

    at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:593)

    Threaded Messages (1)

  2. dsp tag[ Go to top ]

    try dis

    <%@ taglib uri="/dspTaglib" prefix="dsp" %>