0 Replies Latest reply on Sep 13, 2002 9:25 PM by Joon Ohh

    why am i getting Attribute toTestServlet.jsp has no value?

    Joon Ohh Newbie

      Hi, i'm new to jboss.
      I'm using jboss-3.0.0_tomcat-.4.0.3 on redhat linux.
      I have tried to run the jboss with couple of simple jsp files and servlets.

      I'm using the "JBoss3.0 Template and Examples", which was found under documentaion, as my guideline.
      I have edited the build.xml file, so it will only generate war file and deploy it to /server/default/deploy directory.

      In my index.jsp file, I just have a link to a jsp file, which will call TestServlet, like this.

      Index

      Let's test the Servlet


      It will build and deploy fine.
      So, when i start the server and try to access the index.jsp page from a web browser, i'll get this error.



      Apache Tomcat/4.0.3 - HTTP Status 500 - Internal Server Error

      type Exception report

      message Internal Server Error

      description The server encountered an internal error (Internal Server Error) that prevented it from fulfilling this request.

      exception

      org.apache.jasper.compiler.ParseException: /index.jsp(26,26) Attribute toTestServlet.jsp has no value
      at org.apache.jasper.compiler.JspReader.parseAttributeValue(JspReader.java:563)
      at org.apache.jasper.compiler.JspReader.parseTagAttributes(JspReader.java:681)
      at org.apache.jasper.compiler.Parser$Directive.accept(Parser.java:224)
      at org.apache.jasper.compiler.Parser.parse(Parser.java:1145)
      at org.apache.jasper.compiler.Parser.parse(Parser.java:1103)
      at org.apache.jasper.compiler.Parser.parse(Parser.java:1099)
      at org.apache.jasper.compiler.ParserController.parse(ParserController.java:213)
      at org.apache.jasper.compiler.Compiler.compile(Compiler.java:210)
      at org.apache.jasper.servlet.JspServlet.loadJSP(JspServlet.java:552)
      at org.apache.jasper.servlet.JspServlet$JspServletWrapper.loadIfNecessary(JspServlet.java:177)
      at org.apache.jasper.servlet.JspServlet$JspServletWrapper.service(JspServlet.java:189)
      at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:382)
      at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:474)
      at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
      at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247)
      at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193)
      at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:190)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      at org.apache.catalina.core.StandardContext.invoke(StandardContext.java:2343)
      at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:180)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      at org.apache.catalina.valves.ErrorDispatcherValve.invoke(ErrorDispatcherValve.java:170)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:170)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:468)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:564)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:174)
      at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566)
      at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:472)
      at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:943)
      at org.apache.catalina.connector.http.HttpProcessor.process(HttpProcessor.java:1012)
      at org.apache.catalina.connector.http.HttpProcessor.run(HttpProcessor.java:1107)
      at java.lang.Thread.run(Thread.java:536)


      why am i getting this error?
      why am i getting Attribute toTestServlet.jsp has no value?

      Please help.