How to know which page is responding to the JSP request

I have several pages JSP , and I handle all of them in my servlet Control. I would like to know if you have how to identify which page is being displayed so that I can do all the treatments, requests and responses, specific to this page . Could someone help me?

Author: Pena Pintada, 2014-11-23

1 answers

You can try using the return method HttpServletRequest.getRequestURI().

 2
Author: FelipeJM, 2014-11-24 18:40:45