Sitemap

Amicuk Programming Answers

HTTP Post Requests

-0001-11-30   Views:0

Advertisement

Can someone explain how to do this? I've checked the main Java site and it's got an example, but it uses MIDP code and I've got Java 5.0. Regards JohnnyThanks for that. But HttpURLConnection has a protected constructor and I can't instantiate. What's

Can someone explain how to do this? I've checked the main Java site and it's got an example, but it uses MIDP code and I've got Java 5.0.
Regards
Johnny

The replay answer
Advertisement
Thanks for that. But HttpURLConnection has a
protected constructor and I can't instantiate. What's
the correct way of using this?
I've been able to do this by directly connecting to
the server on port 80, but that's is obviously not
the best way to do this, is it?
Can you give me some example code for this. I've been
tearing my hair out trying to find a better way that
using the Socket class.
JohnnyCreate a class extending HttpURLConnection. That class is abstract anyway.
***Annie***

Go to See the other 7 answers

Get all values from request.getParameter

Category:DefaultRelease time:2015-10-11Views:130

In ASP, I can do something like that... For each item in Request.Form Response.write "Name is:" & item & " value is:" & Request(item) Next How about in JSP? How do i get the names and values of the form using a loop?You can[More]

Error while releasing a request.

Category:DefaultRelease time:2015-10-11Views:130

Hi All, I'm facing an error while releasing a request. The request contains an ABAP programs along with two INCLUDDE programs as well as a TCode to run the same. It is running successfully in dev. server. But, while releasing ths request it shows me[More]

Error:  "Could not complete your request because of a program error" (photoshop CS2 9.0.2 on MAC OSX

Category:DefaultRelease time:2015-10-11Views:130

Today I started my program (photoshop CS2 9.0.2) and opened a JPG file. When I went to print the file the program crashed and closed. When I restarted the program and went to open the file I got this error message, "Could not complete your request be[More]

Can not view data in a request from psa

Category:DefaultRelease time:2015-10-11Views:130

Dear experts, I have a problem with data in psa. If a select a mange of PSA, I see some request. I select one of them to see data. But there is no data. How is it possible? If you delete a reques from psa, that request desappears from the psa, doesn'[More]

Unable to capture the Data Source into a Transport Request

Category:DefaultRelease time:2015-10-11Views:130

Hi All, We have a product hierarchy and we are using the data source :4R_PRODH_D_LGEN_HIER for the hierarchy. Now we need to transport this structure to the quality environment but we were not able to capture the datasource:4R_PRODH_D_LGEN_HIER into[More]

EH&S WWI for GLM print request processing

Category:DefaultRelease time:2015-10-11Views:130

Hi all, we installed EH&S WWI for GLM print request processing scenario, following the note:"1394553", but when we try to print we receive this error from WWI: Start Function 'WWI_PRINTREQUEST_CREATE'   Initializing parameters   Receiving da[More]

(Request for reporting available) is not coming in Cube

Category:DefaultRelease time:2015-10-11Views:130

Hi All, I have Cube & DSO. I  added fields in DSO & Cube. Cube1 has Aggregrates built on it.i added 5 infoobjects on it, Now when i load data from DSO to Cube(Request for reporting available) is not coming up. i cant do reporting on it. can anyone[More]

My iphone wont let me play songs that I bought from iTunes. It says "The requested URL was not found on this server" How can i play my music also my music videos again?

Category:DefaultRelease time:2015-10-11Views:130

I bought a few songs and music videos from iTunes, then all of a sudden it wouldn't play and would just skip to the next song. With the music videos it would do the same. Also, this message would show up " The Requested URL could not be found on this[More]

Retriving only hidden parameters from request.getParameter

Category:DefaultRelease time:2015-10-11Views:130

Hi, I want to retrive only the hidden parameters from previous JSP page into current JSP page. The problem here is that my hidden parameters in privious page are dynamically generated (parameter names are decided based on values retrived from the dat[More]

Help with getting values from request. Very Strange!!

Category:DefaultRelease time:2015-10-11Views:130

Hello, My very strange problem is the following. I have created three dynamic list boxes. When the user select the first list box, the second becomes populated with stuff from a database. The third becomes populated when the second is selected. Now,[More]

Problem getting arraylist values from request

Category:DefaultRelease time:2015-10-11Views:130

Hi All, I am trying to display the results of a search request. In the jsp page when I add a scriplet and display the code I get the values else it returns empty as true.Any help is appreciated. <%@ taglib prefix="sql" uri="http://java.s[More]

Hot
I've just bought my iRig and it doesn't work with my iPod 5. I get no sound out of my guitar. Headphones are working and when iRig is connected I can hear the samples and every other sound coming out of the iPod, but I get nothing from my guitar. I t [More]
Does anyone know what the Lock_flag is for the customer item open interface and what it should be set to when creating customer items? It is a required field but it is not explained in the 11.5.9 documentation.Hi I didn't find this flag in TRM of 11. [More]
Hi all, I am trying to implement inventory management scnerio in BW3.5 using screen shot PDF , for this i activate standard business content ( cube : 0IC_c03 ) and activate all its related object . one of my key figure 0RECVS_VAL  I want to change it [More]
I have 2 Windows 7 PC's with different iTunes accounts, both accessing the same NAS drive for their save location. 2 Questions: - 1 - How do I stop them from reverting back their default save loaction ( from "z:/itunes/itunesmedia" to "c:/u [More]
Recently I updated my iPhone to iOS 5.0.1.When I was on iOS 5.0.0 my Notification was working properly.But now,when I updated it,it stopped working!I try to swipe it from the black area from the clock area,i try to swipe it in Landscape mode,but it n [More]
AFAIK This is the official Hyper-V Manager for Windows 7: http://www.microsoft.com/en-us/download/details.aspx?id=7887 it explicitly lists Hyper-V versions up to 2008R2, there is no mention of 2012 or 2012R2, and from trying to connect to my new Hype [More]
Hi, I use jdev10g and i want to send a mail message. Here's a little snip of my class for sending a mail. Jdeveloper gives me a error about Message.RecipientType.TO. "Member 'RecipientType' not found in javax.mail.Message" import javax.mail.Mess [More]
I have just updated my Apple TV (I believe it is now 4.4.2) When I view my photo albums, the sort order is not the same as that in my iPhoto. It was before the update. I resorted the albums again in iPhoto, they look just right on my MBP.  They also [More]
Hello Experts, We've the restricted key figure which is restricted with retailer group A & B But  it does not work if we have a structure in a query that also includes retail group A & B. Is there a way we could look at getting this made into an e [More]
I have recorded two video demos and would like to combine them into a single video demo. Is that possible in Captivate 8?Hi there Open them both for editing, then right-click one of them and copy. In the second, right-click and paste. Poof! Combined [More]