Re: jquery with jsp

2010-10-10 Thread Maurizio Cucchiara
Placing custom js inside external files improve performances absolutely, by allowing limit bandwidth usage through browser caching system. If we're talking about struts2, you should take a look at timer interceptor (http://struts.apache.org/2.0.14/docs/timer-interceptor.html). This could get you a

Re: jquery with jsp

2010-10-10 Thread tito
@MaurizioI have included jquery min , but my custom scripts i have put them in jsp page section inside

Re: jquery with jsp

2010-10-10 Thread Maurizio Cucchiara
Basically, you never include jquery script inside your page. I try to explain better: Inside your page you must include only 2 script directive: 1. first one contains jquery reference (f.e.: http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js). 2. second one contains your custom script

Re: jquery with jsp

2010-10-10 Thread Dave Newton
On Sun, Oct 10, 2010 at 12:14 PM, tito wrote: > If I include some jquery codes in my jsp . will it make the jsp page > heavy to load ? > ... How about including some "jquery codes" and finding out? What's your definition of "heavy"? What kind of code are you including? How is it being served? Is

jquery with jsp

2010-10-10 Thread tito
If I include some jquery codes in my jsp . will it make the jsp page heavy to load ? regards, Tito Cheriachan ___ Automate Twittering using AutoTweeter http://www.autotweeter.in Follow twitter users automatically with AutoFollower