do you know JDBC concepts? if yes you can use same kind of implementation for struts based application also or else go through the JDBC topics by that you can come to know how to access database from your applications.
I am building one web application using struts1.1. I wanted to redirect to one error page if session gets timed out and implemented in programmatic way using servlet API as I couldn't find solution in a declarative way.
I have gone through the previous posts but all of those explained programmatic way... And I couldn't find any tag in web.xml for my requirement.
can we achieve this in a declarative way. If yes, could you please explain it.
Lot of ground work involved in transforming your data from server to client. All this implementation is with servers(web servers/app servers). This may vary from one server to another. If you want to get it in full details you will have to go through server APIs which is not really required to work with servlets.