• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

RequestDispatcher

 
Naveen Madarapu
Ranch Hand
Posts: 64
Eclipse IDE Spring Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
which method is used to achieve roll based development in RequestDispatcher ? can any one answer this question with Scenario please i faced this question in interview.
 
Ashwini Kashyap
Ranch Hand
Posts: 90
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Naveen,

Role based development means you need to authenticate the user and depending upon his role like admin, normal user and so on, you need to dispatch requests as per roles using RequestDisplatcher.

I hope you are already clear with RequestDispatcher API and hopefully now with role based modules. Let me know if any other concern.

Thanks and Regards,
Ashwini Kashyap | akashyap@infocepts.com | www.infocepts.com
 
Palak Mathur
Ranch Hand
Posts: 342
IntelliJ IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Naveen Madarapu wrote:which method is used to achieve roll based development in RequestDispatcher ? can any one answer this question with Scenario please i faced this question in interview.


RequestDispatcher is not directly related to role based development. You can surely pass the request to another page based on role authentication.
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64959
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Is this a test or interview question?
 
shivam singhal
Ranch Hand
Posts: 231
Java Notepad Tomcat Server
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
For authentication purpose we can use request.sendRedirect. .
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic