0

hi all,

I am quite new to J2EE . I want to connect mysql database which one will be best jsp or servlet....
the thing is we need to establish connection each time. Insted of that just one Java class will do that and the other classes call the method of that class , Is that possible in jsp or servlet..

4
Contributors
6
Replies
7
Views
6 Years
Discussion Span
Last Post by anand01
-1

"

hi all
the thing is we need to establish connection each time. Insted of that just one Java class will do that and the other classes call the method of that class , Is that possible in jsp or servlet..

"


Its possible in JSP as well as sevlet..

0

Its possible in JSP as well as sevlet..

Possible, but not advised.

@anand01 you already received correct reply in first. Didn't you read linked article?

0

ya peter_budo , I read that link..
That is good tutorial.. thanks..

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.