-
May 9th, 2018, 09:23 AM
#1
Java Servlet & JSP
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
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|