There is a typo: securtiy-constraint should be security-constraint
Remove the whole <user-data-constraint> otherwise you need to setup a HTTPS port in Tomcat to get things working
Are there errors when starting-up?
Joined: Nov 06, 2011
Thanks for your response.beerv1 is the context root of my application and there is no directory with beerv1 under beerv1(i.e context root of my app). In my web.xm , whenl I am giving
<url-pattern>/*</url-pattern> then the browser asks for user name and password when trying to access form.html(localhost:8080/beerv1/form.html) but when I am giving <url-pattern>/beerv1/*</url-pattern> it does not prompts for user name and password. the page form.html is directly inside the context root i.e beerv1. What is causing this?
Creator of Enthuware JWS+ V6
Just to confirm: create a beerv1 directory under your context-root dir and place the form.html there and see that it will ask for a username and password if you use the following URL http://localhost:8080/beerv1/beerv1/form.html