wood burning stoves 2.0*
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 Murach's Java Servlets and JSP this week in the Servlets 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
Author

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

vijay
Christophe Verré
Sheriff

Joined: Nov 24, 2005
Posts: 14687
    
  16

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)
 
 
subject: how to call js file from jsp
 
Similar Threads
Calling javascript function in js file from JSP
calling functions in .js file
interpret java code <% ..%> in .js file
Calling .js file from Java
How do i pass values to a javascript file