Why there r two functions (do post & do get)

why there r two functions doget() & dopost() while any code can run in any of them and give me the same result.
sure, here is difference but what this difference ?
thnx in advance

thnx shudha
this thread is very good, i pasted it here to clear the vision for otheres too:
There are two points between GET and POST
01) Amount of information u can get.
02) Post is secure for getting Passwords and credit cards numbers.
GET puts the form values into the URL string. GET is limited to about 256 characters (usually a browser limitation) and creates really ugly URLs.
POST allows you to have extremely dense forms and pass that to the server without clutter or limitation in size. e.g. you obviously can't send a file from the client to the server via GET.
Below lines are from http://www.microsoft.com/windows2000/techinfo/reskit/en/iisbook/c06_the_difference_between_get_and_post.htm
QUOTE
The GET method, which was used in the example earlier, appends name/value pairs to the URL. Unfortunately, the length of a URL is limited, so this method only works if there are only a few parameters. The URL could be truncated if the form uses a large number of parameters, or if the parameters contain large amounts of data. Also, parameters passed on the URL are visible in the address field of the browser�not the best place for a password to be displayed.
The alternative to the GET method is the POST method. This method packages the name/value pairs inside the body of the HTTP request, which makes for a cleaner URL and imposes no size limitations on the form�s output. It is also more secure.
UNQUOTE
Hope abv will help.

