can jsp use 2 servlets
Web Development
2
Posts
2
Posters
0
Views
1
Watching
-
hi there , can a jsp page use 2 servlets or can a jsp page consists of 2 sql statemets. my database is postgres and server is tomcat ... sql statements are the same as ms access ...
1. Why use servlets when you are using JSP?? 2. Yes, you can use how many SQL-statements you like from a JSP-page. However. I recomend you to create java-beans to do this. Makes your code more general and easier to maintain. 3. Servers shouldn't matter... in this case... /M