-
xml to jsp, i would appreciate any ideas, thanks
This is the error i am getting.
the code is:
<HTML><body>
<tl arse 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 failed
with Exception
weblogic.servlet.jsp.JspException: (line 9): question is not defined as bean
at 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(Compiled
Code)
at weblogic.servlet.internal.ServletStubImpl.invokeServlet(Compiled
Code)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled
Code)
at weblogic.servlet.internal.ServletContextImpl.invokeServlet(Compiled
Code)
at weblogic.servlet.internal.ServletContextManager.invokeServlet(Compiled
Code)
at weblogic.socket.MuxableSocketHTTP.invokeServlet(Compiled Code)
at weblogic.socket.MuxableSocketHTTP.execute(Compiled Code)
at weblogic.kernel.ExecuteThread.run(Compiled Code)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
Forum Rules
|
Top DevX Stories
Easy Web Services with SQL Server 2005 HTTP Endpoints
JavaOne 2005: Java Platform Roadmap Focuses on Ease of Development, Sun Focuses on the "Free" in F.O.S.S.
Wed Yourself to UML with the Power of Associations
Microsoft to Add AJAX Capabilities to ASP.NET
IBM's Cloudscape Versus MySQL
|
Bookmarks