Computing.Net > Forums > Web Development > including .js file into jsp page

Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.

including .js file into jsp page

Reply to Message Icon

Name: liliyaw
Date: June 28, 2006 at 14:18:23 Pacific
OS: linux
CPU/Ram: 524
Product: don't know
Comment:

Hello,
I need to find a way to do some client side programming and have the .js files colled into jsp pages, something of this sort:
[head]
[script src="/js/episnew.js"][/script]
[/head]
[body onload="setInputText()"]

I moved my js folder from Tomcat to Apache server directory, but can't get to the function setInputText for some reasone.
Can someone please tell me how I can make this work?
P.S. I used [] here instead of <> to escape html text being filtered out from the post.



Sponsored Link
Ads by Google
Reply to Message Icon

Related Posts

See More







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Web Development Forum Home


Sponsored links

Ads by Google


Results for: including .js file into jsp page

export data to Excel file in JSP www.computing.net/answers/webdevel/export-data-to-excel-file-in-jsp/1662.html

External JS file downloading... www.computing.net/answers/webdevel/external-js-file-downloading/2997.html

Auto Insert HTML into multi pages www.computing.net/answers/webdevel/auto-insert-html-into-multi-pages/912.html