• Post Reply Bookmark Topic Watch Topic
  • New Topic

Jsp+javascript  RSS feed

 
Smilly Hillary
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Friends,
Can some one help me with examples of jsp with javascript.


With regards,
Smilly.
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
"Smilly Hillary",
Please check your private messages.
 
Paul Clapham
Sheriff
Posts: 22185
38
Eclipse IDE Firefox Browser MySQL Database
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's kind of an aimless question, I think. JSPs generate HTML. The HTML they generate can contain Javascript. So any example of HTML that contains Javascript would do. I'm sure you can think of your own examples of HTML that contain Javascript.

It's worth mentioning that JSPs run on the server while they are generating that HTML (possibly including Javascript). After the JSP has finished generating that HTML, it sends it to the client -- usually a browser. The client then renders the HTML and displays it to the user, and executes the Javascript in the usual way. So the JSP and the Javascript execute in two different places at two different times. That's another reason why the examples you ask for are pretty useless.
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65833
134
IntelliJ IDE Java jQuery Mac Mac OS X
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!