Originally Posted by tfly
what do you have to do?
Look at my code snippet.
You have to add this:
<postfield name="username" value="$(userName)"/>
<postfield name="password" value="$(password)"/>
otherwise it doesn't get sent in the request object.
Also, the request.getMethod() doesn't work either.
So to make sure it was posting I had to add
<postfield name="method" value="post">
and then on my JSP I had to look for request.getParameter("method").equals("post")
Seems like a hack to me but It seems thats how it works.