wood burning stoves*
The moose likes HTML, CSS and JavaScript and the fly likes how to call js file from jsp Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how to call js file from jsp" Watch "how to call js file from jsp" New topic

how to call js file from jsp

kotha vijaybabu
Ranch Hand

Joined: Jan 28, 2006
Posts: 77
hai folks
i want to know how to call js file from
a jsp
please reply

thank you in advance

Christophe Verré

Joined: Nov 24, 2005
Posts: 14687

What do you mean ? You won't call some javascript(clientside code) from JSP(server side)

[My Blog]
All roads lead to JavaRanch
Richard Green
Ranch Hand

Joined: Aug 25, 2005
Posts: 536
is this what you are after?

<script type="text/javascript" language="javascript1.2" src="myjavascriptfile.js"></script>

MCSD, SCJP, SCWCD, SCBCD, SCJD (in progress - URLybird 1.2.1)
jQuery in Action, 2nd edition
subject: how to call js file from jsp
Similar Threads
calling functions in .js file
interpret java code <% ..%> in .js file
Calling javascript function in js file from JSP
Calling .js file from Java
How do i pass values to a javascript file