Win a copy of Mesos in Action this week in the Cloud/Virtualizaton forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

How to use jQuery with Struts?

 
Fidel Edwards
Ranch Hand
Posts: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can any bosy tell me that how can I use jQuery with Struts ??

 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • 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
 
Bear Bibeault
Author and ninkuma
Marshal
Pie
Posts: 64833
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • 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: 234
  • Mark post as helpful
  • send pies
  • 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
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • 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: 234
  • Mark post as helpful
  • send pies
  • 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 !!!
 
Bauke Scholtz
Ranch Hand
Posts: 2458
  • Mark post as helpful
  • send pies
  • 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: 234
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Bauke for suggestions !!

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