Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » Struts 2 »

external javascript file linking problem?

Mallik

2006-12-12

Replies:


Hi friends
i am converting a project into struts
i want to use my javascript(js) calender file in strtus
application.(calender will display in popup)
but that javascript file is not working.
what will be the reason
this way i link it to jsp file:
---------------------------------------------------------------------------------------------------
<link href='<html:rewrite page="/javaScript/datetimepicker.js"/>'
type="text/javascript"/>

---------------------------------------------------------------------------------------------------
and i also tried like this:
--------------------------------------------------------------------------------------------------
<script language="javascript" type="text/javascript"
src="/javaScritp/datetimepicker"></script>

and also
<script language="javascript" type="text/javascript"
src="/javaScritp/datetimepicker"/>

no one is working
what will be the reason
or what is the way of linking external js file
let me know please
thanks in advance

ur's
Mallik

--
Sent from the Struts - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@(protected)
For additional commands, e-mail: user-help@(protected)

©2008 junlu.com - Jax Systems, LLC, U.S.A.