This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
Hi, I have a MIDlet which calls a Servlet. So far what I did was just used the write(byte b) method of the DataOutputStream to write the parameter to the servlet. What I want to know is, how can I write two different parameters. For example 'name' and the 'age' to the servlet at once. Same time how can I get these two parameters seperately. Thanks in advance........
SCJP 1.4, SCMAD 1.0<br />SCWCD, SCBCD (in progress)
I'm afraid I don't know anything about J2ME. You may be better off posting your question in the J2ME forum.
However, if a MIDlet is the J2ME equivalent of a Servlet (!? ?!) then this may help: if you wanted to call a servlet (called Servlet2) from a servlet, passing additional parameters, you would do the following: