User Profile
Collapse
-
How Resultset interface is working?
If Resultset is an interface, then how can we call methods like next() etc. without defining the method body anywhere in the program. As per concept in an interface, methods are only declared but not defined. And also some implementer class is required to implement that interface. -
How to open connection?
I want to open connection to Oracle and SQL Server in the same method? Is this possible?
[For nomal JDBC connction, no facility to using JNDI] -
About the return of Class.forName(driverName);
When we connect database, we first load driver with code like.Code:Class.forName(driverName);
Now forName() has a return of type Class or Object. But we dont keep that return type, we sure that it is in heap location.
Anyone can tell me about that return element(Class/Object)?
Or is there any use of that return element?
Please help me. -
How to pass parameters with sendRedirect().
I am redirecting in a jsp page of applicationB from applicationA. And for that I am using response.sendRe direct(). Now with this I have to pass some parameters like userId, password. For this type of sensitive parameters I could not able to use requestDispatch er.
So is there any way to post those sensitive parameters from applicationA to applicationB.
Or any other way to redirect form applicationA to applicationB.
No activity results to display
Show More