I have one localhost/test/main.jsp that called LoginForm and LoginAction subsequently. Then, in my LoginForm, if the errors are obtained, the application will be sent back to main.jsp automatically with the <html:errors /> displayed, right? However, my ActionLogin URL is similar like localhost/test/login/login.do. So when I get back, all the images URL are wrong. My question is how to solve that problem?
The images URL would be like localhost/test/login/pic12.gif instead of localhost/test/pic12.gif