I am using
struts web framework in my application. I am also doing a lot of validations for the values entered through the UI, using the Struts validation framework. But upon a validation error the request is forwarded to the same
jsp page with the validation error showing up using the struts <html:error/> tag. But my problem is upon a validation error the url dispayed on the address bar is changing even while the jsp remains the same. This might be happening because, upon a validation error actionservlet might be doing a forward request dispatch to the input jsp page. But the requirement specifies that the URL should not change even upon a validation error. Is there anyway that the URL remains the same upon validation error. For example: in the Landing.jsp page where the URL is "localhost:8080//Landing.jsp", if there are any validation errors in this page upon submitting the form in this page to "MyProject/LandingAction.do" the URL should not change to the "localhost:8080//MyProject/Landing.jsp" while still showing the Landing.jsp page
It wud be of great help to me if any one cud giv a solution to this issue
THANKS IN ADVANCE!!!
[ February 18, 2008: Message edited by: aditya damaraju ]