whether the getRequestURL you posted above suits for my needs ?
No it doesn't. I interpreted your initial question differently.
I don't know if the Servlet API has a solution for this (except for the unreliable request.getHeader("referer") ) -- or "Referer", I'm not sure. .
You could add the name of the form to the form's submit url:
and retrieve that in your servlet (request.getParameter("myPage"))
Regards, Jan
[ May 09, 2007: Message edited by: Jan Cumps ]
[ May 09, 2007: Message edited by: Jan Cumps ]