Can we use a jquery function directly in struts like
$(document).ready(function(){
....................
...........
});
or do we have to follow the standard by using jquery.jar. I searched on google for an example and tutorial but couldn’t find one.
You can use it as the way you want,though there is a plugin with Jquery and if you want to use that plugin, you need to add that jar in your class-path but if you want to use Jquery independently you can use that.
I have used this successfully is many projects.