Help Needed - SCWCD Exam Kit - chapter 9 problem

C Wong

Greenhorn

Posts: 18

posted 13 years ago

I have trouble in running the sample from Chapter 9 - the POST feature. The GET option is working OK. When entering user bob, a dialog (Connect to localhost) pops up asking for user name and password. It is NOT an HTML page, it is a dialog from the XP system. By entering bob as user name and bbb as pw. It is invalid and the same dialog pops up repeatedly. Please advise what is wrong with my configuration. Thx.

chi Lin

Ranch Hand

Posts: 348

posted 13 years ago

Wong, Have you modified the tomcat-users.xml at tomocat-root\conf\tomcat-users.xml to add more entries described on page 141 <user name="bob" password="bbb" roles="employee,supervisor" /> so tomcat realize bob and his role ?