struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dave Newton <newton.d...@yahoo.com>
Subject Re: Loading and Calling Java Script in Struts
Date Fri, 21 Nov 2008 17:50:43 GMT
--- On Fri, 11/21/08, Casinova wrote:
> u tried that but getting jquery null or not a object error.
> [...]
> and right now i m giving absolute path  like
> 
> <script language="JavaScript"
> src="http://localhost:8084/ProjectName/js/jquery.js"
> type="text/javascript">
>
> is that fine?

Apparently not.

However, when I said "absolute pathname" I meant something along the lines of:

<script ... src="<s:url value="/js/jquery.js"/>" ...>

Or whatever it is.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
For additional commands, e-mail: user-help@struts.apache.org


Mime
View raw message