This week's book giveaway is in the Android forum.
We're giving away four copies of Head First Android and have Dawn & David Griffiths on-line!
See this thread for details.
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 Head First Android 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: 14688

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
It's not a secret anymore!