This week's book giveaway is in the Design forum.
We're giving away four copies of Design for the Mind and have Victor S. Yocco on-line!
See this thread for details.
Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

security role setting

 
David Qiu
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
i put the code as following,
<security-role><role-name>manager</role-name></security-role>
in the web.xml file as to set a role. but when i start the tomcat then, a parse error occors and the output message is, "PARSE error at line XXX column -1
org.xml.sax.SAXParseException: org.apache.crimson.parser/V-036 web-app servlet". and this setting doesn't work as i tested it with req.isUserInRole("manager"). i am very confused by this, for the servlet2.3 spec said it works. anyone helps me out this problem. thanks in advance
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic