The reason is that I want to be able to keep all the servlet code but change the called jsp pages depending on the device from where the request has been made (ex: mobile). If there is another solution let me know
The one I thought of was to create a filter that if request is coming from a mobile then this filter would change the jsp page to the mobile one. If I continue down this line, the other option I have is to change code in every servlet so that these forward depending on from where the request has originated (not a problem, just a bigger change, and most probably more clean).
EDIT:
Just to be more clear my plan was that if servlet forwards request to hello.jsp, then the filter would change this forward (do another forward) to hello_mobile.jsp. As I said, if anyone knows of a better solution let me know.