Author | Message |
---|---|
xytian
Posts: 70
|
Posted 23:38 Feb 07, 2013 |
Whenever I tried to use a Question object in DrivingTest.jsp, I got a "HTTP Status 500 - javax.el.PropertyNotFoundException". I did have the line <jsp:useBean id="dt" class="cs320.lab1.DrivingTest" scope="session" />. ${dt.currentQuestionIndex} works, but when it comes to Objects, there is an error. |
sperez8
Posts: 3
|
Posted 00:07 Feb 08, 2013 |
Make sure the path to the DrivingTest.txt is correct. When you deploy your code on CS3, you should change the path to the file DrivingTest.txt to /tmp/DrivingTest.txt.
|
cysun
Posts: 2935
|
Posted 00:25 Feb 08, 2013 |
Remember that properties are defined by getters and/or setters. If you got a PropertyNotFound error, make sure you have the right getter or setter. |
xytian
Posts: 70
|
Posted 00:30 Feb 08, 2013 |
Problem solved, thanks! Last edited by xytian at
00:30 Feb 08, 2013.
|