Signature post to HTTP Question

I have a form that I am using to post to HTTP using PHP Script. It works great, however I would like to be able to have a field that a customer signs with stylus on tablet pc and I can upload that as a jpg or whatever and also lock the form so it cannot be modified after customer signs off on order. Anyone out there have an idea of how I can get a client to do that using Adobe Livecycle?
Let me know if I need to provide more info?

Thanks,
That is really helpful!
I downloaded CIC Signit for Adobe and was able to sign. I need to figure out how to make it skip some of the questions and just give the sig box?
Also need to fig out how to have it lock it all down once it is signed so the order cannot be modifed after it is signed.
Also Any tutorials out there on how to use HTTP Submit to a php script and upload the signature image?

Similar Messages

  • In which Board we need to post cRIO related Questions?

    sir,
         In which board do i need to post cRIO related Questions and doubts regarding my application with cRIO .Please help me previously i have posted in  motion control drives as my application is related to motor control using cRIO.bu i am not getting any reply .i couldnt find any cRIO related board in select board option.
    Solved!
    Go to Solution.

    Hi illa,
    You can post your query under the Real Time Measurement and Control
    http://forums.ni.com/t5/Real-Time-Measurement-and/bd-p/280

  • Please post documentation-related questions or comments on the

    Please post documentation-related questions or comments on the Performance Management Applications {forum:id=1318} forum     
    http://forums.oracle.com/forums/forum.jspa?forumID=1318

    I just got a call today that I reached my 300GB limit for the month.  I called and got a pretty rude response from the security and data usage department.  The guy told me in so many words that if I do not like or agree with the policy that I should feel free to find another service provider.!!! I tried to explain that we watch Netflix and XFinity on-demand alot and I was told that that can not be anywhere close to the data usage. I checked my router and watching a "super HD, dolby 5.1" TV show on Netflix will average about 5-6 GB per hour (1.6MB/s) ... sp this means that I can only watch no more than 1-2 Super HD TV shows a day via Netflix before I run out of my data usage.    This seems a bit redicilous doesn't it? Maybe the TV ads about the higher speed than the competition should be accompanied with "as long as you don't use it too often"   Not a good experience ... 

  • Please read this before posting any new questions about AFL

    Getting your AFL questions answered quickly and effectively is really important to us, before you post any new questions, please check out the existing conversations or below links for an answer to your query.
    There is also a host of information available at http://www.afl.com.au/ however we'd suggest you take a look at the support material provided here as many freuqently asked questions have already been answered.
    We've also taken time to create threads with common questions for you. Check them out below:
    General FAQs
    AFL Live Pass FAQs
    AFL App FAQs
    Fantasy & Tipping FAQs
    Streaming FAQs
    AFL App Troubleshooting
    If you still need a further hand or can't find what you're looking for, one of our friendly 24x7 support team will be happy to help, please post your question here

    Getting your AFL questions answered quickly and effectively is really important to us, before you post any new questions, please check out the existing conversations or below links for an answer to your query.
    There is also a host of information available at http://www.afl.com.au/ however we'd suggest you take a look at the support material provided here as many freuqently asked questions have already been answered.
    We've also taken time to create threads with common questions for you. Check them out below:
    General FAQs
    AFL Live Pass FAQs
    AFL App FAQs
    Fantasy & Tipping FAQs
    Streaming FAQs
    AFL App Troubleshooting
    If you still need a further hand or can't find what you're looking for, one of our friendly 24x7 support team will be happy to help, please post your question here

  • Please read this before posting any new questions about NRL

    Getting your NRL questions answered quickly and effectively is really important to us, before you post any new questions, please check out the existing conversations or below links for an answer to your query.
    There is also a host of information available at http://www.nrl.com/ however we'd suggest you take a look at the support material provided here as many freuqently asked questions have already been answered.
    We've also taken time to create threads with common questions for you. Check them out below:
    General FAQs
    Digital Pass FAQs
    NRL App FAQs
    Tipping & Fantasy FAQs
    Streaming FAQs
    NRL App Troubleshooting
    Laptop troubleshooting
    If you still need a further hand or can't find what you're looking for, one of our friendly 24x7 support team will be happy to help, please post your question here
     

    Although I appreciate the sentiments and would speed the initial diagnosis. I do feel it would put some members off, in particular ones who have had a issue for some time and more so customers who have had the "helpline" experience and have been passed pillar to post.  Being directed to another link comes across for me, as a bit "helpline".  I feel at this point, many would want some 1 to 1  (therapy) and they are being listened too with regards to there broadband issue. 
    I've seen users irate very recently, just by a simple request of hub stats posted by copy & paste.  We all do it, however it can come across, corporate avoidance (helpline).  At times I have PM,  something similar with regards to our end responsibilities, depending how I believe, they are presenting themselves on the forum
    Mortgage Advisor 2000-2008
    Green Energy Advisor 2008-2010
    Charity Health Care Provider Advisor 2010-
    I'm alright Jack....

  • How to post multiple http requests using a single http connection in java

    I am using the httpurlconnection class and it allows only to post one request on a connection. I require to post multiple http requests by opening a single connection. Code examples please. Thanx in advance.

    Hi
    I found this article through Google. I hope it helps a little
    http://www.developer.com/tech/article.php/761521
    D

  • If you need help quickly... Guideline for posting an effective question.

    Whenever you have a question that you would like answered, do pose that question effectively.
    First, do not assume that because you have tried many, many times that your question is understood by someone else. What is obvious to you may not be for another. So please state in a very detailed and structured way what steps you have taken to cause your problem, how you can replicate this problem, under what circumstances on what hardware/software.
    The fact that you have nearly given up because of your problem does not mean that someone else can readily understand this problem. When you go to your doctor and say: "I have a pain in my stomach" he will ask you a lot of questions. Same applies here. Your doctor may need to know about any medication you have taken, your blood pressure, history, etc. If you want help, be as PRECISE and ACCURATE as possible.
    Second, this is a USER TO USER forum. So ranting will not help. What may help is a STRUCTURED approach to describing the problem you have.
    Third, do a thorough search of posts here, on other fora and with Google before repeating what has been asked a thousand times and has worn out the patience of regulars here, who have answered your question a dozen times already. Use the FAQ and the Wiki to find answers to questions that have been posed and answered repeatedly. Do not assume you are unique with your problem. Well, you are unique, the problem you have most likely is not.
    Fourth, realize that even though it may be highly frustrating to you to not be able to solve YOUR problem, by posting your question here, you are dependent on fellow editors to help you on their free time without compensation, so bear with them to help identify what EXACTLY is your problem. If you lack that decency, you may forfeit their help, so why did you come here?
    Fifth, consider your work flow in light of the purpose of Premiere, an editing package. If you have problems with rotoscoping, programming with APL, spreadsheets in general, word processing on a mobile phone, importing Panda bears into a local zoo, feeding nearly distinct whales in the Alps, or anything far removed from the purpose of PP, you may be better off in posting your question elsewhere.
    Last:
    Everybody has to learn, has the right to ask questions and be helped.
    If everybody has the decency to pose their urgent, life threatening or other questions in a detailed, structured and comprehensible way, it will vastly improve the chances of speedy and helpful replies, without the need for sarcasm, bundles of to-and-fro posts without meaningful help, just wasting bandwidth.
    I know I have been rightly accused of such behavior, which was the result of sheer frustration with absolutely meaningless and often pointless questions without details, structure and the like. Maybe this can be a general guideline for posters on how to ask questions, in addition to Eddie's links and How to ask questions the smart way
    The most frustrating issues one can encounter are hangs, BSOD's (blue screens of death), system errors and other cases of seemingly random erros that require rebooting, restarting or similar actions, only to be confronted with the next hang, BSOD or system crash.
    These errors are often difficult to locate, due to the large variety of systems, components and driver or software versions in use. This is often further aggravated by sheer lack of expertise, understanding of what needs to be communicated in order for others to help solve the issue at hand. And that list is very long.
    So, in order to make it a bit simpler for the average user who encounters these problems, follow the following steps when posting a problem:
    1. Clearly describe the main problem in the topic, but be brief. Not so brief as to only say: "Help!" or "URGENT" or another meaningless statement but get to the point, like: "PP crashes on opening, requiring a reboot" or "Using DL the system hangs upon return to PP". You get the point.
    2. Briefly describe your hardware, software, OS and versions in use, including disk setup, video card and driver versions, etc.
    3. Describe source material, including codec (not AVI, which is not a codec), project settings and other relevant info.
    4. Describe as accurately as possible what you did, what steps you took, what happened at what moment and what you did to try to resolve it.
    5. Go to Start/Run, type in DXDIAG, enter and save all information to a TXT file. Include a link to that file in your post.
    6. Go to Start/Run, type in MSINFO32 (or similar for 64 bit OS), enter and save the results as a .NFO file. Include a link to that file in your post.
    7. Download Process Explorer , and either post a screen shot or a link to the results.
    8. Make a screen shot of the results of SpeedFan or HW Monitor and include that in your post.
    When you perform these basic steps, you avoid endless questions about your system and people may be able to help you faster.
    If you feel up to it, take a look at The Case of the Unexplained to start your own troubleshooting.
    Hope this helps to post more meaningful questions and get an answer much quicker.

    Whenever you have a question that you would like answered, do pose that question effectively.
    First, do not assume that because you have tried many, many times that your question is understood by someone else. What is obvious to you may not be for another. So please state in a very detailed and structured way what steps you have taken to cause your problem, how you can replicate this problem, under what circumstances on what hardware/software.
    The fact that you have nearly given up because of your problem does not mean that someone else can readily understand this problem. When you go to your doctor and say: "I have a pain in my stomach" he will ask you a lot of questions. Same applies here. Your doctor may need to know about any medication you have taken, your blood pressure, history, etc. If you want help, be as PRECISE and ACCURATE as possible.
    Second, this is a USER TO USER forum. So ranting will not help. What may help is a STRUCTURED approach to describing the problem you have.
    Third, do a thorough search of posts here, on other fora and with Google before repeating what has been asked a thousand times and has worn out the patience of regulars here, who have answered your question a dozen times already. Use the FAQ and the Wiki to find answers to questions that have been posed and answered repeatedly. Do not assume you are unique with your problem. Well, you are unique, the problem you have most likely is not.
    Fourth, realize that even though it may be highly frustrating to you to not be able to solve YOUR problem, by posting your question here, you are dependent on fellow editors to help you on their free time without compensation, so bear with them to help identify what EXACTLY is your problem. If you lack that decency, you may forfeit their help, so why did you come here?
    Fifth, consider your work flow in light of the purpose of Premiere, an editing package. If you have problems with rotoscoping, programming with APL, spreadsheets in general, word processing on a mobile phone, importing Panda bears into a local zoo, feeding nearly distinct whales in the Alps, or anything far removed from the purpose of PP, you may be better off in posting your question elsewhere.
    Last:
    Everybody has to learn, has the right to ask questions and be helped.
    If everybody has the decency to pose their urgent, life threatening or other questions in a detailed, structured and comprehensible way, it will vastly improve the chances of speedy and helpful replies, without the need for sarcasm, bundles of to-and-fro posts without meaningful help, just wasting bandwidth.
    I know I have been rightly accused of such behavior, which was the result of sheer frustration with absolutely meaningless and often pointless questions without details, structure and the like. Maybe this can be a general guideline for posters on how to ask questions, in addition to Eddie's links and How to ask questions the smart way
    The most frustrating issues one can encounter are hangs, BSOD's (blue screens of death), system errors and other cases of seemingly random erros that require rebooting, restarting or similar actions, only to be confronted with the next hang, BSOD or system crash.
    These errors are often difficult to locate, due to the large variety of systems, components and driver or software versions in use. This is often further aggravated by sheer lack of expertise, understanding of what needs to be communicated in order for others to help solve the issue at hand. And that list is very long.
    So, in order to make it a bit simpler for the average user who encounters these problems, follow the following steps when posting a problem:
    1. Clearly describe the main problem in the topic, but be brief. Not so brief as to only say: "Help!" or "URGENT" or another meaningless statement but get to the point, like: "PP crashes on opening, requiring a reboot" or "Using DL the system hangs upon return to PP". You get the point.
    2. Briefly describe your hardware, software, OS and versions in use, including disk setup, video card and driver versions, etc.
    3. Describe source material, including codec (not AVI, which is not a codec), project settings and other relevant info.
    4. Describe as accurately as possible what you did, what steps you took, what happened at what moment and what you did to try to resolve it.
    5. Go to Start/Run, type in DXDIAG, enter and save all information to a TXT file. Include a link to that file in your post.
    6. Go to Start/Run, type in MSINFO32 (or similar for 64 bit OS), enter and save the results as a .NFO file. Include a link to that file in your post.
    7. Download Process Explorer , and either post a screen shot or a link to the results.
    8. Make a screen shot of the results of SpeedFan or HW Monitor and include that in your post.
    When you perform these basic steps, you avoid endless questions about your system and people may be able to help you faster.
    If you feel up to it, take a look at The Case of the Unexplained to start your own troubleshooting.
    Hope this helps to post more meaningful questions and get an answer much quicker.

  • HTTP-CODE 500 when POST via https

    Hi,
    I've a serious problem here. When I try to post some data to a https server I'll always get an 500 internal Server Error back. What could be the problem? Here is my code that is responsible for posting:
            System.setProperty("proxySet","true");
            System.setProperty("https.proxyHost",prxy);
            System.setProperty("https.proxyPort",prxyPrt);
    String hh = "https://" + host;
                URL u = new URL(hh);
                con = (HttpsURLConnection)u.openConnection();
                con.setDoOutput(true);
                con.setDoInput(true);
                PrintWriter out = new PrintWriter(con.getOutputStream());
                out.write(daPost);
                out.flush();
                BufferedReader in = new BufferedReader(new InputStreamReader(con.getInputStream()));
                int c;
                while((c = in.read()) != -1) {
                    System.out.write(c);
                con.disconnect();The stuff that is stored in daPost is bullet-proof correct, because when it is posted with a VB-Application everything is ok........ and it is verified that both my java-application and the vb-application are producing the same POST-Data
    What could be the problem?
    Big thx in advance.
    LoCal

    Did you try to make the same post from an html form using a browser? That might show some extra info on what the problem with the post excactly is. Also, you are using a proxy server, the 500 reply could come from the host you are posting to, but also from the proxy server.
    What's in host? Is there a full url in it, or just the hostname? It might be you are trying to post to "https://somewhere.com" instead of to "https://somewhere.com/somescript.cgi".

  • New number of posts bug(?) + question; no #100, and total # of posts vary

    New number of posts bug(?) + question; no number 100, and total number of posts vary
    Intrigued by Tuttle's new attempt to join Niel's old habit to keep his own total number of posts count, I went and start counting my posts since the New Discussions. Because I saved my latest Old Discussions Post-and-Points info, I can see what are the previously-still-online ones (the pre- 14-Nov-2005 01:31 GMT ones), and I know exactly what was my "real" total number of posts before 14-Nov-2005 (2446).
    My New Discussions posts number however, is quite uncertain.
    Firstly, when I use the "My Posts" link on the right, then clicking on and on on the "Next" link,
    my "Viewing 91-100 of 586 -- Pages" shows 91-99 instead of 91-100
    (= should show 10 posts, shows 9 posts)
    then I go on clicking Next Next Next, and I see the same missing counts happen elsewhere:
    my posts number 100, 259, 260, 370, 390, 520, 558, 559, 560, 578, 579, and 580 are missing too.
    Note that I wouldn't bother doing all this, and I would have thought it's just very old posts that are automatically deleted like in the Old Discussions,
    BUT,
    the problem is that when I choose to see all my posts together on the same page
    (by using the start=0&range=600 suffix in the URL)
    I get a total number of posts that is different (570).
    A third way to quickly see all posts without having to load too big page
    (using the start=0&range=300 suffix in the URL then only one "Next" click)
    shows yet another, different again, number of total posts (573).
    And my "official" total number of posts is (586).
    Dear HOSTS,
    - If this can be used as a bug report to fix a counting problem, glad to help.
    - If there is no bug, I have two(+) questions then:
    1) Was my post number 100 deleted?
    (should be around 27-Nov-2005 18:00 GMT)
    Also:
    I thought the Total Posts number that we see in "My Public Profile" or under the avatar in each post (586), was only the number of posts still online.
    - if it is the case, then there are no automatically deleted old posts anymore?
    - if old posts are automatically deleted like before, this number should vary?
    - if it doesn't vary (it just grows by one per new post), AND at the same time old posts are actually automatically deleted,
    it has to show the "real" total number of posts then,
    (as it is now, a total starting from the Old-Discussions-still-online-posts, it makes no sense),
    that is,
    the total posts in the New Discussions PLUS the total posts since first registration in the Old Discussions.
    So,
    2) What does it show exactly?
    Thanks again for all the great work!
    Axl
    220? 221?

    Thank you Andreas,
    Your confirmation about the "post #100 bug" does help.
    "As for your other missing posts - I guess Tuttle's assessment that they might be deleted is probably right..."
    Yes, that makes sense and that's what I'm trying to figure in my OP, but then,
    after I posted my "#221/2667 post" (11-Dec-2005 21:51 GMT), my originally missing #
    259, 260, 370, 390, 520, 558, 559, 560, 578, 579, and 580
    should have become
    260, 261, 371, 391, 521, 559, 560, 561, 579, 580, and 581
    right? (forget the #100: this one we know for sure it's a bug)
    Or if the software counts them from the first (now that would have been a good start) instead of starting from the most recent,
    they should become
    258, 259, 369, 389, 519, 557, 558, 559, 577, 578, and 579
    Well, that's not what happened. Now the missing # are
    259, 260, 370, 390, 400, 520, 559, 560, 570, 579, and 580
    (in addition to the same #100) (#558 and 578 not missing anymore).
    As you can see, there is no logic:
    It doesn't work as a simple numerotation of StillOnlinePosts, no matter the order
    (otherwise there would simply be a straight count from 1 to 575 (=587-12).
    It looks indeed like it shows which old posts are being automatically deleted. That the numbers are quite the same would simply show that the old posts dates were so close, of course they are deleted (six months later) almost at the same time,
    BUT,
    if it was the case, there would never be LESS deleted posts between two StillOnlinePosts, like it happens for example between my StillOnlinePosts #557 and #561.
    Please note: of course I stick to the same method to make all my counts. Not manually modifying the URL, just using the default Next-Next-Next- clicking...
    Modifying URL would add yet more differences in the differences!..
    Dear Hosts,
    Too bad it doesn't help looking yourself at my "My Posts", as everything changes each time I'm adding a reply somewhere.
    Perhaps a good way to troubleshoot this would be to start from a very simple basis:
    --> "name" the posts with a number, starting from the oldest.
    This way, for example my "#1" post (11-Dec-2005 21:51 GMT in this thread) would be named "221" in the New Discussions, or "2667" if you start from my Registration date.
    At the moment, it is very difficult to figure what fault comes from the "#100 post bug" and what fault comes from another possible counting bug...
    Then the New Discussions "fluctuating" refreshing delay too, possibly messes the counts...
    Thanks!
    Axl
    223/2669

  • Can we send pre-test score (Pre-test question slide) and post test score (Question slide) both in lms from captivate?

    can we send pre-test score (Pre-test question slide) and post test score (Question slide) both in lms from captivate?

    Pretest score normally is not sent to the LMS. However it is stored in a system variable, you could use JS to send it.

  • How do I send a private message to someone who has posted a previous question or answer?

    I have a similar question to one which was posted earlier and I would like to contact the person who asked this question, to see if the advice received helped sort out his problem

    Molly K wrote:
    AdrianB,
    Unfortunately, our current system doesn't have private messaging functionality.
    If the thread was recent, the person you are looking for may still be subscribed to it. If they are, then you can post to the thread and a notification will be sent to them and they may respond to you.
    If the thread wasn't recent, then the notifications to it have probably all expired. The best thing to do in this case would be to post a new question and reference the old thread in your question. The original person may reply to it or other users may reply and let you know their opinion of the advice given.
    Thanks,
    Molly K.
    NI Web Support & Operations
    Hi Molly,
    What qualifies as "recent"? In other words, how long until subscriptions have expired?
    Thanks,
    Corey

  • The DATA CAP MEGA THREAD....post data cap questions or comments here.

    In the interest of keeping things orderly....This is the DATA CAP MEGA THREAD....post data cap questions or comments here.
    Please keep it civil.
    Comcast is testing usage plans (AKA "data caps") in certain markets.
    The markets that are currently testing usage plans are:
    Nashville, Tennessee market: 300 GB per month and additional gigabytes in increments/blocks ( e.g., $10.00 per 50 GB ). 
    Tucson, Arizona market: Economy Plus through Performance tiers receive 300 GB. Those customers subscribed to the Blast! Internet tier receive 350 GB; Extreme 50 customers receive 450 GB; Extreme 105 customers receive 600 GB. Additional gigabytes in increments/blocks of 50 GB for $10.00 each in the event the customer exceeds their included data amount. 
    Huntsville and Mobile, Alabama; Atlanta, Augusta and Savannah, Georgia; Central Kentucky; Maine; Jackson, Mississippi; Knoxville and Memphis, Tennessee and Charleston, South Carolina: 300 GB per month and additional gigabytes in increments/blocks ( e.g., $10.00 per 50 GB ) Economy Plus customers have the option of enrolling in the Flexible-Data plan.
    Fresno, California, Economy Plus customers also have the option of enrolling in the Flexible-Data plan.
    - If you live outside of these markets you ARE NOT currently subject to a data plan.
    - Comcast DOES NOT THROTTLE your speed if you exceed your usage limits.
    - You can check out the Data Usage Plan FAQ for more information.
     

    I just got a call today that I reached my 300GB limit for the month.  I called and got a pretty rude response from the security and data usage department.  The guy told me in so many words that if I do not like or agree with the policy that I should feel free to find another service provider.!!! I tried to explain that we watch Netflix and XFinity on-demand alot and I was told that that can not be anywhere close to the data usage. I checked my router and watching a "super HD, dolby 5.1" TV show on Netflix will average about 5-6 GB per hour (1.6MB/s) ... sp this means that I can only watch no more than 1-2 Super HD TV shows a day via Netflix before I run out of my data usage.    This seems a bit redicilous doesn't it? Maybe the TV ads about the higher speed than the competition should be accompanied with "as long as you don't use it too often"   Not a good experience ... 

  • Recently I posted my first question on the discussion forum and received an answer. How can I reply to the answer? Where do I have to click to be able to post my response?I posted a question and received an answer. How can I reply to the answer

    This may seem stupid: Recently I posted my first question to the discussion forum. I received an answer. Where can I reply to the answer?

    It looks like this:
    You will only see it if you Sign In  with your appleID
    Captfred

  • Sorry for posting a wrong question Loading multiple files!!

    Sorry for posting a wrong question Loading multiple files!!
    As per my understanding 
    Sorry for posting a wrong question Loading multiple files!!
    As per my understanding only a standard Dat file can be compared with one single dat file.Because Eacg dat file will be containing its own values. So multiple files cannot be compared.
    Am assuming dat files containing time(s) and acceleration values(g). G value for each file differs.
    Thanku!!
    Solved!
    Go to Solution.

    Hi Rash.patel,
    I'm still not sure I follow you.  When you say "Dat" file, do you mean the DIAdem 8.x standard file with the *.dat header and usuall a *.r64 binary file or two that it references, or do you mean some other specific data file with the extension *.dat or do you just mean a generic data file?
    DIAdem can certainly load multiple files into the Data Portal at the same time, so you must be referring to either a limitation of the "*.Dat" file you're talking about or correcting yourself that all the data you want to compare turns out to be in one "Dat" file.
    Brad Turpin
    DIAdem Product Support Engineer
    National Instruments

  • POST through HTTPs

    Hi, I try to perform http POST using
    http://martin.nobilitas.com/java/cookies.html
    it works.
    However, when I try to perform POST using https, by using tips
    // Dynamically register the JSSE provider.
    java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
    // Set this property to use Sun's reference implementation of the HTTPS protocol.
    System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
    it won't work anyone. I get error
    Exception java.io.IOException: Server returned HTTP response code: 500 for URL: https://www.xyz.com/dologin.jsp
    any suggestion?
    thanks

    * Main.java
    * Created on April 15, 2007, 10:05 PM
    * To change this template, choose Tools | Template Manager
    * and open the template in the editor.
    package oskcookies;
    import java.net.*;
    import java.io.*;
    * @author yccheok
    public class Main {
        /** Creates a new instance of Main */
        public Main() {
    /** Post a string to an URL and get the reply as a string. Returns an empty
    string if things didn't work out. */
        static public String getURLPostString(URL url, String body) {
            StringBuffer sb = new StringBuffer();
         // find the newline character(s) on the current system
            String newline = null;
            try {
                newline = System.getProperty("line.separator");
            } catch (Exception e) {
                newline = "\n";
            try {
             // URL must use the http protocol!
                HttpURLConnection conn = (HttpURLConnection) url.openConnection();
                conn.setRequestMethod("POST");
                conn.setAllowUserInteraction(false); // you may not ask the user
                conn.setDoOutput(true); // we want to send things
                // the Content-type should be default, but we set it anyway
                conn.setRequestProperty( "Content-type", "application/x-www-form-urlencoded" );
                // the content-length should not be necessary, but we're cautious
                conn.setRequestProperty( "Content-length", Integer.toString(body.length()));
                // get the output stream to POST our form data
                OutputStream rawOutStream = conn.getOutputStream();
                PrintWriter pw = new PrintWriter(rawOutStream);
                pw.print(body); // here we "send" our body!
                pw.flush();
                pw.close();
                // get the input stream for reading the reply
                // IMPORTANT! Your body will not get transmitted if you get the
                // InputStream before completely writing out your output first!
                InputStream  rawInStream = conn.getInputStream();
                // get response
                BufferedReader rdr = new BufferedReader(new InputStreamReader(rawInStream));
                String line;
                while ((line = rdr.readLine()) != null) {
                    sb.append(line);
                    sb.append(newline);
                return sb.toString();
            } catch (Exception e) {
             System.out.println("Exception "+e.toString());
             e.printStackTrace();
            return ""; // an exception occurred
         * @param args the command line arguments
        public static void main(String[] args) {
            // TODO code application logic here
            try {
                // Dynamically register the JSSE provider.
                java.security.Security.addProvider(new com.sun.net.ssl.internal.ssl.Provider());
                // Set this property to use Sun's reference implementation of the HTTPS protocol.
                System.setProperty("java.protocol.handler.pkgs", "com.sun.net.ssl.internal.www.protocol");
                URL url = new java.net.URL("https://www.abc.com/dologin.jsp");
                String txtUserName = "txtUserName="+URLEncoder.encode("username");
                String txtPassword = "txtPassword="+URLEncoder.encode("name");
                String _continue = "continue="+URLEncoder.encode("/quotes.jsp");
                String sessionError = "sessionError="+URLEncoder.encode("0");
                String body = txtUserName + "&" + txtPassword + "&" + _continue + "&" + sessionError;
                /* https://www.abc.com/dologin.jsp?txtUserName=username&txtPassword=password&continue=%2Fquotes.jsp&sessionError=0 */
                System.out.println(getURLPostString(url, body));
            catch(java.net.MalformedURLException exp) {
                exp.printStackTrace();
    }please take note that, when i directly enter this URL in my web browser (https://www.abc.com/dologin.jsp?txtUserName=username&txtPassword=password&continue=%2Fquotes.jsp&sessionError=0), the page can be login successful.
    However, if I execute the above code, I get the following error:
    Exception java.io.IOException: Server returned HTTP response code: 500 for URL: https://www.abc.com/dologin.jsp

Maybe you are looking for