• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

accessing database from webserver

 
nizamuddin
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Ajith Prasad
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
you can provide LDAP or Oblix server for Validating user credentials
 
Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper
Posts: 4968
1
Hibernate Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?

-Cameron McKenzie
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic