use include-script for resources in your classpath, i.e.

<include-script resource-path="/com/app/components/ajax/ajaxRequest.js"/>
and put ajaxRequest.js in that package

Vinicius Carvalho wrote:
> Hello there! I'm trying to include a script with my .script file, but
> it is not being loaded by the browser:
>
> My script is located at context/WEB-INF/components/ajaxSend.script
>
> <include-script resource-path="ajaxRequest.js"/>
>
> When creating the page its rendering:
>
> <script type="text/javascript"
> src="/chat/WEB-INF/components/ajaxRequest.js"></script>
>
> Well, it seems ok, but the browser is not loading it. Isn't WEB-INF a
> protected folder? I mean, I can't access anything on it.
>
> Regards
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Andreas Andreou - [EMAIL PROTECTED] - http://andyhot.di.uoa.gr
Tapestry / Tacos developer
Open Source / J2EE Consulting 


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

Reply via email to