Thread: JSP & WML & WAP
View Single Post
Old 04-21-2005, 01:38 PM   #4
sacramentojoe
Knows Where the Search Button Is
 
Join Date: Apr 2005
Model: 7230
Posts: 30
Default

Quote:
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.
Offline