문제

I want to make separate module for admin if user is admin it should redirect to separate module or pages(that module can only accessible by admin). This task i want to achieve using jsp and servlet or web.xml can anyone help me ....?

도움이 되었습니까?

해결책

To make a separate Admin module , no need to make another web.xml

In your log-in page after you submit , handle the request in your servlet

For example,

In Login servlet,

if(user_type==admin)

//redirect it to another page , which you have for the admin 

Hope this helps !

note : If you need any help . please try something and post here to get your problem solved

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top