Hi I am using Struts2. (case1)I have form with userName and password fields and login button.I am validating if both field are blank.It is working fine. (case2)Now I am sending userName and password from url(query string) not filling form like this: http://localhost:8080/CopyBrowser/loginAction.action?userName=jagannath&password=123 and pressing enter button from keyboard. Then also it is working. User should not logged in using (case2). What should I do to avoid (case2) in struts2.
| 0 |