|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
Hi everybody!
Im new to JSP and Im trying to use DreamWeaver Ultradev 4 to start. Im using its tutorial JSP site. SYSTEM -Windows 2000 -Tomcat and JDK installed PROBLEM: -After making the *.war file (with all the files in my directory) I can access the search page, but when I try to make a search I get the following error message: Error: 500 Location: /test/Results.jsp Internal Servlet Error: javax.servlet.ServletException: [Microsoft][ODBC Driver Manager] Invalid cursor state ... a lot of at apache........;at apache.........;at apache...... Can someone tell me whats happening???? Whats the solution???? Who killed Mr. Burns??? ![]() Thanks for reading! Many thanks for any help! Ricardo Luis de Oliveira Molero São Paulo, Brazil URL |
|
#2
|
|||
|
|||
|
Your problem is with the database your using,
javax.servlet.ServletException: [Microsoft][ODBC Driver Manager] Invalid cursor state ... a lot of at apache........;at apache.........;at apache...... An invalid cursor state usually indicates a problem on your result set. A typical example would be not using the next() function of the result set to get into the actual data. When you query a database it(usually) returns a resultset. Initally the cursor is not pointing to the first record in the database. Therefore you use next() to enter into the records. It looks something like this: PHP Code:
It may be something more subtle however, if you can post some code, somone will be able to point out exactly where your error is. Hope this helps. |
![]() |
| Viewing: Dev Shed Forums > Programming Languages > Java Help > Ultradev4 JSP Tutorial help |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|