Can we use javascript in jsp?



Can we use javascript in jsp?..

Answer / Kaushal

Yes, JavaScript can be used in JSP by including it within script tags or external files. However, keep in mind that JavaScript is executed on the client-side, while JSP and Java code are executed on the server-side.

Is This Answer Correct ?    0 Yes 0 No

Post New Answer

More JSP Interview Questions

How can we stop errors on display in a jsp page?

1 Answers  


What is JSP?

3 Answers  


What is jstl (jsp standard tag library)?

1 Answers  


How do I perform browser redirection from a jsp page?

1 Answers  


What is declaration statement?

1 Answers  


hi i m tannu and i m developing one web site as my project and i have created one chatting application using applet and socket it run perfactly using netbeans5.5 and appletviewer but when i run on browser it doent run i put it class file in jar file then call by jsp when it load in browser it stop on applet started plz help me soon

2 Answers  


What is the use of jstl?

1 Answers  


Can you make use of a servletoutputstream object from within a jsp page?

1 Answers  


How to configure init parameters for jsp?

1 Answers  


Can u Override any of the lifecycle methods of JSP?

1 Answers  


How to deactivate el on jsp?

1 Answers  


What is context url?

1 Answers  


Categories