struts-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tito <tit...@gmail.com>
Subject Re: jquery with jsp
Date Sun, 10 Oct 2010 21:00:16 GMT
@MaurizioI have included jquery min , but my custom scripts i have put them
in jsp page <head> section inside <script> tag. Does it improve performance
If  I put them in a JS file and include them ? Also how do I measure a JSP
page's loading performance ?



regards,
Tito Cheriachan
___________________________________________



10 litres of water is required to produce a sheet of paper.
--



On Sun, Oct 10, 2010 at 8:43 PM, Maurizio Cucchiara <
maurizio.cucchiara@gmail.com> wrote:

> 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 (and so on).
>
> Both go directly inside client cache, the remaining part is only
> client elaboration (until you don't invoke ajax request).
>
> Maurizio Cucchiara
>
>
> 2010/10/10 tito <titomc@gmail.com>:
> > If I include some jquery codjes in my jsp . will it make the jsp page
> heavy
> > to load ?
> >
> >
> > regards,
> > Tito Cheriachan
> > ___________________________________________
> > Automate Twittering using AutoTweeter
> > http://www.autotweeter.in
> > <http://www.autotweeter.in>Follow twitter users automatically with
> > AutoFollower
> > http://www.twitterautofollower.com
> >
> >
> >
> > 10 litres of water is required to produce a sheet of paper.
> > --
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: user-unsubscribe@struts.apache.org
> For additional commands, e-mail: user-help@struts.apache.org
>
>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message