Bookmark Topic Watch Topic
  • New Topic

error saving data in my database

 
Haythem Ben Yahia
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Report post to moderator
hi,
I set up a JSP page that retrieves values ​​from the URL and save them in a database.
so I break my code and I created a class to connect to the database and executes the JSP request, however, it doesn't work.
Here is the code of the class knowing that I tested and it works


here is my jsp page that calls the method getMyConnection() in my class Connect.java


and this is the error



it seems like my jsp can't locate my classes.
i'm sure that i imported them into my jsp file.
the saving process is working under eclipse but if i i try to aceess to the same URL successfully launched on eclipse it generates me the error that " CLASSNAME CANNOT BE LOCATED "


Please help !!!
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 35279
384
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Report post to moderator
Let's continue the conversation in your original thread.
 
    Bookmark Topic Watch Topic
  • New Topic