Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. Java
  4. calling servlet in background from jsp

calling servlet in background from jsp

Scheduled Pinned Locked Moved Java
javaxmlhelp
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    khurram_shahzad
    wrote on last edited by
    #1

    when we call servlet from a JSP page .. explorer/program moves to servlet page .... Such in my scenareo i have JSP form that on submiting call servlet to retrieve data from XML .. But problem is that . i like that on submitin form servlet runs in background without changing page to servlet page ... like thread in background .... SO PLZ ANY IDEA OR SUGGESTION !!!! THANKS T ALL HELPERS ...

    L U 2 Replies Last reply
    0
    • K khurram_shahzad

      when we call servlet from a JSP page .. explorer/program moves to servlet page .... Such in my scenareo i have JSP form that on submiting call servlet to retrieve data from XML .. But problem is that . i like that on submitin form servlet runs in background without changing page to servlet page ... like thread in background .... SO PLZ ANY IDEA OR SUGGESTION !!!! THANKS T ALL HELPERS ...

      L Offline
      L Offline
      Lost User
      wrote on last edited by
      #2

      khurram_shahzad wrote:

      SO PLZ ANY IDEA OR SUGGESTION !!!! THANKS T ALL HELPERS ...

      Don't shout!

      Just say 'NO' to evaluated arguments for diadic functions! Ash

      1 Reply Last reply
      0
      • K khurram_shahzad

        when we call servlet from a JSP page .. explorer/program moves to servlet page .... Such in my scenareo i have JSP form that on submiting call servlet to retrieve data from XML .. But problem is that . i like that on submitin form servlet runs in background without changing page to servlet page ... like thread in background .... SO PLZ ANY IDEA OR SUGGESTION !!!! THANKS T ALL HELPERS ...

        U Offline
        U Offline
        User 3244718
        wrote on last edited by
        #3

        From what I think I read in your question, you want to do Ajax. This will allow you to put a request out to the servlet and process the result with Javascript inside the HTML without changing the actual browser page. Try jQuery to get this to work. If you do not know what Ajax or jQuery are, you first need to do some reading. There is enough info on this on the internet.

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups