Hi.
I have a Java Web Application and want to know if the following is passable.

In my servlet i authenticate then check what access you have. Based on your access i want o return source code from the appropriate jsp file. Example. your access is admin then the source code for the page need to be from the file admin.jsp

The reason for this is that each jsp is basically a web app on it's own and get developed and tested on it's own. Once i'm done it gets added to the project and the authentication servlet is amended.

So just to recap. Index.html calls servlet, based on access the response needs to be source code for the page from the relevant jsp file.

Hope this makes sence

Kind Regards