0
Javabeans or Java Tag or Servlet
I have sql stored procedures which should be called when html button is clicked. As it is not good putting sql code into jsp - which one should I use (javabeans, javatag or servlet) to handle database connection and operations on data, so I will be able to use them with html ?
1 Réponse
0
Servlet. You could also use javabeans since, if I remember correctly a javabean is just a java object(a java class), you simply make an instance of the javabean and use it to call the functions.
I recommend learning about mvc (model view controller) with servlets, if you don't already know about it.