Amicuk Programming Answers

HTTP Post Requests

-0001-11-30   Views:0


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.

The replay answer
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.

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]

I am using UCCE version 8.5 and programming with Internet Script Editor. I would like to know which options callers are selecting in my script. I know how to do this by monitoring the script. I would like to have it captured in a report so that I do [More]
Hi We have a request to configure a payment term to be "120 days from invoice date and end of month". Meaning that invoice should be paid at latest: invoice date+120 days and then in the end of that month. I am not sure how to configure that in [More]
As I understand it, the save in draft folder function is supposed to appear only for XDP forms.  We have a PDF form where the submit button in the form is set to submit as PDF.  And yet, the save button still appears in workspace container.  If a use [More]
fire fox does not start the checking thing keeps runningYou can check for problems with preferences. Delete a possible user.js file and numbered prefs-##.js files and rename (or delete) the prefs.js file to reset all prefs to the default value includ [More]
I have installed oracle 9i database in windows XP. Which is the compatible OS for installing oracle 9i database and how to initiate http server in the local machine. I could not able to start http server for enabling isqlplus to clients. please tell [More]
Hi  Folks, I could use some help setting up a WiFI network to accomplish three goals (see below). Hardware and Software: Computers -Dual Core 2.3 GHz PowerPC G5 Desktop Computer (note: NO internal airport WiFi card), OS 10.4.11 -iBook G4 with interna [More]
I have made a report that uses 2 Z tables (header - item) . I have somewhere in my file server some pdf files that i want to connect with each record of my tables . For example the first record has the 1.pdf the second the 2.pdf  etc etc . I thing th [More]
Is there a way to import Powerpoint 2007 presentations in Keynote? This won't work, even if I save them als PP 2003/97 Thanks for the help! WimWow, that's strange that they're saved in a format that won't open in Keynote even if saved as older files. [More]
My itouch isn't downloading my apps. I click install and it'll go to wait, then it just goes away. I tried downloading on my computer but it wiped out all of my apps. I tried restoring my itouch already but that hasnt done anything. Any suggestions?- [More]
I am learning my way around my new iMac (after using PC's ever since there first WERE PC's). In addtion to using the Mac OS, I am running two virtual machines (Windows XP Pro and Windows 7) during the transition and learning phase. I am running with [More]