Do get and do post?

Hi all,
before, I belive if I can use do get then I can change it to do post.
now
my parameter come from jsp
     <A HREF=/SKL/servlet/Formate?click=<%= link.getNewNum() %>>in my servlet I
String select = request.getParameter ("click");
do search on database .
disp = getServletContext().getRequestDispatcher("/secure/Formate.jsp"); it only work on do get . if I try to change to do post , I got empty display .
why??
Thank you

Did you set action="POST" in your <FORM> tag in the
JSP?I think the OP meant requests generated by clicking on a hyper link.
Have u over riddendoPost() method?????It wont work even then.
it only work on do get . if I try to change to do post , I got empty display .
why??That's bcos post requests could be submitted only through form submissions. When you submit a form, you have an option of specifying that the request method be get or post.
When you access a resource by clicking on a url link, the request is always get. The max you could do is call doPost() from doGet() if you do want the code in doPost() to get called.
Cheers,
ram.

Similar Messages

  • Http.get and http.post is now what under utl_http?

    In previous source code sample(s), the statement http.get(url,response,content_type,proxyServer,proxyPort) doesn't exist in 9i. The sys.utl_http has get_Response but that doesn't take the same arguments. What is the utl_http call that would replace the http.get and http.post of 8i?

    In short, POST requests are for sending any amount of data directly over the connection without changing the URL, and GET requests are for getting limited amounts of information appended to the URL.
    POST requests cannot be bookmarked or emailed and do not change the Uniform Resource Locators (URL) of the response. GET requests can be bookmarked and emailed and add information to the URL of the response.

  • TS4036 my ipad has locked itself up and is posting the message:  iCloud Backup  This iPad  hasn't been backed up for 2 weeks ...  I've plugged it in, should be connected to wi-fi but I can't get the message off the screen and can't do anything.

    My Ipad has locked itself up and is posting the followning message:  iCloud Backup  This iPad has not been backed up for 2 weeks....  I've plugged it in, it should be connected to rgour home wi-fi, but I cant get the message to go away when I push OK.  I cant get it to do anything.  It is fully charged, but I can't even turn it off (won't let me),  Just continues to post the iCloud Backup message.

    Reset it by holding the power and home buttons at the same time until you see the Apple logo, then release.

  • Session is being lost between GET and POST

    My application is being developed in Tomcat 4.1.18.
    I have a servlet that acts as a Controller and JSP's that make up the View. Basically, the session gets lost in the following manner:
    The application's web.xml file is set with Authentication method of Unspecified. Basically, it's not a high security application, we just need to make sure that the user maintains a session throughout the application.
    User is presented with a page (login.jsp). They present their credentials. The controller does an include (RequestDispatcher.include) on a jsp (this jsp simply does a setProperty *) to fill the bean. Then, the controller passes control (through RequestDispatcher.forward) to the Action servlet. The Action does some processing and forwards to the next destination. Next, the user clicks on a link (GET) (this causes the URL to be rewritten with the correct session ID). In this particular instance, the user is presented with a form to fill out. The user fills out the form and it POSTS to the controller. At this point, the controller attempts to access the session and it is lost!
    Frustrating. Please feel free to email at [email protected] Thanks.

    I just tried encoding the FORM ACTION and no dice. I'm pretty new to JSP's so I'm wondering if its something stupid that I'm doing (or not). I've never had this problem using straight servlets before.
    It would be hard for me to justify getting rid of the JSP's and going with a straight servlet solution.
    I'm also wondering if my Authentication:Unspecified in the web.xml file has anything to do with my current troubles.

  • Hot to Make HTTPS GET and POST calls from ExtendScript

    We are currently porting our ActionScript code to ExtendScript (JavaScript).
    We performed HTTPS GET and POST calls from ActionScript with no problem. I can find no way to make HTTPS calls from ExtendScript. We tried jQuery, but after hours of work we can't get the ExtendScript engine to work with it - even a very, very old version of jQuery.
    What do I do?
    TIA,
    mlavie

    Adobe needs a "Want Answers" button like Quora has because I would press that button on this post.

  • Getting error while using HTTP connector and calling POST action to a Web API which is deployed as website on Azure

    I have create Logic App under Azure App Services, I am getting
    error while using HTTP connector and calling POST action to a Web API which is deployed as website on Azure.
    Following are the screen shots:
    Login App Connector Diagram:
    hema

    Marking as answered since no response on request for more information - assuming that you found what was wrong in the inputs. Let us know if you're still having trouble.
    http://twitter.com/joshtwist

  • Can't get a Visual posting format...giving me HTML on both "Visual" and "HTML" using Firefox 3.6.16 on a Mac.

    Since yesterday evening, when I go to put in one of the posts I make on my blog, http://underthelobsterscope.wordpress.com, I only get the HTML posting format and not the Visual format (it comes up HTML as well). Cannot find anything that changes this back to the way I like to use it. This problem does not occur in Google Chrome or in Safari.
    Please advise.

    I FINALLY SOLVED MY HANGING, "STOPPED" LOADING AND FORCE QUIT PROBLEMS AFTER TRYING EVERYTHING SHORT OF ARCHIVE AND INSTALL.
    I FINALLY SOLVED MY HANGING, "STOPPED" LOADING AND FORCE QUIT PROBLEMS AFTER TRYING EVERYTHING SHORT OF ARCHIVE AND INSTALL:
    I HAD TO RESTART
    "FORCED" TEN TIMES A DAY:
    I UPDATED JAVA:
    Java for Mac OS X 10.5 Update 9
    http://support.apple.com/kb/HT4438
    also
    JavaEmbeddingPlugin 0.9.7.5
    I have a PPC G5 dual 2.0
    OSX 10.5.8
    Firefox 3.6.16

  • Can't get the little post sheet for twitter and facebook in the notification center

    I used to post from my notification bar but now they down open when i click on them, both facebook and twitter post.
    Tried logging out and changing the share widget button in setting>notification.
    Working on MBP 2012 OS X 10.8.4

    I am facing the similar issues on my OSX 10.8.4, I have tried to delete and add the FB and twitter account back, but no luck. I also went to activity monitor and quit the notification, still no go. Looks like a bug issue. Any one aware of the fix, pls help. I really do not want to reinstall the OS.

  • Every time I try to open my safari it restarts my computer, or if it does open it is for only about a minute before it gets and error and closes.What should I do?

    Every time I try to open my safari it restarts my computer, or if it does open it is for only about a minute before it gets and error and closes.What should I do?

    gets and error and closes.What should I do?
    If Safari is crashing.. post a crash report so we can try and help...
    If Safari has just crashed, press the Report button on the CrashReporter dialog box to view the crash  information.
    Copy/paste the entire contents of the Crash Reporter window into your reply including the, "binary images" seection.
    If the crash report dialog does not appear or the crash is hard to reproduce, crash logs can be retrieved from the ~/Library/Logs/CrashReporter> folder.

  • Facebook and Twitter Posts not Working in Notification Center??!

    Ok right now I am REALLY confused. About a week ago, I went to post something on twitter. Naturally, instead of having to go to twitter.com and signing in, I used the Notification center "Click to Tweet" button to make my post. It worked just as you would expect. The little screen popped up, I typed my post and tweeted it.
    Just a few days ago, both the Tweet and Facebook Post buttons stopped working. I can click on them all I want, but the little index card-like screen never shows up. I don't know what the issue is, since I had both buttons working a few days ago. To try solving the issue I:
    1. Went into the settings for notifications and "Hid" the buttons from Notification center (that didn't work)
    2. Removed both my accounts from my laptop and re-added them (that didn't work)
    3. Checked to see that the password was correctly typed in... it was (and that still didn't work)
    The only thing I have left to do is try shutting down my laptop and restarting it. However I recently had some iPhoto software updates that required the laptop to be restarted. Even though this was after the problem started, it still didn't fix it.
    One more thing to note is that in Safari where the "Share" button is... that still works fine. I shared a website I was on to Facebook and it posted successfully. The only problem is the functions in Notification Center.
    If anybody has a solution to this issue where the Tweet and Facebook Post buttons stop functioning for Notification center, I would really appreciate it. Thanks
    - Dan (ThunderBow98)
    NOTE- One other thing. Notifications from Facebook and Twitter still work, however. For instance, I just got a friend request approved on Facebook and that appeared as it should with the little banner notification as well as it appearing in my list of notifications. Somebody re-tweated my tweet and that appeared there too. The only thing that isn't working is the posting features.

    First, I would eject whatever it is that you downloaded. Go to Finder and eject it that way or depending how you have your system set up, do the two finger tap and Eject it. Download the link above. Once it downloads, double click it to install it. It should work. If it doesn't you need to use your Disk Utility to check for errors. Click your Finder again and then Applications. Scroll down to Utilities and then Disk Utility. Click on your hard drive and you will get a menu of items on the right side. Towards the bottom, you will see a button to Verify Disk Permissions. Click that and let it run. It may take a few minutes to finish. Once it's finished there may be a list of things wrong with your system. Click the Repair Permissions and let the computer do it's thing. Use Disk Utility at least once a month to make sure everything is in order on your system. If this doesn't fix it, I don't have any other suggestions. I'd hate to say do a fresh install but that might be the next step if this doesn't work.
    Something else to consider is that is if you use Time Machine and the system did work at one point, you could go back to the last known good point and reinstall that back-up. You would lose anything you have saved since that point (obviously). If you take steps to back up your information, that should not be an issue. (For me), Time Machine works as advertised. If you are not backing system up regularly, shame on you. You need to start ASAP backing up. It's an easy process and it's times like you are having now, that make the small preventive maintenance, worth extra time and effort.
    Good luck.

  • Getting problem while posting Invoice

    Hi all,
            Ofcourse this problem is related functional thing, i am posting in ABAP group. we are getting problem while posting invoice through f-43 transaction. The error is "Fiscal year 0000 not allowed for year-dependent commitment items". Please let me know if u have any solution.
    Thanks in advance.
    chandrasekhar.

    Hi chandrasekhar,
    pls post some infos:
    1) application aerea of the message and message no.
    2) document date / posting date
       and ohter date-fileds of the document
    3) SAP-Release
    Have you search in SAP-OSS with the message no. or
    message text ?
    regards Andreas

  • Getting Error while posting billing into accounting.

    Hi All,
    Could any one help on this error,i am getting this while posting billing into accounting.
    Tax statement item missing for tax code O0
    Message no. FF805
    Diagnosis
    No tax item exists for tax code O0 in a G/L account item. A possible cause is an incorrect transfer of parameters by the application to the Accounting interface.
    Procedure
    Enter an OSS message.

    Hi Raja,
    We have many FF805 errors reported by customers and the same solution
    has resolved the problem. Please note that the SD-FI interface changed
    from earlier releases.
    In the vast majority of cases, error FF805 occurs because of an error
    in your pricing procedure. The previously attached note 112609 explains
    in detail how tax codes are transfered to conditions.
    The note 400766 explains the checks performed by the system on the Tax
    codes:
    1. system checks whether there is a revenue line for each tax line.
    2. in the reverse case, for each revenue line containing a certain
       tax indicator there must be a tax line with this indicator.
    If the tax condition has condition value zero and condition base
    value zero, then it is not transferred to FI.
    If you have revenue lines containing a tax indicator XX, but no
    tax line with tax indicator XX, then the error FF805 issues, and
    it is justified. => Please check these informations. I have attached
    notes for further information.
    -> EXAMPLE
       If tax condition MWST has base amount zero and value zero; for this
       reason it is not passed to accounting. But, according to the
       criteria reported by note 112609, its tax indicator EG: A7
       has been assigned to the condition EG: ZBR1.
       So in accounting there would be a revenue line with tax indicator A7,
       but there isn't any tax line with indicator A7 (because MWST doesn't
       pass to FI). The note 400766 states situation is unallowed, and error
       FF805 is justified.
    Thanks and best regards,
    Smile

  • Getting error while posting actual expense to f-02

    HI Every one
    Getting error while posting actual expense to f-02.Iam trying to post simple expense transation against a WBS element but iam getting the following error "FI: Postings" is not allowed for WBS element".Even i checked the status profile.In user status the FI postings business transaction is allowed but in System status it is not allowed but as far my understanding in either of one status the business transaction should be allowed.
    Please suggest me hw to change the system statuses and hw to resolve the error.
    Regards,
    Ragahvendra.M
    SAP-Practice

    Dear,
            I think ur project is not in released status.
            Or the account assignment element is not ticked.
             Check and try.
    Regards.

  • I keep getting and error when I try to start my iTunes. "Apple Application Support was not found. Apple Application Support is required to run iTunes. Please uninstall iTunes, Then install iTunes again. Error 2(Windows error 2)"....

    I keep getting and error when I try to start my iTunes. "Apple Application Support was not found. Apple Application Support is required to run iTunes. Please uninstall iTunes, Then install iTunes again. Error 2(Windows error 2)".... I have uninstalled and reinstalled several times and the error still occurs!!! This started happening after I installed the 10.3 update

    I took the time to research it and come across a couple of people who experienced the same trouble and so I listed some of there steps(with Credits) and  some people said that they worked.
    Here is the original Link:
    https://discussions.apple.com/thread/2151777?start=0&tstart=0
    OK, this worked for me:( Original Post by r0tt3n4pp13)
    1. Save iTunes install file to your desktop.
    2. Disconnect from internet.
    3. Disable Firewall/Security software.
    4. Run install. Note that it installs Application Support and a bunch of other software this time.
    5. Run iTunes.
    6. Enable Firewall/Security software.
    7. Reconnect to internet.
    8. Download Watchmen Director's Cut post haste.
    OR!
    (Original post by Cr4z33)
    1. Download and install WinRAR.
    2. Right-click the iTunesSetup.exe icon and choose "Open with WinRAR".
    3. Once the EXE is opened in WinRAR, double-click AppleApplicationSupport.msi and when the installer window is open choose "Repair".
    4. Done! You can now run iTunes normally.

  • Creation of new version and its Posting

    Hello,
    I am trying to create a new version and Posting it programatically. For creating a new version for a particular claim i am using action code A019 and for Posting A043.
    i am callid FM BAPI_WARRANTYCLAIM_SET_ACTION for setting the action codes.
    My new Version gets created but if for some reason the posting doesnt take place i want to delete the new version created.
    How can this be achieved. There is no action code to delete a created verison of claim .
    Please suggest.
    Thanks!!
    Edited by: Swati Dogra on Mar 30, 2011 8:36 PM

    I was able to figure it out... neede to be transfer to Controlling first

Maybe you are looking for

  • Send an output with dispath time 3, from an external report.

    Hi, It would be very appreciated if someone could help us with the following question:    We have an output message in a shipment which print a form.    This output is defined with dispatch time 3 ‘Send with application own transaction’.    Then we h

  • System.close() and resources

    Hi, in my application I start many threads, and them open files. Those threads are like daemons waiting for changes in those files. If i.e. a critical error is detected, is valid to finish the app a "System.exit()", or do I have to close every file a

  • WLI 7.0 Question about Set Task due date action

    Hi, I am trying to manage time out issue efficiently and, as described in the WLI documentation, the timeout has to be design with a dedicated path with, as the first task, a set task due date action. I was wondering about the timeout of this task du

  • Java 6: Transformer ignores OutputKeys.STANDALONE?

    While testing a very old XML export job for being compatible with Java 6, I noticed a change in the output: the transformer now always adds a standalone="no" to the declaration, no matter what you've told it to do. Though this declaration is merely a

  • Problème d'installation After Effects CC 2014

    Bonjour, Lorsque je souhaite installer la version d'essai d'After Effect, le téléchargement avance jusqu'à 42%; puis se bloque sur un message d'erreur en rouge, lorsque je clique sur plus d'information, voici le message affiché dans mon navigateur :