How to read printed text from the browser.

I have an API that take 2 parameters as query string and after validating it prints back 4 parameters on the browser itself like :
para1=abc
para2=xyz
para3=123
para4=pqr
now i want to use the value of these parameters further in my program, can anyone tell me how can i take the parameter values in variables.

I can think of two choices offhand.
1. In addition to displaying the values, have your servlet or JSP write out a form with <input type="hidden" name="para1" value="abc"> fields in it, and a submit button. Your values will come back to you in the next post or get request. (If this is sensitive information, however, DO NOT do this unless you can re-validate the data, since it would be possible for someone to fabricate their own static page to submit bogus data.)
2. Put the data in the session object, using the setAttribute(...) method, and retrieve it on the next page using getAttribute(...).
You cannot really "read" the page that is visible on the user's browser.
Hope this helps.
Cheers!
Jerry Oberle

Similar Messages

  • How can I print texts from iPhone4 to Canon MX870

    How can I print texts from iPhone4 to Canon MX870

    The following gives instructions. http://support.apple.com/kb/HT4517
    Note that your carrier may not support it or may have added charges.
    To use this feature, enable Personal Hotspot on your cellular data plan. Contact your carrier for information and pricing.

  • How can I print stuff from the 'Help' file using my MacBook Air?

    How can I print stuff from the 'Help' file using my MacBook Air?

    Open the Help viewer, select a category then from the menu bar top of your screen, click File > Print

  • How can i print lists from the reminder app

    Does anybody know how to print lists from the Reminder app ?

    There's no print menu in Reminders.
    You can take a screen shot and print that.  Hit command-shift-3 when Reminders is showing, then hit the spacebar, and then click on the Reminders window and you'll get a screen shot on your desktop.  You can then open that in Preview and print from there.
    A better solution though is to just use an iPhone and sync, and have your reminders with you :-)

  • How to delete SMS text from the hard drive of a IPhone 3gs

    How do I delete SMS text from the hard drive of a iPhone 3GS

    If you want to delete the messages from within the text app, swipe over the name or number of the sender and hit delete.
    If you are afraid that someone will be able to restore them by ckecking your HD, you will have to set up the phone "as new device" or choose "erase all content and Settings" in Settings/General/Reset. But this willerase the whole phone, not only your text messages.
    How to set up your iPhone or iPod touch as a new device
    Message was edited by: Ingo2711

  • How to read/extract text from pdf

    Respected All,
    I want to read/extract text from pdf. I tried using etymon but not succed.
    Could anyone will guide me in this.
    Thanks and regards,
    Ajay.

    Thank you very much Abhilshit, PDFBox works for reading pdf.
    Regards,
    Ajay.

  • So annoying! When I print just from the browser, it prints unreadably small in the top center of the page.

    I have called support on my actual printer and everything is fine, they suggested to contact the browser I am printing from. Microsoft word and other software prints normal. Any web page I attempt to print from, even when I select the "print page" option, I have this error. I have been through all the troubleshooting to reset defaults.

    Does the issue still occur if you start Firefox in Safe Mode? http://support.mozilla.com/en-US/kb/Safe+Mode
    How about with a new, empty profile? http://support.mozilla.com/en-US/kb/Basic%20Troubleshooting#w_8-make-a-new-profile
    What steps have you tried?
    What is the printer model? What driver/version are you running?

  • How to read User ID from the request Form and pre populating in the AD User process form before provisioning

    I am trying to read the user Id from the submitted AD User request form( Catalogue AD User form. I need User Id,firstname and lastname inorder to prepopulate the common name as in this format - lastname,firstname (userid)  for the user to be provisioned in Active Directory.
    So after filling the AD User request form with User Id and Organization and submitting the request, I am trying to
    prepopulate the common name in the process form before the provisioning.
    The prepopulate adopter for the common name is configured to read the firstname, lastname and userid. firstname and
    lastname variables are mapped to User definition and user Id is mapped to Process Data. In this setup I am not getting the
    User Id value from process data, it is empty.
    Is this a bug with OIM 11g R2 or I need to do it differently in order to read the user Id that user has entered in the
    request form for populating the common name?
    Thanks

    Ghulam Yassen wrote:
    How to get USER_ID and IP_AddressWhy exactly do you need this data and what do you plan to do with it?
    The data is not reliable and trustworthy. IP addresses can easily be spoofed (a few seconds if you know what to do and how to do it). Also, IP addresses are not static. Users also do not use the same network device to access the database - different devices will have different IP addresses.
    The o/s user on the client is supplied by the client driver. This can also be spoofed.
    The user can also use a virtualised device - which means that recording the IP and o/s user seen from the server side, is pretty much useless and meaningless.
    So if this data is intended to be used for auditing for example - it would be pretty suspect data to use for that purpose.

  • How to  read header texts in the on save user exit of VA01

    Hi Experts,
    I have a requirement to read the header texts in the on save user exit.
    I have to check whether departmental code in header text is not initial or not.
    Can any one please pour in some points of how it can be done......
    Thanks in Advance.
    Prem

    Hi
    U can use fm READ_TEXT:
    DATA: THEAD LIKE THEAD,
          TLINES LIKE STANDARD TABLE OF TLINE WITH HEADER LINE.
    THEAD-TDID     = <text id>.
    THEAD-TDSPRAD  = <language>.
    THEAD-TDOBJECT = 'VBBK'.
    THEAD-TDNAME   = VBAK-VBELN.
    CALL FUNCTION 'READ_TEXT'
      EXPORTING
        ID                            = THEAD-TDID
        LANGUAGE                      = THEAD-TDSPRAD
        NAME                          = THEAD-TDNAME
        OBJECT                        = THEAD-TDOBJECT
      TABLES
        LINES                         = TLINES
    EXCEPTIONS
       ID                            = 1
       LANGUAGE                      = 2
       NAME                          = 3
       NOT_FOUND                     = 4
       OBJECT                        = 5
       REFERENCE_CHECK               = 6
       WRONG_ACCESS_TO_ARCHIVE       = 7
       OTHERS                        = 8
    IF SY-SUBRC <> 0.
    MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
             WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
    ENDIF.
    U can use it in all situations ( inserting and updating) because that fm returns the buffered text.
    Max

  • How to read header text from VF03 into smartfrom

    Hi all,
    i want to print header text from vf03 in smartforms
    bye

    Hi,
    Tcode VF03 enter Billing Doc no -
    >goto header-----> select header texts
    When you get the values Textname, text id, textobject to the smartform.
    call the FM read_text in the programing lines to get the long text in the internal table. Another way to retrieve the long text is to use INCLUDE but for your requirement is better to uses READ_TEXT function module.
    Once you get the data in the internal table.
    Create table and loop the long text internal table. Now in the table when create a text node, keep a condition on the text node in the conditions column that when sy-tabix = 3. Which means you are skipping two lines (Administrative data).
    Procedure:
    1. Right click > create-> programming lines.
    2. In the Input parameters pass TEXT NAME, TEXT ID, Text Object and Interanal table(itab) and In output paramaeters the Internal table (itab).
    3. call function Read_text and pass the values.
    4. create a table for Itab.
    5. create a text node.
    6. Keep a condition on the text node sy-tabix = 3 in the condition tab of the text node.
    7. &itab-line&
    <b>Check this link for sample program</b>
    long text in smartform
    Regards,
    Maha

  • I need my java program to read HTML tags from the browser...

    so, i've made this java GUI, which can run from my internet explorer toolbar...
    as of now, this program doesn't do anything, it just produces an interface with blank fields
    i want these fields to automatically add information about the current web page on the browser... basically, is there any way that my java program can automatically read the HTML source of the web page opened? i just need it to be able to capture the page's URL and title.
    i programmed it using NetBeans, and it runs from the .jre file outside of NetBeans. I got an icon for it to appear on my IE toolbar by editing my computer's registry. When I click on this icon, my GUI runs, but doesn't do anything. Can I get it to read (i.e. automatically output on one of the textfields on my GUI) the URL and title of the webpage that i'm currently on? I want this to work like Bookmarks/Favourites does, so that means i don't want to download every single webpage before reading from it.
    any help will be greatly appreciated.

    I think that if you wanted to do this, it would involve something like the following:
    Have your toolbar GUI listen on a local port
    Set IE to proxy to localhost at that port
    Tunnel/proxy all requests. This will allow you to intercept the page source and the original request. Between the request URL, the request payload, the HTTP headers of request and response and the response payload, that's everything the browser would 'see'. The downside of the above is that you cannot intercept SSL (HTTPS) requests. You might be able to use the Windows/IE API (native) to fetch page source, but this would definitely be an application and O/S specific solution.
    - Saish

  • How to read and write from the serial port using java

    can anyone tel me how to capture data from a serial port and display on the screen and also store it in a database.

    Java Comm API, JDBC

  • How do I save pics from the browser to my phone!

    I want to save pics on to my phone.

    When the image is displayed, try long-pressing it until a pop-up menu appears. In my test, it has these options:
    * Share Image
    * Copy Image Location
    * Save Image
    * Set Image As
    Does that work for you?
    I think if you choose Save Image, it should show up in your photo or gallery application. Watch for a download notification in the top bar.
    Any luck?

  • How can I separate the "Icons and Text" of the browser control buttons (Back, Forward, etc.) from the Icons on the Add-on toolbar?

    At home, this is not an issue. I don't know why it's different here at work--same installation, same settings (as far as I can tell).
    Windows Vista
    Firefox 7.0.1
    Status-4-Evar installed to turn add-on bar into a status bar
    I have a NoScript add-on icon in the corner, which works fine. If I add a GreaseMonkey icon from the Customize menu, the "Icon and Text" appears for that icon, like the Icon and Text from the browser controls (Home, stop, etc). Other add-on icons also show Icon and Text (S4E, for instance). NoScript is the only one I've found so far which collapses down to just an Icon.
    This leads to the status (add-on) bar having a much larger height than I like. Essentially what I want is for only the Icon to appear in the Status bar (Add-on toolbar), while keeping Icons and Text in the Browser controls. My current workaround is simply removing the other add-on icons from the status (add-on) toolbar, but that takes away the ease of toggling and setting options.
    Please tell me if I can provide you with anything else, and thanks for your help.
    Edit: I've got some screenshots to show what I mean.
    [http://i41.tinypic.com/ftek9s.jpg desired behavior]
    [http://i43.tinypic.com/1z6a4h3.jpg problem when icon is added]

    Surely there must be some UserChrome.css that will solve this problem. Something like this:
    /* Remove text titles for icons in add-on bar */
    addonbar .button-text {
    visibility: collapse !important;
    Unfortunately that does not work. I probably have the button text item name wrong (there is a pound sign before addonbar but it doesn't show in this posting).

  • How to Print Text in the PLD when we select Type : Text

    Hi All
    I designed a PLD for Purchase Order which is working well but
    whenever we select type: Text and we enter some text in the row level for each item. when we see the PLD priview
    Items are displaying but the text below the items are not displaying
    it displays an empty row after each item
    How should i print text in the PLD
    I required in this following Format
    ITEMCODE  DESCRIPTION      QTY
    001              XYZ                      20
    this is capital Good Item
    002             PQR                        30 
    this is Raw Material
    In this above format
    I didnt get the text below the Items
    Can any one suggest the correct answer

    Thanks for your reply
    I already select the linetext field from table POR10 and kept it  in the PLD
    but i didnt get my required format
    after giving that line text field  iam getting
    in this way
    S.No.        ITEMCODE   DESCRIPTION  QTY
       1               001               XYZ                 20
    this is Capital Goods
      2                                                                 
    this is Capital Goods
    the text is repeating twice
    I Put the ItemDescription field  in POR1 and Line Text Field in POR10 in the same repetitve area

Maybe you are looking for

  • Plase help iphone frozen(troubleshooting tips don´t work)

    afer trying to install a patch my iphone froze. i tried to restart it but now only shows the apple logo and stays. i try to restart it again (by holding the upper button and the main bottom button) and it does turn on but, nothing but the apple logo

  • TNS-12535: TNS:operation timed out with ORA-609

    Hi All, In 11gR2 Database on Linux ,I am getting the below error for one client only - This is a c++ application which is accessing database from different linux machines with Oracle Client installed on each machine(OCI). C++ application is working f

  • I need a select query

    I have a dataset like below in two columns ( col1,col2 in table Mytable) A | ab A | cd A | ef B | xl B | ik E | 23 E | op C | tk I need a select query which will return first set of every group which I ask for . For example, if I ask for data for A ,

  • Single press iPhone 4 home button multitask....

    Hi my name is Raj... I'm having a issue but I don't really know is it a serious issue or not... I want to really know weather anyone experience this problem... My problem is when the 1st time I bought my iPhone 4 I realize that when I press the home

  • Which package/plan shoulde I purchase to use the official edge animate

    Hello, I'd like to purchase the official edge animate(not the trial version), which package should I purchase? photoshop, single app or CS complete? Can I purchase it seperately? If possible, please give me the link address to buy this product, thank