Results 1 to 6 of 6

Thread: How to Call Servlet on Click of Button

  1. #1
    Ext User
    Join Date
    Aug 2009
    Posts
    28
    Vote Rating
    0
      0  

    Default How to Call Servlet on Click of Button

    How do i call a servlet on Click of a Button

    final
    Button bb = new Button("Call Servlet ",new SelectionListener<ButtonEvent>(){;
    @Override
    publicvoid componentSelected(ButtonEvent ce) {

    //How to call Servlet from here


    }
    });


  2. #2

  3. #3
    Ext User
    Join Date
    Sep 2008
    Location
    Germany
    Posts
    961
    Vote Rating
    1
      0  

    Default

    or if you like use the rpc then the rpc proxy (see examples folder in the gxt zip file)
    This forum needs your help: you got hints from the community and now you have fixed your code? dont just reply with "now its fixed" or "i found the error"! please take the time to post also an detailed answer with the working code.

    GreaseMonkey Script for a GXT-only Forum: it hides ExtJs here: New Posts Search Results Advanced Search form Category overview http://www.extjs.com/forum/showthrea...041#post410041

  4. #4
    Ext User
    Join Date
    Aug 2009
    Location
    Italy
    Posts
    39
    Vote Rating
    0
      0  

    Default

    use the following code after placing your servlet in the war,WEB_INF file
    applet1 = new HTML();
    applet1
    .setHTML("<APPLET CODE = xxxx ARCHIVE =xxxxxxx "> </APPLET>");

  5. #5
    Ext GWT Premium Member
    Join Date
    Sep 2009
    Posts
    131
    Vote Rating
    0
      0  

    Question

    Please can you tell me if you can call your servlet???

    I need to call servlet and pass objects parameters
    by Cetin@

  6. #6
    Ext GWT Premium Member
    Join Date
    Sep 2009
    Posts
    131
    Vote Rating
    0
      0  

    Question

    Quote Originally Posted by Arno.Nyhm View Post
    or if you like use the rpc then the rpc proxy (see examples folder in the gxt zip file)
    Can you call a servlet?
    by Cetin@

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •