• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Ron McLeod
  • Rob Spoor
  • Tim Cooke
  • Junilu Lacar
  • Henry Wong
  • Liutauras Vilda
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Tim Holloway
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Al Hobbs
  • Mikalai Zaikin
  • Piet Souris

executing a javascript function from a servlet

Ranch Hand
Posts: 109
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I have a portlet that performs a file-upload that uses ajax. The form is in a jsp page and the action executes a servlet and the form also executes a javascript function onsubmit()

My servlet uploads the file correctly but I need to execute the killUpdate() function in order to stop the update listener, though I don't know how to do it. The example code that I obtained has the function being called like below but this won't work within the portal. Here is a snippet of my servlet that tries to call the javascript function

Any suggestions?


Don't get me started about those stupid light bulbs.
    Bookmark Topic Watch Topic
  • New Topic