1 Reply Latest reply on Apr 12, 2006 7:24 PM by tim chan

    tag library error - org.apache.jasper.JasperException

    tim chan Newbie

      I'm using a tag library to create user interface motifs.
      This application has been previously deployed on JRun 4, without a problem. I am currently working on making modifications to make it run on JBoss.

      Here is the exception I am getting:

      org.apache.jasper.JasperException: /dep/currx.jsp(187,6) Unterminated <ds:QuestionBox tag
      org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:39)
      org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:405)
      org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:130)
      org.apache.jasper.compiler.Parser.parseTagDependentBody(Parser.java:1730)
      org.apache.jasper.compiler.Parser.parseBody(Parser.java:1764)
      org.apache.jasper.compiler.Parser.parseOptionalBody(Parser.java:1069)
      org.apache.jasper.compiler.Parser.parseCustomTag(Parser.java:1376)
      org.apache.jasper.compiler.Parser.parseElements(Parser.java:1573)
      org.apache.jasper.compiler.Parser.parse(Parser.java:126)
      org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
      org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
      org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:146)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:267)
      org.apache.jasper.compiler.Compiler.compile(Compiler.java:255)
      org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
      org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:293)
      org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
      org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
      javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
      org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)


      I have checked my JSP page and there is a closing </ds:QuestionBox> tag present.



        • 1. Re: tag library error - org.apache.jasper.JasperException
          tim chan Newbie

          i do believe my problem is with nested tags.

          i have a tag called: QuestionBox and everything within it is rendered as text. i have inserted other custom tags inside of it and they just print to the screen.

          has anyone had a problem like this?

          code example:

          <mytag:QuestionBox>

          <mytag:DoSomething/>

          </mytag:QuestionBox>


          i know the DoSomething tag works because i called it earlier in the page and it renders fine.