A Midlet can "POST" data to a servlet using...
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   s990115_shenoy
Posted On:   Thursday, February 15, 2001 05:06 PM

A Midlet can "POST" data to a servlet using OpenOutputStream(..) and the servlet can retrieve the data using BufferedReader(..). (as stated in the java tutorial at sun site) Now, is it possible to "POST" data from midlet, to servlet, so that in the servlet the information can be retrieved using String param1=request.getParameter("Name"); If it is possible, can you please provide with the midlet code snippet. Also, is it OK (???) for midlet to "POST" date in http header [ c.setParameter("Name", "Sandeep"); ] Here, we can retrieve the data in the servlet by using String param1 = request.getHeader("Name"); What ar   More>>

A Midlet can "POST" data to a servlet using OpenOutputStream(..) and
the servlet can retrieve the data using BufferedReader(..). (as stated in the java tutorial at sun site)

Now, is it possible to "POST" data from midlet, to servlet, so that in the servlet the information can
be retrieved using
String param1=request.getParameter("Name");

If it is possible, can you please provide with the midlet code snippet.

Also, is it OK (???) for midlet to "POST" date in http header [ c.setParameter("Name", "Sandeep"); ]
Here, we can retrieve the data in the servlet by using
String param1 = request.getHeader("Name");
What are the security implications in this method. How safe and reliable is this method ?

Any help/advise/direction is greatly appreciated.

Sandeepak.

   <<Less
About | Sitemap | Contact