Thanks Tim. I already did in that way. But it looks like the problem is the normal login page will have a jsessionid automatically. But my copy of login page does not. Then the page hits the problem of 'Invalid direct reference to form login page'
So I guess I just need create a jsessionid manually, then it's fine to do the login automatically.
How can I create a
tomcat jsessionid manually? Thanks
SCJA, SCJP5.0, SCBCD, SCWCD