This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell on-line!
See this thread for details.
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes Error while using (user-data-constraint) tag(web Security) Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "Error while using (user-data-constraint) tag(web Security)" Watch "Error while using (user-data-constraint) tag(web Security)" New topic

Error while using (user-data-constraint) tag(web Security)

Gowher Naik
Ranch Hand

Joined: Feb 07, 2005
Posts: 643

Above is web.xml file which performs FORM based authentication on index.html
when i run url for above web application it shows page not found error.
url is http://localhost:8080/FinalTest/index.html
But if i remove <user-data-constraint> tag it works fine and display
login.html page for name and password which i have used in <form-login-page> tag in above xml file.
i dont understand why.
i am using Tomcat5.0
please help me
Senthil Kumar
Ranch Hand

Joined: Mar 13, 2006
Posts: 264
Same thing i got when i tried this thing long back.i think we should
have the SSL enabled to check this .

when you really want something, all the universe always conspires in your favour.<br /> <br />SCJP1.5-77%<br />SCWCD-89%
Gowher Naik
Ranch Hand

Joined: Feb 07, 2005
Posts: 643
ok then how to enabled SSL.
GeeCON Prague 2014
subject: Error while using (user-data-constraint) tag(web Security)