Frage

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 ....?

War es hilfreich?

Lösung

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

Lizenziert unter: CC-BY-SA mit Zuschreibung
Nicht verbunden mit StackOverflow
scroll top