JSP is a server side language to generate dynamic content. It consists of java code in scriptlets and the web server containing the servlet-container on receiving a request translates and compiles the jsp pages and sends the generated HTML to the browser as a response.
dhtml is a dynamic hypertext markup language and java script is object oriented language.
dhtml have some of attributes that is related with each other in dynamic form.
java script is totally depend on object and its contain