• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

jsp and javascript

 
Jherald Lacambra
Ranch Hand
Posts: 129
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
how can i call a function from javascript to jsp page?
 
Shailesh Chandra
Ranch Hand
Posts: 1082
Java Oracle Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
do you want to call a method of JSP from JavaScript code ?
 
Eugene Lucash
Ranch Hand
Posts: 77
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Jsp is server side. JavaScript is client side.
JavaScript appears in jsp as ordinary html markup or the template text,
and nothing more.
Jsp cannot call javascript, it can only write fucntions or calls
to response output so browser will execute it.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic