I am developing a site using jsp/java/tomcat and oracle. I understand if I put the .htaccess file in the root of my webserver this should password protect my web pages.
Is that it? Do I need to add any code? If so can someone give me an example.