Similar Messages

  • Why there are two IMG steps provided for Home Page configuration?

    Dear experts,
    I wonder why there are two IMG steps provided for configuring ESS home page.
    1. Cross Application Components --> Employee Self Service --> General Settings
    2. Personnel Management --> Employee Self-Service --> General Settings
    Both tables contents are also similar.
    Why SAP has provided same configuration steps in two areas?

    Your first one is wrong. It is under Cross App. Components but not in an ESS node....I am sure it is a typo on your part. Anyways......
    It's NOT two steps. It's just the same configuration in two places. It makes it easier to locate for instance if you are in ESS to just have it there. BUT the Homepage Framework is used elsewhere (MSS for example) as well as you can use it for whatever else you like (building an easier interface for other things) therefore, it has it's "true" place up as a "cross application component".
    This is very similar to say Benefits. If you look under the Benefits config area in the IMG, you will actually see a lot of ESS settings there that are the exact same ones you see under the ESS node too.
    Don't let it confuse you.

  • Why there are two init methods?

    I copied this code from netbeans for a JApplet.. and it has two init methods
    One is public void init() that calls another initComponents() method.
    And the initComponents() method has all the components defined in it, and it is private.
    I replaced private with public and changed initComponents to init, and then deleted all the init method, it worked that way.
    But why there two methods when you can put every thing in single init() method?
    The init() method has this code in it:
    public void init() {
            try {
                java.awt.EventQueue.invokeAndWait(new Runnable() {
                    public void run() {
                        initComponents();
            } catch (Exception ex) {
                ex.printStackTrace();
        }

    BDLH:
    WWJD? Probably code in Ruby, but I digress. No, he would define an abstract base for that boilerplate code:
    import java.awt.*;
    import java.lang.reflect.*;
    import javax.swing.*;
    public abstract class AbstractApplet extends JApplet {
         public void init() {
              try {
                   EventQueue.invokeAndWait(new Runnable() {
                        public void run() {
                             initComponents();
              } catch (InterruptedException ex) {
                   ex.printStackTrace();
              } catch (InvocationTargetException ex) {
                   ex.printStackTrace();
         protected abstract void initComponents();
         //ditto: start, stop, distroy
    }

  • Why there is two Date Class

    There are two Date Class
    One in Pacakge java.util.Date
    another in Package java.sql.Date
    What the difference between these two class and when to use whom.

    The documentation explains the difference:
    http://java.sun.com/j2se/1.4.2/docs/api/index.html
    /Kaj

  • Why there is no function to send images using Bluetooth ?

    Well I was very much annoyed with my iphone when there were necessities of sending important images using bluetooth and transferring files, Well they should make something similar to it, Is there any solution well i think there might no .....
                                                                                         happy republic day 2015 and happy holi 2015

    Bluetooth and WiFi Settings are moving to a top-level Setting in iOS 6.
    You could just leave Bluetooth turned on. When not in use it has a negligible effect on battery life.

  • I've exported many credit card pdf statements to excel. However there are two months where I just get rubbish returned in the Excel tab and in word. Is this a bug?

    Has anyone taken out the Adobe Export PDF program that converts PDF to word or excel and had the same experience of it failing in certain circumstances?

    Hi chrisvale,
    How well a file converts depends largely on the quality of the original file.
    Please let me know does it occur with all files or with specific?
    Are you trying to access the service via web browser or via Adobe Reader?
    If you're using Reader, choose Help > Check for Updates to make sure that you're using the latest version of Reader. You should have Reader 11.0.10.
    Regards,
    Florence

  • Why can't I go to playback and there are two SE icons in Task Manager?

    I'm having several problems after upgrading to SE 3.0. 
    1.  Whenever I need to close SE in the Task manager, there are two SE icons under the Applications tab, is this normal?
    2. I had a previous SE installed which was purchased with a USB DAQ device, no more than one year ago.  This error came from one of the old project, that used to work.  The error occurs while trying to RECORD  a waveform using SIGNAL TRIGGER.  Using DAQmx acquire and Configured for N SAMPLES, the program locks up showing "Recording" in the PROJECT window.  If I look at the log file, it continously logs, instead of stopping at my 1 s duration.  This problem resolves when I setup the acquired signal for CONTINUOUS SAMPLES, but it used to work before I upgraded the software.  (The software may have been the same version - it was only 1 year old.)
    3.  Using a project with at least one logged file, SE locks up when I atttemp to go to the PLAYBACK mode.  No error message, just an hour glass and PLAYBACK highlighted.
    Thanks for your help.

    Scott M,
    1)  In task manager there are two Signal Express icons one should be LabVIEW (more square) and one Signal Express (more round).  I am not sure why you are closing signal express via task manager, but if you have to then this is what you are expected to see.
    2) When you have N samples set it will take (Samples to Read / Rate) seconds to complete the task.  It will then close after completeing that but it will not close mid task.  Continous however will simply stop at the time limit you specify.
    3)  Is it any logged file?  How long have you waited?  Is this a new pc?  Can you post screenshots?  
    Sincerely,
    Jason Daming
    Applications Engineer
    National Instruments
    http://www.ni.com/support

  • Why there is no quick selection function in adobe photoshop 6.0.1 [was: cs6.01]?

    Some one my help? why there is no quick selection function in my adobe photoshop 6.0.1 [was: cs 6.01]?

    What John Waller just said.
    And your screen shows it is the archaic, totally superseded Photoshop 6.01, and that was in no way associated with any CS (Creative Suite), so your question title indicating you had "cs6.0.1" was massively and annoyingly misleading and wrong.
    You must be running an ancient machine if that oldie runs on it.
    What's worse you are running an illegal, pirated and hacked version of Photoshop.  You are breaking the law.
    Please don't come back here until you have bought a legal copy of Photoshop.  

  • Are there BAPI or function modules for creating posting address ?

    Are there BAPI or function modules for creating posting address and budget address? We are currently use BDC program and T code FMBSPO_MULT (Posting address) and T code FMBSBO_MULT(budget address), but it is a very slow processing because we have thousands of funds centers.
    Your input will be appreciated!
    Regards,
    Fisher Li

    Li,
    You will have, may be more answers in the technical forum :
    https://www.sdn.sap.com/irj/sdn/collaboration
    Regards
    Valérie

  • Why are there suddenly two icons in my URL (Google Manage Requests and Facebook Manage Requests) that I cannot control?

    Hi Mozilla ~
    In the URL field of Firefox, there are two icons on the far right, just left of the pull-down arrow and refresh arrow. They appear to be for Google and Facebook, both with tooltips that say, "View and Manage Requests". The pull-down menu allows me to manage those Friend requests they link to, but "Move to Menu" and "Remove from Toolbar" are greyed out and not actionable.
    Q1 - How did they get there?
    Q2 - How can I stop them from being placed automatically in the future by these privacy-muggers?
    Q3 - What are they doing in the URL field?
    Q4 - If the right-click context/pull-down menu has greyed out the option of "Remove from Toolbar", how can I delete them?
    FWIW, I have accounts with Google and Facebook but trust neither and so have blocked them in every way possible from watching me, sending me notifications, doing anything "for" me, etc. My Add-Ons may be visible in my account, but generally they are related to organizing: "Group Tabs", "Bookmarks" or to my customized work process: "Send to Kindle", "HTTPS Everywhere" and "Disconnect Privacy". I hope that helps.
    In an online world of sharks and blood-suckers, I trust Mozilla to help me be safe. Thank you for helping me figure out what Google and Facebook are going in my URL field.
    I prepared a JPG to show what it looks like but there is no upload image function in this screen... and I cannot seem to drag-and-drop the file into this form field. Please advise.
    ''[Personal information removed by moderator. Please read [[Forum rules and guidelines]], thanks.]''

    Hi - Thanks for responding.
    I've opened the Add-ons dialog and can confirm that I have both installed and enabled. I want them to stay this way, since I do not want either of them intruding on my privacy.
    That their icons have very recently (I only noticed them today) appeared in my URL field, and that they are seeking to push notifications of friend requests to me from that location, does not seem related to my use of the add-on that prevents them from tracking what websites I go to, which is what those two Disconnect add-ons seek to provide.
    Further insight and advice appreciated. I see there is a way to add an image to my concern, so here goes.
    Thanks again
    Alison

  • Why there are no layout in number 3.0 ????????

    why there are no layout in number 3.0 ????????
    I need to export the number file to PDF file , I don't want all of the pages are together , I need to seperate the pages in PDF file , I need the PDF file with layout function , just like previous version .
    why are this useful function missing in new version ????????????????????????????????????????????????????????????

    All we know here is that the new version of Numbers is significantly different than the old version of Numbers. We didn't write the specifucation nor do we know what the objectives were for the redesign, other than Apple's stated desire to make the three platform versions of Numbers as compatible as possible across platforms. That's the best "why" we can give you.
    Thanks for using only one exclamation point in your last post.
    Jerry

  • Why there's no multitasking gesture in IOS5 for Ipad 1?

    Why there's no multitasking gesture in IOS5 for Ipad 1?
    Why?
    This's discrimination for iPad 1 users!
    Why disable it?
    I think your strategy will make many of Apple users dispointed!
    I hope to add multitasking gesture to next updata or fix !

    iOS 5.1.1 will not give the iPad 1 the full suite of multitouch gestures. The hardware won't support those. And you responded to a post that's almost two years old.
    Regards.

  • Why not build same function in Itunes as Spotify offers ..? I Would definitely buy me access on site.. :-)

    why not build same function in Itunes as Spotify offers ..? I Would definitely buy me access on site.. :-)

    Spotify has a completely different legal and contractual structure, oriented towards subscription services. You never, ever, own the music you hear on Spotify, and both artists and labels are compensated at a minuscule fraction of the quantity they receive when you buy music from the iTunes store. It is not clear that the Spotify model will remain sustainable over time, as artists/labels have little incentive other than promotion to post their work there.
    Apple would have to determine that such an arrangement was worthwhile to them (and you, and all the other parties) before they went that route. Technically, it is not hard for them.

  • My apple is not activating,Asking for Apple ID &p.word, I have entered the apple ID which i was using to download all apps,but it wont work, Now system is saying that your apple Id is wrong, My question is Can there be two apple IDs?

    My apple is not activating,Asking for Apple ID &p.word, I have entered the apple ID which i was using to download all apps,but it wont work, Now system is saying that your apple Id is wrong, My question is Can there be two apple IDs? My apple ID is my Yahoo mail it self, but not able to log in to  Icloud, Can any body guide, Why, I can not.

    Hi dip_kinu,
    I apologize, I'm a bit unclear on exactly what device you are trying to set up and what is happening when you try to do so. If you are having issues remembering your Apple ID, or feel like you may have set up multiple Apple ID's, you may find the following page helpful:
    Apple - My Apple ID: Find your Apple ID
    https://iforgot.apple.com/appleid
    Regards,
    - Brenden

  • I recently connected my new ipad to my itunes, but now itunes will not recognise my ipod classic, and 50gig of music has gone. ipad connects ok but no longer ipod which has been there for two years! help!!!

    I recently connected my new ipad to my itunes, but now itunes will not recognise my ipod classic, and 50gig of music has gone. ipad connects ok but no longer ipod which has been there for two years! help!!!

    What happens when the iPod is plugged in?  anything?  any errors?
    Why is 50GB of music gone?  All music should exist on the computer.  Only a fool would rely on a single device which could easily be lost or stolen to store their content on.

Maybe you are looking for

  • How do I drag and drop files in iTunes 12?  I don't see my other computers in the side bar only playlist?

    I upgraded to Itunes 12 and now cannot drag and drop my movies & music files between my shared computers?  The side bar option, which only appears under the Playlist tab does not show my other shared devices where I used to simply drag files over and

  • Select list width and printing output

    Hi, Can anyone tell me how to set the width of a SELECT LIST control? I have tried to set but it is always dynamic and depends on the width of the data items of the list which are supposed to be displayed. Can i fix the width, jsut like simple text f

  • MacBook Pro Retina Backlight Bleed and Color Uniformity Issues

    I don't know how Apple considers this display as "in spec" with their standards. Along with a noisy SSD capacitor, I am currently working on getting a new machine from Apple.

  • Is this a hardware interferin​g?

    Hello, I worte a program (please see in attachment) to acquire data by serial ports (RS232) from two instruments--one is a force sensor and another is a position sensor. When I connected those two instruments directly to my desktop by RS232, the data

  • Curve 8300 and tethering

    Hi, I have a BB Curve 8300 that I'm trying to use to connect my laptop to internet trough tethering. I have Desktop Manager v. 4.2.2 on Windows 7. My carrier is T-Mobile. After I configured the dial-up modem I was able to connect my laptop few times