--- On Tue, 9/9/08, Francisco Exposito wrote:
> Yes, it uses jquery. If I don't use struts2 ajax, it
> works properly. But when I use it, I receive the error
> jquery is not defined.
> 
> This code works properly: 
> [...] <script language='javascript'
>               src="../../src/javascript/jquery.js"
>               type="text/javascript"></script>
>       <script src="../../src/javascript/displayTagAjax.js">
>       </script>
> [...]
> 
> but not this one:
> [...] <script language='javascript'
>               src="src/javascript/jquery.js"
>               type="text/javascript"></script>
>       <script src="src/javascript/displayTagAjax.js">

You should build the URLs for the JS files using JSTL or <s:url...>, if nothing 
else.

Under Firebug is it clear that the jQuery file is even being loaded? It doesn't 
sound like it.

Dave


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to