top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

How I can use web.xml to point to the Tomcat JDBC?

0 votes
385 views

I am just wondering whether somehow I can use web.xml to point to the Tomcat JDBC Realm that I am using. Are those two completely disjoint or I can link them together.

posted Sep 4, 2014 by Ramakrishnan

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote
 
Best answer

They are disjoint.

web.xml is for the developer who has (almost) no knowledge of the context (environment) in which his application will run.

context.xml (or equivalents) is the tool for the administrator to provide that knowledge to the application.

answer Sep 4, 2014 by Garima Jain
...