• Post Reply Bookmark Topic Watch Topic
  • New Topic

Some JSP Doubts?

 
scott miles
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) does the population of data for the jsp components like textbox,dropdown etc actually happens at client side(i mean in browser).
2) once the servlet forward the request to jsp , after execution og jspservice method , jspcontainer will return the response to client. Right?
 
Mac Luq
Greenhorn
Posts: 22
IntelliJ IDE Java Scala
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
1) No. The client only sees the generated html by the server.
2) If by jspcontainer you mean the container, then right
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Read this article and then this article.
 
scott miles
Ranch Hand
Posts: 70
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Mac . Yes it is true that client only sees the generated html by the server. But what i am asking here actually is exceution of javascript function (like onload function). Does it happent at client side(in browser only)?
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65530
105
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Did you read the articles? The first one explicitly answers your questions.

Ans yes, JavaScript is evaluated one the client side.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!