Kural,
The role should already be configured in web.xml by the application
deployer. If the user registers himself with a given role, then the user
and that role need to be added to the user repository. If you are using
tomcat-users.xml, then you need to add the user and role to that file.
Dear sir/madam,
I am working in JSP with tomcat,In my project i have
user roles (BuyerAdmin,Buyer,Shipper...) now i want to display
pages according to the user and i have an Page for registration
for
user,if the user register him as role(say Buyer) it must be add
to
the
web.xml,Pls