Urgent: User credentials

Hello

This is urgent. I have a simple HTML form page, that passes say a user and password field to another JSP or Servlet (doesnt matter), the JSP or Servlet looks up an EJB which recieves the user and password as arguments. The EJB performs a JDBC connection and returns whether it cosuceeded or failed. This approach works fine as long as a i execute it from a standlaone program, before i incorporate the code into my servlet or JSP, but once i perform the same operation using a JSP or Servlet, it throws an exception

java.sql.SQLException: User credentials doesn't match existing ones.

I am clueless as to why this is happening. I am using TOMCAT 3.2.3 as my servlet container.

Help is needed.

[737 byte] By [aymen] at [2007-9-26 3:00:26]
# 1
Not to easy to say. It could have a lotof causes. Could you post code?
ko5tik at 2007-6-29 10:57:28 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...