Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

executing a javascript function from a servlet

 
laura mccord
Ranch Hand
Posts: 108
  • Mark post as helpful
  • send pies
  • 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?

Thanks.




 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic