Now I am trying my hands on struts. I have wriiten simple application in struts and it is yet to be complete.
Whenever I pass ajax request in struts it give me error "SEVERE: Invalid path /pages/login was requested".
I know I am making blunder somewhere please help me to figure it out.
David Newton wrote:Welcome to JavaRanch! Please UseCodeTags when posting code or configuration. Unformatted code and configuration is unnecessarily difficult to read. You can edit your post by using the button.
1) Why are you using the "new" keyword? You should just be setting xmlhttp to the results of calling the function.