Hi, We want to access database from webserver i.e. on the login page. In the login page we will be having a survey form which the users fill. This data is to be updated to the database. But we can't deploy the war file in application server and access the war from the webserver since the application is protected i.e. it has access only for the logged in users. Please send me reply on this ASAP. any reply is appreciated. Any other alternatives to implement this is most welcomed.
we can't deploy the war file in application server and access the war from the webserver since the application is protected
Seems like you've got a fundamental flaw in your architecture.
WAR files must be deployed to a servlet engine, or what we refer to as an application server. This sits behind a web server, although it can act like a web server itself.
A web server, like apache or SunOne, can only server up files. You can perhaps do some PERL or php scripting on the web server with a plugin, but you're not going to be able to deploy a war file to Tomcat.
Which web server and application server combination are you using?
There are no more "hours", it's centi-days. They say it's better, but this tiny ad says it's stupid: