suprapto45
asked on
ActionForm
Hi,
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
Regards
Dave
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
The images URL would be like localhost/test/login/pic12
Regards
Dave
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Hi thanks,
Sorry for the delay. I have no time to test. I hope I can test it late today. sorrry :)
Regards
Dave
Sorry for the delay. I have no time to test. I hope I can test it late today. sorrry :)
Regards
Dave
Cheers Dave
e.g. (<img src="/test/login/pic12.gif