| Author |
Midlet Download/Installation Status Codes via servlet/jsp
|
Topgun Hassan
Greenhorn
Joined: Nov 18, 2004
Posts: 4
|
|
Hi all, I am trying to get Java Games(midlet) download Statuses i.e OTA midlet Install Notify statuses: 900 Success 901 Insufficient Memory 902 Cancel By User .... I have writen: MIDlet-Install-Notify in .Jad file as: MIDlet-Install-Notify: http://servername.com/downStat.jsp and writen a code in jsp file to grab all Headers as well Request values. The code snipet is given below: <% String headerValue =null,headerName=null; System.out.println("----- START OF Request Parameter Values-----\n"); Enumeration headerNames = request.getParameterNames(); while (headerNames.hasMoreElements()) { headerName = (String)headerNames.nextElement(); headerValue = request.getParameter(headerName); System.out.println("*** ReqParam_Name: "+ headerName + " - Req_Param_value: " + headerValue); } System.out.println("----- START OF HEADERS Values -----\n"); headerNames = request.getHeaderNames(); while (headerNames.hasMoreElements()) { headerName = (String)headerNames.nextElement(); headerValue = request.getHeader(headerName); System.out.println("*** headerName: " + headerName+" - headerValue : "+headerValue + " *** \n"); } %> The midlet is calling the .jsp page and I am getting some output But still I cant find the Midlet Installation Status codes (900,901...) in output. If any one knows the solution, plz rectify me where am i doing wrong or missing something Your help will be highly appreciated Thanks in advance Hassan
|
Hassan
|
 |
 |
|
|
subject: Midlet Download/Installation Status Codes via servlet/jsp
|
|
|