I am so surprised.
I suggest you create a connection pool for your Database connections. This can be implemented using a JavaBean, or using a servlet. Be sure not write JDBC code directly in JSP file. Here is a good reference book
---Java Servlets by Karl Moss. You can downlod his code from www.servletguru.com. ou may also get working examples from other resources. The 5 minutes response time might be caused by the JSP compiling time. Have you tried the second time? If you hit the second time..., it might be shorter. Anyway, you should be confident in reducing this time
I suggest you create a connection pool for your Database connections. This can be implemented using a JavaBean, or using a servlet. Be sure not write JDBC code directly in JSP file. Here is a good reference book
---Java Servlets by Karl Moss. You can downlod his code from www.servletguru.com. ou may also get working examples from other resources. The 5 minutes response time might be caused by the JSP compiling time. Have you tried the second time? If you hit the second time..., it might be shorter. Anyway, you should be confident in reducing this time