• Post Reply Bookmark Topic Watch Topic
  • New Topic

Jsp and java script  RSS feed

 
Rauhl Roy
Ranch Hand
Posts: 401
Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

JSP pages reside in the server and the java script is used for client site validations.

What does it do if i put javascript(client side validations) into JSP page.

does it mean when client access a perticular JSP page, javascript get loaded onto client's system and does the validation work?

please correct me if i'm worng.

regards,
rahul
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 66154
146
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JSP is just a server-side templating engine that dynamically creates HTML pages to send the client. From the browser point of view, it doesn't know the difference between a JSP page and an HTML page.

Given that knowledge, how does it affect your question?

You can also read this article for greater detail.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!