I am trying to connect to the database and I tested as an
java application and it was ok but no success as a Web app. I am using eclipse with it and MS Access.
This is my code for the login:
This is the process.jsp page:
Should I put request or session??
This is the class:
DO I have to create a session in the class like
and then set the atributes like :
But that means I have to use a
Servlet?? Is that the only solution to my problem to use a Servlet Or Can I put declare this in the process page?? As it is only for
testing anyway.
I have another way to do to where I create and 2 methods in the class to open and close the connection in the process.jsp page.
Anyone opinion woulb be welcome ok
Thanks