Tuesday, November 29, 2011

5.we have two servlets A,B .one jsp. A does not authorised to access that jsp. B have authorisation toaccess to that jsp.But A does not know that B has authorisation.So howyou access the jsp from A.

We can pass the controller from A to B servlet using request dispatcher. from B servlet we can make use of another request dispatcher to pass the controller to the Jsp page.
Category:Servlet Interview Questions

No comments:

Post a Comment