• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

How to use jQuery with Struts?

 
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Can any bosy tell me that how can I use jQuery with Struts ??

 
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Very Carefully...??

JQuery works with the HTML on the page. It does not care if it is PHP, Java, .NET, ASP, Ruby, Perl, Python, Cold Fusion, plain old html, etc.

What issues are you having? When dealing with problems look at your generated source code in the browser, do not stare at serverside code.

Eric
 
Sheriff
Posts: 67746
173
Mac Mac OS X IntelliJ IDE jQuery TypeScript Java iOS
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
As Eric pointed out, the exact same way jQuery is used with any other server-side mechanism. It's moot.
 
Fidel Edwards
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Eric Pascarello wrote:Very Carefully...??

JQuery works with the HTML on the page. It does not care if it is PHP, Java, .NET, ASP, Ruby, Perl, Python, Cold Fusion, plain old html, etc.

Eric



Thanks for reply !
Eric

I am new to struts but I am confuse about the ajax frameworks .Which one should I use since each has its own limitations .So please tell me that what would be the right one for a struts 1.2 developer??

Help Me !!


 
Eric Pascarello
author
Posts: 15385
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Almost any JavaScript library will work, JQuery is one of the best.

JavaScript does not care how content gets added to the page or where it comes from.

Eric
 
Fidel Edwards
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

Eric Pascarello wrote:Almost any JavaScript library will work, JQuery is one of the best.

Eric



Thanks Eric ! For Your Precious suggestions !

Still some ajax framework revolving in my mind (DWR is one of them )as I am not stick with jQuery only.I want to learn a better or somewhat best framework of ajax .In which i no need to move a way behind and start with another different framework , which will bother me . As i heard that each framework has its own limitations (Which is Universal truth in all the framework )
but still I am looking for the best among them .For which i can start ....


Thanks in advance !!!
 
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
DWR is not (easily) scalable while jQuery is and already has lots of (free) plugins.

That would be the ground where I base my choice on.
 
Fidel Edwards
Ranch Hand
Posts: 243
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Thanks Bauke for suggestions !!

As now I will start to use jQuey !!
 
reply
    Bookmark Topic Watch Topic
  • New Topic