Skip to Main Content

Java Development Tools

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

calling .js file in jsp file

UmnoorNov 9 2008 — edited Nov 14 2008
Hello,
I'm trying to call .js file in jsp portlet file, when i deply it, I don't get error but it does not call .js file.

I wrote the follwoing code in head section
<script language="javascript" type="text/javascript" src="datetimepicker.js"></script>

and i call it's function in body section
<input type="Text" id="demo1" maxlength="25" size="25">
Pick a date
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Dec 12 2008
Added on Nov 9 2008
4 comments
2,506 views