How to find validation.js? 2007-08-14 - By Joel Patton
Back 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: user-unsubscribe@(protected) For additional commands, e-mail: user-help@(protected)
|
|