How to get the original request url from a servlet/jsp after multiple servlet forwards

前端 未结 6 751

I am working on a cruise booking app using struts/tiles that uses multiple internal servlet/jsp forwards to reach the right jsp for display. But, once you r

6条回答
  •  無奈伤痛
    2020-12-29 03:41

    Consider using servlet filters instead to validate information. This means you can avoid your validation forwarding and just stay in a single JSP file.

提交回复
热议问题