File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Servlets and the fly likes security role setting Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Servlets
Bookmark "security role setting" Watch "security role setting" New topic

security role setting

David Qiu

Joined: May 14, 2001
Posts: 8
i put the code as following,
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
I agree. Here's the link:
subject: security role setting
jQuery in Action, 3rd edition