O
ojvm
how do i do that???
i mean, i know how to pass a connection between classes. for example in
the class that recives the connection you can do this.
public class example(){
public void method(Connection cn){
}
}
but how can a servlet recive it?
i've seen examples of servlets but the connecion is always done in the
servlet instead of recive a Connection object.
i mean, i know how to pass a connection between classes. for example in
the class that recives the connection you can do this.
public class example(){
public void method(Connection cn){
}
}
but how can a servlet recive it?
i've seen examples of servlets but the connecion is always done in the
servlet instead of recive a Connection object.