xml to jsp, i would appreciate any ideas, thanks

wxdqz

New Member
This is the error i am getting.the code is:<HTML><body><tl:parse id="surveys" xml="..\xml\test.xml"><TABLE BORDER=0 CELLSPACING="0" CELLPADDING="0" WIDTH="448"><tl:iterate id ="question" type="Question"collection="<%= surveys.surveytemplate.getQuestions() %>" ><tr><td><jsp:getProperty name="question"property="swsurveytemplateid"/></td></tr></tl:iterate></TABLE></body></HTML>Tue Apr 03 13:27:59 PDT 2001:<E> <ServletContext-General> Servlet failedwith Exceptionweblogic.servlet.jsp.JspException: (line 9): question is not defined as beanat java.lang.Throwable.fillInStackTrace(Native Method)at java.lang.Throwable.fillInStackTrace(Compiled Code)at java.lang.Throwable.<init>(Compiled Code)at java.lang.Exception.<init>(Compiled Code)at java.lang.RuntimeException.<init>(Compiled Code)at weblogic.servlet.jsp.JspException.<init>(JspException.java:9)at weblogic.servlet.jsp.JspLexer.jspException(Compiled Code)at weblogic.servlet.jsp.JspLexer.mXML_GET_PROPERTY(Compiled Code)at weblogic.servlet.jsp.JspLexer.mXML_THING(Compiled Code)at weblogic.servlet.jsp.JspLexer.mTOKEN(Compiled Code)at weblogic.servlet.jsp.JspLexer.nextToken(Compiled Code)at weblogic.servlet.jsp.JspLexer.parse(Compiled Code)at weblogic.servlet.jsp.JspParser.doit(Compiled Code)at weblogic.servlet.jsp.JspParser.parse(Compiled Code)at weblogic.servlet.jsp.Jsp2Java.outputs(Compiled Code)at weblogic.utils.compiler.CodeGenerator.generate(Compiled Code)at weblogic.servlet.jsp.JspStub.compilePage(Compiled Code)at weblogic.servlet.jsp.JspStub.prepareServlet(Compiled Code)at weblogic.servlet.jsp.JspStub.checkForReload(Compiled Code)at weblogic.servlet.internal.ServletStubImpl.getServlet(CompiledCode)at weblogic.servlet.internal.ServletStubImpl.invokeServlet(CompiledCode)at weblogic.servlet.internal.ServletContextImpl.invokeServlet(CompiledCode)at weblogic.servlet.internal.ServletContextImpl.invokeServlet(CompiledCode)at weblogic.servlet.internal.ServletContextManager.invokeServlet(CompiledCode)at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)at weblogic.kernel.ExecuteThread.run(Compiled Code)
 
Back
Top