friends i am trying to redirect from login page to home page....when login is succeeded...but not able to do this.
I have tried request Dispather
it gives me illigal state exception
and by using
String site=new String("home.html"); response.setStatus(response.SC_MOVED_TEMPORARILY); response.setHeader("Location", site);
not able to redirect....plz help me to overcome this problem