Originally posted by kamran:
there is a tag in struts config.xml
It might not be a good idea to use this tag:
https://coderanch.com/t/46023/Struts/Struts-Connection-Pooling
Originally posted by kamran:
for database but how will i be accessing database from the jsps
In MVC you don't access the database in the
JSP, but in JavaBeans you instantiate through some kind of factory class you call from struts-action classes and which you put in request or session scope so that the jsps have access to them to show the data contained in the bean.
If you want to access database directly from jsp, this is no mvc and not a good idea for bigger projects. JSTL has such tags.
In this
thread find some good articles, tutorials, examples:
https://coderanch.com/t/45990/Struts/Not-easy-struts-example And someone will come and tell you to change your public displayed name according to JavaRanch naming policy.
[ November 01, 2002: Message edited by: Axel Janssen ]