The file is there(inside the Struts jar file). You don't need to
extract the file, S2 will serve it from inside the jar. If you put the
url by hand on the browser, does it return the js file?

musachy

On 8/14/07, Joel Patton <[EMAIL PROTECTED]> wrote:
> I am trying to get the client side validation working in my Struts 2
> app using the xhtml theme, but my web page isn't loading
> validation.js. I see the outputted HTML as:
>
> <script type="text/javascript" src="/tools/struts/xhtml/
> validation.js"></script>
>
> Do I need to copy the template directories out of the struts2-core
> jar file into my web content path or should this be loading the JS
> directly from the jar file? I didn't see any instructions about
> moving files out of the jar, so I'm confused how my app is supposed
> to be able to resolve this reference to validation.js when I don't
> have a struts/..etc path underneath my web root. Is there a
> configuration setting I'm missing somewhere?
>
> Thanks,
>
> Joel
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
"Hey you! Would you help me to carry the stone?" Pink Floyd

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

Reply via email to